Class RedactRectangleToolbarItem

Represents a redaction rectangle button toolbar item

Inheritance
System.Object
RedactRectangleToolbarItem
Namespace: PSPDFKit.UI.ToolbarComponents
Assembly: PSPDFKit.dll
Syntax
public sealed class RedactRectangleToolbarItem : IToolbarItemToggleButton, IToolbarItemButton, IToolbarItem

Properties

Attributes

Common attributes across all toolbar items. See Attributes.

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

Disabled

Whether the item is disabled or not.

Declaration
public 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
public Uri Icon { get; set; }
Property Value
Type Description
System.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)

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

GetHashCode()

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

ItemPressEvent()

Called when the item has been pressed.

Declaration
public 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
public event TypedEventHandler<IToolbarItem, string> OnItemPressEvent
Event Type
Type Description
Windows.Foundation.TypedEventHandler<IToolbarItem, System.String>

Implements

IToolbarItemToggleButton
IToolbarItemButton
IToolbarItem