_CommandBarButton.Style Property

Gets or sets the button style.

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

Syntax

声明
Property Style As MsoButtonStyle
    Get
    Set
用法
Dim instance As _CommandBarButton
Dim value As MsoButtonStyle

value = instance.Style

instance.Style = value
MsoButtonStyle Style { get; set; }
property MsoButtonStyle Style {
    MsoButtonStyle get ();
    void set (MsoButtonStyle value);
}
abstract Style : MsoButtonStyle with get, set
function get Style () : MsoButtonStyle
function set Style (value : MsoButtonStyle)

Property Value

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

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace