Class ComboBoxActiveXControl

Class ComboBoxActiveXControl

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

Represents a ComboBox ActiveX control.

public class ComboBoxActiveXControl : ActiveXControl

Inheritance

objectActiveXControlBaseActiveXControlComboBoxActiveXControl

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

DropButtonStyle

Specifies the symbol displayed on the drop button

public DropButtonStyle DropButtonStyle { get; set; }

Property Value

DropButtonStyle

EnterFieldBehavior

Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.

public bool EnterFieldBehavior { get; set; }

Property Value

bool

HideSelection

Indicates whether selected text in the control appears highlighted when the control does not have focus.

public bool HideSelection { get; set; }

Property Value

bool

IsAutoWordSelected

Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.

public virtual bool IsAutoWordSelected { get; set; }

Property Value

bool

IsDragBehaviorEnabled

Indicates whether dragging and dropping is enabled for the control.

public bool IsDragBehaviorEnabled { get; set; }

Property Value

bool

IsEditable

Indicates whether the user can type into the control.

public bool IsEditable { get; set; }

Property Value

bool

ListRows

Represents the maximum number of rows to display in the list.

public int ListRows { get; set; }

Property Value

int

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

MaxLength

Gets and sets the maximum number of characters

public int MaxLength { get; set; }

Property Value

int

SelectionMargin

Indicates whether the user can select a line of text by clicking in the region to the left of the text.

public bool SelectionMargin { get; set; }

Property Value

bool

ShowColumnHeads

Indicates whether column headings are displayed.

public bool ShowColumnHeads { get; set; }

Property Value

bool

ShowDropButtonTypeWhen

Specifies the symbol displayed on the drop button

public ShowDropButtonType ShowDropButtonTypeWhen { get; set; }

Property Value

ShowDropButtonType

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