Interface IMainToolbarItem

Interface that represents a built-in toolbar item.

Namespace: PSPDFKit.Api.Toolbar
Assembly: Api.dll
Syntax
public interface IMainToolbarItem : INotifyPropertyChanged

Properties

| Edit this page View Source

MediaQueries

Gets or sets media queries for the toolbar item. An array of valid media queries which are used to determine the visibility of an item. Internally, media queries are managed using the Window.matchMedia() API.
As per the W3C Spec, in many cases, media queries require parentheses — for example, min-width: 480px won't work, whereas (min-width: 480px) will.

Declaration
ObservableCollection<string> MediaQueries { get; }
Property Value
Type Description
ObservableCollection<string>
| Edit this page View Source

StyleClass

Gets or sets the custom style class name use for the toolbar item.

Declaration
string StyleClass { get; set; }
Property Value
Type Description
string