Sdílet prostřednictvím


_CommandBarButton.State Property

Returns or sets the appearance of a command bar button control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property State As MsoButtonState
    Get
    Set
'Usage
Dim instance As _CommandBarButton
Dim value As MsoButtonState

value = instance.State

instance.State = value
MsoButtonState State { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoButtonState

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.Office.Core Namespace