Class ListBoxActiveXControl

Class ListBoxActiveXControl

Namespace: Aspose.Cells.Drawing.ActiveXControls
Assembly: Aspose.Cells.dll (25.2.0)

Represents a ListBox ActiveX control.

public class ListBoxActiveXControl : ActiveXControl

Inheritance

objectActiveXControlBaseActiveXControlListBoxActiveXControl

Inherited Members

ActiveXControl.IsEnabled, ActiveXControl.IsLocked, ActiveXControl.IsTransparent, ActiveXControl.IsAutoSize, ActiveXControl.IMEMode, ActiveXControl.Font, ActiveXControl.TextAlign, ActiveXControl.Data, ActiveXControlBase.Workbook, ActiveXControlBase.Type, ActiveXControlBase.Width, ActiveXControlBase.Height, ActiveXControlBase.MouseIcon, ActiveXControlBase.MousePointer, ActiveXControlBase.ForeOleColor, ActiveXControlBase.BackOleColor, ActiveXControlBase.IsVisible, ActiveXControlBase.Shadow, ActiveXControlBase.LinkedCell, ActiveXControlBase.ListFillRange, ActiveXControlBase.Data, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

BorderOleColor

Gets and sets the ole color of the background.

public int BorderOleColor { get; set; }

Property Value

int

BorderStyle

Gets and set the type of border used by the control.

public ControlBorderType BorderStyle { get; set; }

Property Value

ControlBorderType

BoundColumn

Represents how the Value property is determined for a ComboBox or ListBox when the MultiSelect properties value (fmMultiSelectSingle).

public int BoundColumn { get; set; }

Property Value

int

ColumnCount

Represents the number of columns to display in a ComboBox or ListBox.

public int ColumnCount { get; set; }

Property Value

int

ColumnWidths

Gets and sets the width of the column.

public double ColumnWidths { get; set; }

Property Value

double

IntegralHeight

Indicates whether the control will only show complete lines of text without showing any partial lines.

public bool IntegralHeight { get; set; }

Property Value

bool

ListStyle

Gets and sets the visual appearance.

public ControlListStyle ListStyle { get; set; }

Property Value

ControlListStyle

ListWidth

Gets and set the width in unit of points.

public double ListWidth { get; set; }

Property Value

double

MatchEntry

Indicates how a ListBox or ComboBox searches its list as the user types.

public ControlMatchEntryType MatchEntry { get; set; }

Property Value

ControlMatchEntryType

ScrollBars

Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither.

public ControlScrollBarType ScrollBars { get; set; }

Property Value

ControlScrollBarType

SelectionType

Indicates whether the control permits multiple selections.

public SelectionType SelectionType { get; set; }

Property Value

SelectionType

ShowColumnHeads

Indicates whether column headings are displayed.

public bool ShowColumnHeads { get; set; }

Property Value

bool

SpecialEffect

Gets and sets the special effect of the control.

public ControlSpecialEffectType SpecialEffect { get; set; }

Property Value

ControlSpecialEffectType

TextColumn

Represents the column in a ComboBox or ListBox to display to the user.

public int TextColumn { get; set; }

Property Value

int

Type

Gets the type of the ActiveX control.

public override ControlType Type { get; }

Property Value

ControlType

Value

Gets and sets the value of the control.

public string Value { get; set; }

Property Value

string

Remarks

Only effects when Aspose.Cells.Drawing.ActiveXControls.ListBoxActiveXControl.SelectionType is SelectionType.Single;