Class ToolbarMenuItem
Used as an ItemTemplate for the ItemsControl used in displaying the ToolbarItems.
Inheritance
System.Object
ToolbarMenuItem
Namespace: Syncfusion.UI.Xaml.ImageEditor
Assembly: Syncfusion.SfImageEditor.WPF.dll
Syntax
public class ToolbarMenuItem : ContentControl
Constructors
ToolbarMenuItem()
Gets or sets the instance of the ToolbarMenuItem
Declaration
public ToolbarMenuItem()
Properties
ShapesCommand
Gets the command for performing the toolbar shapes action.
Declaration
public ICommand ShapesCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
ToolbarItemCommand
Gets the command for performing the toolbar item actions.
Declaration
public ICommand ToolbarItemCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
Declaration
public override void OnApplyTemplate()
OnMouseDown(MouseButtonEventArgs)
Invoked when mouse down on the toolbar items.
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | event arguments |