共用方式為


CommandBarComboBoxClass.DropDownWidth Property

Gets or sets the width of the dropdown box. This property is deprecated.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Public Overridable Property DropDownWidth As Integer
    Get
    Set
'用途
Dim instance As CommandBarComboBoxClass
Dim value As Integer

value = instance.DropDownWidth

instance.DropDownWidth = value
public virtual int DropDownWidth { get; set; }
public:
virtual property int DropDownWidth {
    int get ();
    void set (int value);
}
abstract DropDownWidth : int with get, set
override DropDownWidth : int with get, set
function get DropDownWidth () : int
function set DropDownWidth (value : int)

Property Value

Type: System.Int32
The width of the dropdown box. This property is deprecated.

Implements

_CommandBarComboBox.DropDownWidth

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

CommandBarComboBoxClass Members

Microsoft.VisualStudio.CommandBars Namespace