Interface IQuickCommand
Represents to execute the commonly or frequently used commands around the nodes, connectors and groups. There are 3 default quickcommands for nodes and groups to execute Draw, Delete and Duplicate commands
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public interface IQuickCommand
Properties
Command
Gets or sets the command to invoke when this quickcommand is pressed.
Declaration
ICommand Command { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CommandParameter
Gets or sets the parameter to pass to the Command property.
Declaration
object CommandParameter { get; set; }
Property Value
Type |
---|
System.Object |
Content
Gets or sets the shape of the quickcommand.
Declaration
object Content { get; set; }
Property Value
Type |
---|
System.Object |
ContentTemplate
Gets or sets the appearance of the quickcommand.
Declaration
DataTemplate ContentTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
Displacement
Gets or sets the distance to place the quickcommand over the Connector path(Absolute).
Declaration
double Displacement { get; set; }
Property Value
Type |
---|
System.Double |
DragCommand
Gets or sets the command to invoke when this quickcommand is dragged.
Declaration
ICommand DragCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
HorizontalAlignment
Gets or sets the horizontal alignment characteristics applied to this element
Declaration
HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.HorizontalAlignment |
Length
Gets or sets the distance to place the quickcommand over the Connector path(Fraction(0 to 1)).
Declaration
double Length { get; set; }
Property Value
Type |
---|
System.Double |
Margin
Gets or sets the space around the Selector.
Declaration
Thickness Margin { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Thickness |
OffsetX
Gets or sets the position of the quickcommand on X-Axis.
Declaration
double OffsetX { get; set; }
Property Value
Type |
---|
System.Double |
OffsetY
Gets or sets the position of the quickcommand on Y-Axis.
Declaration
double OffsetY { get; set; }
Property Value
Type |
---|
System.Double |
Pivot
Gets or sets the quickcommand should be align based on Pivot point.
Declaration
Point Pivot { get; set; }
Property Value
Type |
---|
Windows.Foundation.Point |
Shape
Gets or sets the shape Background of the quickcommand.
Declaration
object Shape { get; set; }
Property Value
Type |
---|
System.Object |
ShapeStyle
Gets or sets the Style of the quickcommand.
Declaration
Style ShapeStyle { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Style |
VerticalAlignment
Gets or sets the vertical alignment characteristics applied to this element.
Declaration
VerticalAlignment VerticalAlignment { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.VerticalAlignment |
VisibilityMode
Gets or sets whether the QuickCommand is for Node, Connector or RuberBandSelection.
Declaration
VisibilityMode VisibilityMode { get; set; }
Property Value
Type |
---|
VisibilityMode |