Method AddScrollingButton
AddScrollingButton()
When implemented by a class, creates and adds a new IScrollingButton to the collection.
int AddScrollingButton()
Returns
- int
Index of this new
IScrollingButtonin the collection.
AddScrollingButton(string, string, int)
When implemented by a class, creates new IScrollingButton with specified parameters and adds it to the collection.
int AddScrollingButton(string name, string description, int imageIndex)
Parameters
namestringNameof this newIScrollingButton.descriptionstringDescriptionof this newIScrollingButton.imageIndexintImageIndexof this newIScrollingButton.
Returns
- int
Index of this new
IScrollingButtonin the collection.