Class AnnotationToolbarItems.CustomAnnotationToolbarItem

Custom item on annotation toolbar

Inheritance
AnnotationToolbarItems.CustomAnnotationToolbarItem
Namespace: PSPDFKit.Sdk.Models.Toolbar
Assembly: Sdk.dll
Syntax
public sealed class AnnotationToolbarItems.CustomAnnotationToolbarItem : AnnotationToolbarItemBase, ICustomAnnotationToolbarItem, IAnnotationToolbarItem, INotifyPropertyChanged

Constructors

| Edit this page View Source

CustomAnnotationToolbarItem(string)

Initializes a new instance of AnnotationToolbarItems.CustomAnnotationToolbarItem class.

Declaration
public CustomAnnotationToolbarItem(string id)
Parameters
Type Name Description
string id

Unique identifier for the custom item.

Properties

| Edit this page View Source

Id

Gets or sets the unique identifier for the item.

Declaration
[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
public string Id { get; init; }
Property Value
Type Description
string

Events

| Edit this page View Source

Clicked

Occurs when the button is clicked/tapped.

Declaration
public event EventHandler Clicked
Event Type
Type Description
EventHandler

Implements

ICustomAnnotationToolbarItem
IAnnotationToolbarItem
INotifyPropertyChanged