menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CommandManager - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CommandManager

    Represents to manage the keyboard commands for the diagram.

    Inheritance
    System.Object
    DiagramElementViewModel
    CommandManager
    Implements
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    DiagramElementViewModel.ID
    DiagramElementViewModel.Info
    DiagramElementViewModel.Key
    DiagramElementViewModel.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public class CommandManager : DiagramElementViewModel, IDiagramElement, IID, INotifyPropertyChanged

    Constructors

    CommandManager()

    Initializes a new instance of the CommandManager class.

    Declaration
    public CommandManager()

    Properties

    Commands

    Gets or sets the collection of IGestureCommand.

    Declaration
    public ObservableCollection<IGestureCommand> Commands { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<IGestureCommand>

    View

    Gets or sets the view of the Control

    Declaration
    public Control View { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Controls.Control

    Methods

    GetCommandByName(String)

    This method will iterate and return Command based on the given Parameter

    Declaration
    public IGestureCommand GetCommandByName(string Name)
    Parameters
    Type Name Description
    System.String Name

    Name of the IGestureCommand

    Returns
    Type Description
    IGestureCommand

    It return the command when equal to the Name

    OnPropertyChanged(String)

    Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(name).

    Declaration
    protected override void OnPropertyChanged(string name)
    Parameters
    Type Name Description
    System.String name
    Overrides
    DiagramElementViewModel.OnPropertyChanged(String)

    Implements

    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved