Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The ToolbarItem is an item of the toolbar.
public class ToolbarItem : ItemObject
- Inheritance
-
System.Object
ToolbarItem
Properties
Declaration
[Obsolete("Enabled is obsolete as of version v1.1.0-beta-023. Please use IsEnabled instead.")]
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
API Level: preview
Declaration
public string Icon { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: preview
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
API Level: preview
View Source
Sets or gets whether displaying the item as a separator.
Declaration
public bool IsSeparator { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
API Level: preview
View Source
Text
Sets or gets the text string of the item.
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: preview
Events
View Source
Clicked will be triggered when the item is clicked.
Declaration
public event EventHandler Clicked
Event Type
Type |
Description |
System.EventHandler |
|
API Level: preview
View Source
LongPressed will be triggered when the item is pressed for a long time.
Declaration
public event EventHandler LongPressed
Event Type
Type |
Description |
System.EventHandler |
|
API Level: preview
View Source
Selected will be triggered when the item is selected.
Declaration
public event EventHandler Selected
Event Type
Type |
Description |
System.EventHandler |
|
API Level: preview
Extension Methods