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
'宣告
Public Overridable Property Style As MsoButtonStyle
Get
Set
'用途
Dim instance As CommandBarButtonClass
Dim value As MsoButtonStyle
value = instance.Style
instance.Style = value
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.