Interface IToolbarItemButton

The interface for a toolbar button item.

Inherited Members
Namespace: PSPDFKit.UI.ToolbarComponents
Assembly: PSPDFKit.dll
Syntax
public interface IToolbarItemButton : IToolbarItem

Properties

Disabled

Whether the item is disabled or not.

Declaration
bool? Disabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Icon

Icon for the item. The icon should be an URI in your assets. (Example : "ms-appx-web:///Assets/ToolbarIcons/status_completed.svg")

Declaration
Uri Icon { get; set; }
Property Value
Type Description
System.Uri

Methods

ItemPressEvent()

Called when the item has been pressed.

Declaration
void ItemPressEvent()

Events

OnItemPressEvent

The event handler invoked when the item is pressed. Id must be set in order to receive the event. Note that only ICustomToolbarItem toolbar items can have an event. Built in toolbar items will not fire this event.

Declaration
event TypedEventHandler<IToolbarItem, string> OnItemPressEvent
Event Type
Type Description
Windows.Foundation.TypedEventHandler<IToolbarItem, System.String>