Class ToolbarItem
Represents an item in the toolbar.
Inheritance
System.Object
ToolbarItem
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class ToolbarItem : Object
Constructors
ToolbarItem(View, String)
Initializes an instance of PdfViewerToolbarItem.
Declaration
public ToolbarItem(View view, string name)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Controls.View | view | The view that is associated with the toolbar item. |
System.String | name | The name to uniquely identify the toolbar item. |
Properties
Index
Gets the index of the item in the toolbar.
Declaration
public Nullable<int> Index { get; }
Property Value
Type |
---|
System.Nullable<System.Int32> |
IsVisible
Gets or sets a value indicating whether the toolbar item is visible.
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
Name
Gets or sets the name of the toolbar item.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |