Class CommandManager
Represents to manage the keyboard commands for the diagram.
Inherited Members
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
Implements
System.ComponentModel.INotifyPropertyChanged