Class MainToolbarToggleButtonBase
Base class for all built-in main toolbar toggle buttons.
Inheritance
MainToolbarToggleButtonBase
Inherited Members
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 SourceIsSelected
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 SourceEquals(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
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |