Edytuj

Udostępnij za pośrednictwem


_CommandBarComboBox.DropDownWidth Property

Definition

Returns or sets the width (in pixels) of the list for the specified command bar combo box control.

public:
 property int DropDownWidth { int get(); void set(int value); };
public int DropDownWidth { get; set; }
member this.DropDownWidth : int with get, set
Public Property DropDownWidth As Integer

Property Value

Remarks

An error occurs if you attempt to set this property for a built-in control.

If this property is set to -1, the width of the list is based on the length of the longest item in the combo box list. If this property is set to 0, the width of the list is based on the width of the control.

Notes to callers

Applies to