Condividi tramite


_CommandBarComboBox.Style Property

Definition

Gets or sets the style of the combo box.

public:
 property Microsoft::VisualStudio::CommandBars::MsoComboStyle Style { Microsoft::VisualStudio::CommandBars::MsoComboStyle get(); void set(Microsoft::VisualStudio::CommandBars::MsoComboStyle value); };
public:
 property Microsoft::VisualStudio::CommandBars::MsoComboStyle Style { Microsoft::VisualStudio::CommandBars::MsoComboStyle get(); void set(Microsoft::VisualStudio::CommandBars::MsoComboStyle value); };
[System.Runtime.InteropServices.DispId(1610940430)]
public 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 Property Style As MsoComboStyle

Property Value

The MsoComboStyle.

Attributes

Remarks

This property can be set to either msoComboLabel or <xref:Microsoft.VisualStudio.CommandBars.MsoComboStyle.msoComboNormall>, otherwise it throws an ArgumentOutOfRangeException.

Applies to