[]
Common members of form control collections.
public interface IControlCollection : IReadOnlyList<IControl>, IReadOnlyCollection<IControl>, IEnumerable<IControl>, IEnumerable
Gets control by name.
IControl this[string name] { get; }
name
stringAdds a new IButton.
IButton AddButton(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new ICheckBox.
ICheckBox AddCheckBox(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new IDropDown.
IDropDown AddDropDown(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new IGroupBox.
IGroupBox AddGroupBox(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new ILabel.
ILabel AddLabel(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new IListBox.
IListBox AddListBox(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new IOptionButton.
IOptionButton AddOptionButton(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new IScrollBar.
IScrollBar AddScrollBar(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleAdds a new ISpinner.
ISpinner AddSpinner(double left, double top, double width, double height)
left
doubletop
doublewidth
doubleheight
doubleRemoves all controls from a IControlCollection.
void Clear()
Gets index of a control.
int IndexOf(IControl control)
control
IControlThe control to find.
If found, returns the index of control. Otherwise, returns -1.