Share via


_CommandBarButton.FaceId Property

Returns or sets the ID number for the face of a command bar button control.

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

Syntax

'Declaration
Property FaceId As Integer
    Get
    Set
'Usage
Dim instance As _CommandBarButton
Dim value As Integer

value = instance.FaceId

instance.FaceId = value
int FaceId { get; set; }

Property Value

Type: System.Int32

Remarks

The FaceId property dictates the look, not the function, of a command bar button.

The Id property of the CommandBarControl object determines the function of the button.

The value of the FaceId property for a command bar button with a custom face is 0 (zero).

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.Office.Core Namespace