Partilhar via


CommandBarComboBoxClass.Style Property

Definition

Gets or sets the style of the combo box.

public:
 virtual property Microsoft::VisualStudio::CommandBars::MsoComboStyle Style { Microsoft::VisualStudio::CommandBars::MsoComboStyle get(); void set(Microsoft::VisualStudio::CommandBars::MsoComboStyle value); };
public:
 virtual property Microsoft::VisualStudio::CommandBars::MsoComboStyle Style { Microsoft::VisualStudio::CommandBars::MsoComboStyle get(); void set(Microsoft::VisualStudio::CommandBars::MsoComboStyle value); };
[System.Runtime.InteropServices.DispId(1610940430)]
public virtual Microsoft.VisualStudio.CommandBars.MsoComboStyle Style { [System.Runtime.InteropServices.DispId(1610940430)] get; [System.Runtime.InteropServices.DispId(1610940430)] set; }
[<System.Runtime.InteropServices.DispId(1610940430)>]
[<get: System.Runtime.InteropServices.DispId(1610940430)>]
[<set: System.Runtime.InteropServices.DispId(1610940430)>]
member this.Style : Microsoft.VisualStudio.CommandBars.MsoComboStyle with get, set
Public Overridable Property Style As MsoComboStyle

Property Value

The MsoComboStyle.

Implements

Attributes

Remarks

This property can be set to either msoComboLabel or msoComboNormal, otherwise it throws an ArgumentOutOfRangeException.

Applies to