Share via


CommandBarButtonClass.Style Property

Gets or sets the style of the button.

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

Syntax

'Declaration
Public Overridable Property Style As MsoButtonStyle
public virtual MsoButtonStyle Style { get; set; }
public:
virtual property MsoButtonStyle Style {
    MsoButtonStyle get ();
    void set (MsoButtonStyle value);
}
abstract Style : MsoButtonStyle with get, set 
override Style : MsoButtonStyle with get, set
function get Style () : MsoButtonStyle 
function set Style (value : MsoButtonStyle)

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoButtonStyle
The MsoButtonStyle.

Implements

_CommandBarButton.Style

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace