Class ImageToolbarItem

Represents an image toolbar button.

Inheritance
System.Object
ImageToolbarItem
Implements
Namespace: PSPDFKit.UI.ToolbarComponents
Assembly: PSPDFKit.dll
Syntax
public sealed class ImageToolbarItem : object, IToolbarItemButton, IToolbarItem

Properties

Attributes

Declaration
public Attributes Attributes { get; set; }
Property Value
Type Description
Attributes

Disabled

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

Icon

Declaration
public Uri Icon { get; set; }
Property Value
Type Description
Windows.Foundation.Uri

Selected

Whether a custom item is selected or not.

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

Methods

Equals(Object)

Tests for equality

Declaration
public override bool Equals(object o)
Parameters
Type Name Description
System.Object o

Object to compare.

Returns
Type Description
System.Boolean

True if equal.

GetHashCode()

Object's hash code.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code.

ItemPressEvent()

Declaration
public void ItemPressEvent()

Events

OnItemPressEvent

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

Implements

IToolbarItemButton
IToolbarItem