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
IScrollingButton
in 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
name
stringName
of this newIScrollingButton
.description
stringDescription
of this newIScrollingButton
.imageIndex
intImageIndex
of this newIScrollingButton
.
Returns
- int
Index of this new
IScrollingButton
in the collection.