Interface SimpleToolBarView.IToolBarItem
Represents an item in the toolbar.
public interface SimpleToolBarView.IToolBarItem
Properties
- AttributesProvider
Gets or sets the attributes provider for the toolbar item.
- Button
Gets the button view associated with this instance.
- ButtonContainer
Gets the container view that holds the button.
- ClickedAction
Gets or sets the action which is invoked when the button is clicked/tapped.
- FontAttributes
Gets or sets the font attributes applied to the text.
- FontFamily
Gets or sets the font family name used for text rendering.
- FontSize
Gets or sets the font size for text rendering.
- HasBorder
Gets or sets a value indicating whether the item has border.
- HorizontalOptions
Gets or sets the horizontal layout options of the toolbar item.
- IsBoldWhenSticky
Gets or sets a value indicating whether the text should be displayed in bold when item is marked as sticky.
- IsEnabled
Gets or sets a value indicating whether the toolbar item is enabled.
- IsSticky
Gets or sets a value indicating whether the item is in a sticky state (remains pressed even if mouse is not pressed over the item).
- IsVisible
Gets or sets a value indicating whether the toolbar item is visible.
- StickyStyle
Gets or sets the style of the sticky button.
- SvgImage
Gets or sets the SVG image associated with this button.
- Text
Gets or sets the text associated with the toolbar item.
- VerticalOptions
Gets or sets the vertical layout options of the toolbar item.
Methods
- UpdateVisualStates(bool)
Updates the visual states of the item.
Events
- Clicked
Occurs when the button is clicked/tapped.