[]
Represents an item in an IDropDown control.
Use this class to create items programmatically and add them to a drop-down
item collection. A DropDownItem inherits common selector-item behavior,
such as item value and read-only state, from SelectorItem.
Represents an item in a IListBox.
A ListBoxItem stores the display value used by a list box control.
Create instances of this class and add them to Items to
populate the available choices.
Represents a base item for selection controls such as IDropDown and IListBox.
A SelectorItem stores the text value associated with an item and
provides shared behavior for selector-based controls, including read-only state
management. This abstract class is not used directly; instead, work with a
concrete subclass and add instances to the item collection of the owning
control.
When an item is marked as read-only, assigning Value throws an InvalidOperationException. Use Value to read the current item content and GrapeCity.Documents.Excel.Forms.SelectorItem.IsReadOnly to determine whether the item can be modified.
Represents a button form control on a worksheet.
Use this interface to work with button controls that are added through a worksheet's
control collection. An IButton supports button-specific settings such as default,
cancel, dismiss, and help button behavior, and also inherits common control features from
IControl<T> and text content members from IContentControl.
Common members of controls that have a cell-link value.
Common members of controls that have a cell-link value.
Represents a check box form control in a worksheet.
A check box control can display text and store a three-state selection value:
checked (true), unchecked (false), or mixed (null).
It also supports linking its value to a worksheet cell through
ICellLinkControl<T>.
Represents the common text-related members of form controls that display text.
Use this interface to work with text content shared by form controls such as IButton, ICheckBox, IGroupBox, ILabel, and IOptionButton. It provides members for reading or changing the displayed text and for controlling whether that text is locked.
Represents the base interface for form controls.
This interface defines the common members shared by form controls such as buttons, check boxes, drop-down lists, labels, and scroll bars. Use it to access shared control state and behavior, including the parent object, control type, position, size, visibility, printing, and locking settings.
The parent object is typically an IWorksheet, but in some cases it can be
another IControl.
Represents the collection of form controls in a worksheet.
Use this interface to access, add, and enumerate worksheet form controls such as buttons, check boxes, labels, drop-down lists, and other supported control types. Controls can be retrieved by zero-based index or by name, and the collection can be enumerated because it implements IReadOnlyList<T>.
Provides generic operations that return the concrete form control type.
This interface extends IControl with typed members for duplicating a form control or relocating it by copy or cut operations. The generic type parameter preserves the specific control interface in the returned value.
Represents a drop-down form control.
A drop-down control displays a list of DropDownItem objects and lets users choose a single item from the list. Use AddDropDown(double, double, double, double) to add a drop-down control to a worksheet, then populate it through Items or bind it to a worksheet range through the inherited selector APIs.
Represents a group box form control on a worksheet.
A group box is a content control that can display caption text and define a visual boundary for related form controls. It is commonly used to group option buttons so that buttons placed within the same group box behave as a related set.
Represents a label form control on a worksheet.
Use this interface to display text such as captions, prompts, or field names in a worksheet form.
An ILabel is added through a worksheet's control collection and inherits common control
members from IControl<T> and text content members from IContentControl.
Represents a list box control.
A list box displays a collection of ListBoxItem objects and lets users select one or more items, depending on the configured SelectionMode. Use AddListBox(double, double, double, double) to add a list box to a worksheet, then populate it through Items and configure its selection behavior with SelectionMode.
Represents an option button control.
An option button lets users select a single choice from a group of mutually exclusive options. Option buttons are grouped by the containing IGroupBox. Option buttons in the same group share the linked cell value and update each other's selection state. If an option button is not contained in any group box, it belongs to the default group on the worksheet.
Represents an element that has a value within a specific range.
Represents a scrollbar form control.
An IScrollBar lets users select an integer value within a range on a worksheet.
It extends IRangeBase, so it supports minimum and maximum bounds, the current value,
and small and large change increments. The control can be displayed horizontally or vertically.
Represents a selector control that lets a user choose an item from a list.
This interface provides the common selection members for controls such as IDropDown and IListBox. A selector can populate its choices from Items or bind them to a worksheet range through ItemsSourceRange. When an items source range is set, the items collection is read-only. Through the inherited cell-link members, the current selection value is exposed as SelectedIndex plus 1.
Represents a control that allows a user to select items from among its child elements.
Represents a spinner form control.
A spinner lets users increase or decrease an integer value within a configured range. Use IRangeBase members to define the minimum value, maximum value, and step size, and use LinkedCell to bind the current value to a worksheet cell.
Specifies whether a form control is displayed horizontally or vertically.
This enum is used to configure orientation-dependent form controls such as IScrollBar through Orientation.
Specifies the type of a form control.
Use this enum with FormControlType to identify the concrete kind of control represented by an IControl, such as a button, check box, drop-down list, group box, label, list box, option button, scroll bar, or spinner.
Specifies how a list box allows item selection.
Use this enum with a list box control to determine whether users can select one item, multiple items without modifier keys, or multiple items by using the Ctrl key. The available modes correspond to the list box selection modes used by Excel VBA.