Share via


CommandBarButtonClass.BuiltInFace Property

Is True if the face of a command bar button control is its original built-in face. Read/write.

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

Syntax

'Declaration
Public Overridable Property BuiltInFace As Boolean
    Get
    Set
'Usage
Dim instance As CommandBarButtonClass
Dim value As Boolean

value = instance.BuiltInFace

instance.BuiltInFace = value
public virtual bool BuiltInFace { get; set; }

Property Value

Type: System.Boolean

Implements

_CommandBarButton.BuiltInFace

Remarks

This property can only be set to True, which will reset the face to the built-in face. Read/write Boolean.

Examples

This example determines whether the face of the first control on the command bar named "Custom" is its built-in button face. If it is, the example copies the button face to the Clipboard.

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.Office.Core Namespace