buttonID property

Gets the Thumbnail Toolbar button ID that is clicked.

This property is not supported for Windows apps using JavaScript.


HRESULT value = object.get_buttonID(* p);

Property values

Type: long

the numeric ID of the button that is clicked.


This event is fired when a user clicks a custom button in a Thumbnail Toolbar that pinned site adds with msSiteModeAddThumbBarButton. The button ID that this event returns is the same that is returned when the button was added.

See also