WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolbarMenuItem - WPF API Reference | Syncfusion ToolbarItems. ">

    Show / Hide Table of Contents

    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 Description
    System.Windows.Input.ICommand

    ToolbarItemCommand

    Gets the command for performing the toolbar item actions.

    Declaration
    public ICommand ToolbarItemCommand { get; }
    Property Value
    Type Description
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved