Einhugur macOS Bridge plugin. |

# NSTouchBar.SetPrincipalItemIdentifier Method

Sets The identifier of an item you want the system to center in the Touch Bar.

SetPrincipalItemIdentifier(
identifier as String)

#### Parameters

identifier
  Principal identifier to be set.

#### Remarks

The system attempts to center a principal item within the Touch Bar. If you want a group of items to appear centered in the Touch Bar, designate the group item (of type NSGroupTouchBarItem) as the principal item.

#### See Also

NSTouchBar Class