Class MainToolbarToggleButtonBase

Base class for all built-in main toolbar toggle buttons.

Inheritance
MainToolbarToggleButtonBase
Namespace: PSPDFKit.Sdk.Models.Toolbar.Base
Assembly: Sdk.dll
Syntax
public abstract class MainToolbarToggleButtonBase : MainToolbarButtonBase, IMainToolbarToggleButton, IMainToolbarButton, IMainToolbarItem, INotifyPropertyChanged
Remarks

To create a custom main toolbar toggle button, create a class that inherits IMainToolbarToggleButton interface.

Properties

| Edit this page View Source

IsSelected

Gets if the toolbar item is selected.

Declaration
[JsonProperty("selected", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsSelected { get; }
Property Value
Type Description
bool?

Methods

| Edit this page View Source

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object o)
Parameters
Type Name Description
object o
Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
MainToolbarButtonBase.Equals(object)
| Edit this page View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
MainToolbarButtonBase.GetHashCode()

Implements

IMainToolbarToggleButton
IMainToolbarButton
IMainToolbarItem
INotifyPropertyChanged