[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IControlCollection

Interface IControlCollection

Namespace
GrapeCity.Documents.Excel.Forms
Assembly
GcDocs.Excel.dll

Common members of form control collections.

public interface IControlCollection : IReadOnlyList<IControl>, IReadOnlyCollection<IControl>, IEnumerable<IControl>, IEnumerable
Inherited Members
System.Collections.Generic.IReadOnlyList<GrapeCity.Documents.Excel.Forms.IControl>.this[int]
System.Collections.Generic.IReadOnlyCollection<GrapeCity.Documents.Excel.Forms.IControl>.Count
System.Collections.Generic.IEnumerable<GrapeCity.Documents.Excel.Forms.IControl>.GetEnumerator()

Properties

this[string]

Gets control by name.

IControl this[string name] { get; }

Parameters

name string

Property Value

IControl

Methods

AddButton(double, double, double, double)

Adds a new IButton.

IButton AddButton(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

IButton

AddCheckBox(double, double, double, double)

Adds a new ICheckBox.

ICheckBox AddCheckBox(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

ICheckBox

AddDropDown(double, double, double, double)

Adds a new IDropDown.

IDropDown AddDropDown(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

IDropDown

AddGroupBox(double, double, double, double)

Adds a new IGroupBox.

IGroupBox AddGroupBox(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

IGroupBox

AddLabel(double, double, double, double)

Adds a new ILabel.

ILabel AddLabel(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

ILabel

AddListBox(double, double, double, double)

Adds a new IListBox.

IListBox AddListBox(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

IListBox

AddOptionButton(double, double, double, double)

Adds a new IOptionButton.

IOptionButton AddOptionButton(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

IOptionButton

AddScrollBar(double, double, double, double)

Adds a new IScrollBar.

IScrollBar AddScrollBar(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

IScrollBar

AddSpinner(double, double, double, double)

Adds a new ISpinner.

ISpinner AddSpinner(double left, double top, double width, double height)

Parameters

left double
top double
width double
height double

Returns

ISpinner

Clear()

Removes all controls from a IControlCollection.

void Clear()

IndexOf(IControl)

Gets index of a control.

int IndexOf(IControl control)

Parameters

control IControl

The control to find.

Returns

int

If found, returns the index of control. Otherwise, returns -1.