ToolbarButton Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An Interactive button in the TextToolbar, to perform a formatting task.
public class ToolbarButton : Windows.UI.Xaml.Controls.AppBarButton, Microsoft.Toolkit.Uwp.UI.Controls.TextToolbarButtons.IToolbarItem, System.ComponentModel.INotifyPropertyChanged
type ToolbarButton = class
inherit AppBarButton
interface IToolbarItem
interface ICommandBarElement
interface INotifyPropertyChanged
Public Class ToolbarButton
Inherits AppBarButton
Implements INotifyPropertyChanged, IToolbarItem
- Inheritance
-
Windows.UI.Xaml.Controls.AppBarButtonToolbarButton
- Implements
Constructors
ToolbarButton() |
Initializes a new instance of the ToolbarButton class. |
Fields
IsToggledProperty |
Identifies the IsToggled dependency property. |
ShortcutFancyNameProperty |
Identifies the ShortcutFancyName dependency property. |
ShortcutKeyProperty |
Identifies the ShortcutKey dependency property. |
ToolTipProperty |
Identifies the ToolTip dependency property. |
Properties
Activation |
Gets or sets the designated formatting task. |
IsToggled |
Gets or sets a value indicating whether the ToolbarButton is Toggled |
Position |
Gets or sets the position in the Toolbar to place this Button. |
ShiftActivation |
Gets or sets the designated formatting task when pressing shift at the same time. |
ShortcutFancyName |
Gets or sets the name that represents the ShortcutKey as the Keyboard Character |
ShortcutKey |
Gets or sets a key to activate this button from the keyboard. |
ToolTip |
Gets or sets the Tooltip message, explaining what the button does. |
Methods
OnApplyTemplate() | Windows.UI.Xaml.Controls.AppBarButton.OnApplyTemplate |
Events
PropertyChanged | Occurs when a property value changes. |