Skip to main content
All docs
V23.2
Row

ListBoxFormControl Members

List box form control.

Properties

Name Description
AlternativeText Gets or sets the descriptive (alternative) text for a drawing object. Inherited from Shape.
BottomRightCell Gets or sets a cell where the bottom right corner of a floating object is located. Inherited from FloatingObject.
ConnectorFormat Provides access to the shape connector settings. Inherited from Shape.
Fill Provides access to fill options for the specified drawing object. Inherited from ShapeFormatBase.
FormControlType Indicates the form control type. Inherited from FormControl.
Height Gets or sets the height of the floating object. Inherited from FloatingObject.
Hyperlink Gets the hyperlink associated with a drawing object (picture). Inherited from Shape.
Id Gets the drawing object identifier. Inherited from Shape.
Left Gets or sets the distance from the left edge of the worksheet to the top left corner of the floating object. Inherited from FloatingObject.
LinkedCell Specifies a cell linked to the form control. This cell has the value specified by the form control. Inherited from LinkedCellFormControl.
LockAspectRatio Gets or sets whether the floating object retains its original proportions after resizing. Inherited from FloatingObject.
Locked Gets or sets whether to prevent users from deleting and editing the form control. Inherited from FormControl.
Name Gets or sets the name of the drawing object. Inherited from Shape.
OffsetX Gets a distance from the top left corner of the floating to the left edge of the cell where the top left corner of the floating object is located. Inherited from FloatingObject.
OffsetY Gets a distance from the top left corner of the floating object to the top edge of the cell where the top left corner of the floating object is located. Inherited from FloatingObject.
Outline Provides access to the options used to format an outline of the specified drawing object. Inherited from ShapeFormatBase.
ParentGroup Retrieves the group in which the current shape is contained. Inherited from Shape.
Placement Gets or sets the behavior of the floating object regarding the cells below. Inherited from FloatingObject.
PrintObject Specifies whether to print the form control. Inherited from FormControl.
Rotation Gets or sets the rotation of the drawing object, in degrees. Inherited from Shape.
SelectedIndex Specifies the index of the selected item in a form control. Inherited from DataSelectorFormControl.
SelectedIndices Gets indexes of all currently selected items in the list box form control.
SelectionMode Gets or sets whether a single or multiple items can be selected.
Shading3D Gets or sets whether to enable 3D shading of the content control borders. Inherited from ShadedFormControl.
ShapeGeometry Provides access to the shape’s geometry options. Inherited from Shape.
ShapeText Provides access to the shape’s text options. Inherited from Shape.
ShapeType Returns the type of the drawing object. Inherited from Shape.
SourceRange Specifies the cell range associated with a form control. Inherited from DataSelectorFormControl.
Top Gets or sets the distance from the top edge of the worksheet to the top left corner of the floating object. Inherited from FloatingObject.
TopLeftCell Gets or sets a cell where the top left corner of a floating object is located. Inherited from FloatingObject.
Width Gets or sets the width of the floating object. Inherited from FloatingObject.
ZOrderPosition Gets the position of the current drawing object in the z-order. Inherited from Shape.

Methods

Name Description
Delete() Deletes a drawing object. Inherited from Shape.
ExportToImage() Saves the drawing object as an image. Inherited from Shape.
ExportToImage(Stream, ImageFileFormat) Saves the drawing object as an image in the specified format. Inherited from Shape.
ExportToImage(String, ImageFileFormat) Saves the drawing object as an image in the specified format. Inherited from Shape.
GetChildren() Retrieves the list of nested shapes and shape groups. Inherited from Shape.
IncrementRotation(Int32) Increments the rotation angle of the drawing object by the specified number of degrees. Inherited from Shape.
InsertHyperlink(String, Boolean) Associates a hyperlink with the drawing object. Inherited from Shape.
Move(Single, Single) Moves a floating object by a specified offset. Inherited from FloatingObject.
RemoveHyperlink() Removes the hyperlink associated with the current drawing object. Inherited from Shape.
SetSelected(Int32, Boolean) Sets the specified item’s selection state.
See Also