Interface IDiagramCommands
Represents a set of commands to perform the functionalities of the diagram.
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public interface IDiagramCommands : INotifyPropertyChanged
Properties
AlignBottom
Gets or sets the AlignBottom command to invoke when to align all selected objects along the bottom surface of the reference object.
Declaration
ICommand AlignBottom { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
AlignCenter
Gets or sets the AlignCenter command to invoke when to align center all selected objects vertically. It aligns selected objects to the center with respect to the horizontal axis by changing the x-coordinate of the object.
Declaration
ICommand AlignCenter { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
AlignLeft
Gets or sets the AlignLeft command to invoke when to align all selected objects along the left corner of the reference object.
Declaration
ICommand AlignLeft { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
AlignMiddle
Gets or sets the AlignMiddle command to invoke when to align center all selected objects horizontally. It aligns selected objects to the center with respect to the vertical axis by changing the y-coordinate of the object.
Declaration
ICommand AlignMiddle { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
AlignRight
Gets or sets the AlignRight command to invoke when to align all selected objects along the right corner of the reference object.
Declaration
ICommand AlignRight { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
AlignTop
Gets or sets the AlignTop command to invoke when to align all selected objects along the top surface of the reference object.
Declaration
ICommand AlignTop { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
BringForward
Gets or sets the BringForward command, to moves the selected element over the nearest overlapping element.
Declaration
ICommand BringForward { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
BringToFront
Gets or sets the BringToFront command, to visually brings the selected element to the front over all other overlapped elements.
Declaration
ICommand BringToFront { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Cancel
Gets or sets the Cancel command of the which will cancel the currently performing action in diagram.
Declaration
ICommand Cancel { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Remarks
Examples
Below example shows how to execute the Cancel command
<Syncfusion:SfDiagram x:Name="Diagram" />
<!--Initialize the Button to Execute Cancel command-->
<Button x:Name="Cancel" Content="Cancel" Height="40" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Command="{Binding ElementName=Diagram,Path=Info.Commands.Cancel}"/>
Copy
Gets or sets the Copy command, to copy the selected elements in the diagram.
Declaration
ICommand Copy { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Cut
Gets or sets the Cut command, to cut the selected elements in the diagram.
Declaration
ICommand Cut { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Delete
Gets or sets the Delete command invokes to delete the elements in the diagram.
Declaration
ICommand Delete { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Draw
Gets or sets the Draw command invokes to draw the elements in the diagram.
Declaration
ICommand Draw { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Duplicate
Gets or sets the Duplicate command invokes when the element is duplicated.
Declaration
ICommand Duplicate { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
EditAnnotation
Gets or sets the EditAnnotation command of the which will enble annotation editing mode of the first selected diagram element.
Declaration
ICommand EditAnnotation { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Examples
Below example shows how to execute the EditAnnotation command.
<Syncfusion:SfDiagram x:Name="Diagram" />
<!--Initialize the Button to Execute Edit command-->
<Button x:Name="Edit" Content="EditAnnotation" Height="40" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Command="{Binding ElementName=Diagram,Path=Info.Commands.EditAnnotation}"/>
ExpandCollapse
Gets or sets the ExpandCollapse command invokes when the child elements are going to expand or collapse.
Declaration
ICommand ExpandCollapse { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
FitToPage
Gets or sets the FitToPage command invokes to bring the entire Diagram into the view.
Declaration
ICommand FitToPage { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Flip
Gets or sets the Flip command invokes to be mirrored the elements horizontally, vertically, or both.
Declaration
ICommand Flip { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
FocusToNextItem
Gets or sets the FocusToNextItem command invokes when the keyboard tab key is pressed.
Declaration
ICommand FocusToNextItem { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
FocusToPreviousItem
Gets or sets the FocusToPreviousItem command invokes when the keyboard tab with shift key is pressed.
Declaration
ICommand FocusToPreviousItem { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Group
Gets or sets the Group command to invoke when groups the selected elements.
Declaration
ICommand Group { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
InvalidateLayout
Gets or sets the SelectFocusedItem command invokes when the keyboard enter is pressed.
Declaration
ICommand InvalidateLayout { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
MoveDown
Gets or sets the MoveDown command, to move the selected elements downwards in the diagram.
Declaration
ICommand MoveDown { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
MoveLeft
Gets or sets the MoveLeft command, to move the selected elements left side in the diagram.
Declaration
ICommand MoveLeft { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
MoveRight
Gets or sets the MoveRight command, to move the selected elements right side in the diagram.
Declaration
ICommand MoveRight { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
MoveUp
Gets or sets the MoveUp command, to move the selected elements upwards in the diagram.
Declaration
ICommand MoveUp { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Paste
Gets or sets the Paste command, to paste the copied elements in the diagram.
Declaration
ICommand Paste { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Redo
Gets or sets the Redo command to invoke when perform the redo action in Diagram.
Declaration
ICommand Redo { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Reset
Gets or sets the reset command to invoke when reset horizontal Offset, vertical Offset, and zoom level of the diagram.
Declaration
ICommand Reset { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Rotate
Gets or sets the Rotate Command invokes to rotate the elements in diagram.
Declaration
ICommand Rotate { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SameHeight
Gets or sets the SameHeight command to invoke when vertically scales the selected items to the height of first selected object
Declaration
ICommand SameHeight { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SameSize
Gets or sets the SameSize command to invoke when scales the selected items to the size of first selected object
Declaration
ICommand SameSize { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SameWidth
Gets or sets the SameWidth command to invoke when horizontally scales the selected items to the width of first selected object
Declaration
ICommand SameWidth { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SelectAll
Gets or sets the SelectAll command to invoke when to select all the elements in the diagram.
Declaration
ICommand SelectAll { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SelectByType
Gets or sets the SelectByType Command invokes to select the specified type of elements in the diagram.
Declaration
ICommand SelectByType { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SelectFocusedItem
Gets or sets the SelectFocusedItem command invokes when the keyboard enter is pressed.
Declaration
ICommand SelectFocusedItem { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Declaration
ICommand SelectTool { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Below example shows how to execute the command and provide SelectToolCommandParameter value for the command using click event.
<Syncfusion:SelectToolCommandParameter DrawingTool="Ellipse" Tool="ContinuesDraw" x:Key="SelectToolEllipseCommandParameter"/>
<Syncfusion:SelectToolCommandParameter DrawingTool=" Connector" Tool="ContinuesDraw" ConnectorType =” Connector” x:Key="SelectToolConnectorCommandParameter"/>
<Syncfusion:SfDiagram x:Name="Diagram" />
<!--Initialize the Button to Execute SelectTool command for enable EllipseTool -->
<Button x:Name="EllipseTool" Content="Rotate ClockWise" Height="40" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Command="{Binding ElementName=Diagram,Path=Info.Commands. SelectTool}" CommandParameter="{StaticResource SelectToolEllipseCommandParameter}"/>
<!--Initialize the Button to Execute SelectTool command for enable Connector Tool-->
<Button x:Name="ConnectorTool" Content="ConnectorTool" Height="40" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Command="{Binding ElementName=Diagram,Path=Info.Commands. SelectTool}" CommandParameter="{StaticResource SelectToolConnectorCommandParameter }"/>
SendBackward
Gets or sets the SendBackward command, to visually moves the selected elements behind the underlying element.
Declaration
ICommand SendBackward { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SendToBack
Gets or sets the SendToBack command, to visually moves the selected elements behind all the other overlapped elements.
Declaration
ICommand SendToBack { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SetShapeStyle
Gets or sets the SetShapeStyle Command invokes to apply specified style for the selected elements in the diagram.
Declaration
ICommand SetShapeStyle { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SpaceAcross
Gets or sets the SpaceAcross command, to equally spaces the selected nodes horizontally.
Declaration
ICommand SpaceAcross { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
SpaceDown
Gets or sets the SpaceDown command, to equally spaces the selected nodes vertically.
Declaration
ICommand SpaceDown { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
ToggleBold
Gets or sets the ToggleBold Command invokes to apply specified style for the selected elements in the diagram.
Declaration
ICommand ToggleBold { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
ToggleItalic
Gets or sets the ToggleItalic Command invokes to apply specified style for the selected elements in the diagram.
Declaration
ICommand ToggleItalic { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
ToggleStrikeThrough
Gets or sets the ToggleStrikeThrough Command invokes to apply specified style for the selected elements in the diagram.
Declaration
ICommand ToggleStrikeThrough { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
ToggleUnderline
Gets or sets the ToggleUnderline Command invokes to apply specified style for the selected elements in the diagram.
Declaration
ICommand ToggleUnderline { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Undo
Gets or sets the undo command to invoke when history of the diagram is changed.
Declaration
ICommand Undo { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
UnGroup
Gets or sets the UnGroup command to invoke when ungroups the selected elements.
Declaration
ICommand UnGroup { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Zoom
Gets or sets the zoom command to invoke when zoom-in and zoom-out the diagram view.
Declaration
ICommand Zoom { get; set; }
Property Value
Type |
System.Windows.Input.ICommand |
Methods
CanAlignBottomExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the alignbottom command can be executed on the command target.
Declaration
bool CanAlignBottomExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanAlignCenterExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the aligncenter command can be executed on the command target.
Declaration
bool CanAlignCenterExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanAlignLeftExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the alignleft command can be executed on the command target.
Declaration
bool CanAlignLeftExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanAlignMiddleExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the alignmiddle command can be executed on the command target.
Declaration
bool CanAlignMiddleExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanAlignRightExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the alignright command can be executed on the command target.
Declaration
bool CanAlignRightExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanAlignTopExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the aligntop command can be executed on the command target.
Declaration
bool CanAlignTopExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanBringForwardExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the bringforward command can be executed on the command target.
Declaration
bool CanBringForwardExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanBringToFrontExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the bringtofront command can be executed on the command target.
Declaration
bool CanBringToFrontExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanCopyExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the copy command can be executed on the command target.
Declaration
bool CanCopyExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanCutExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the cut command can be executed on the command target.
Declaration
bool CanCutExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanDeleteExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the delete command can be executed on the command target.
Declaration
bool CanDeleteExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanDrawExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the draw command can be executed on the command target.
Declaration
bool CanDrawExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanDuplicateExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the duplicate command can be executed on the command target.
Declaration
bool CanDuplicateExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanExecuteCancelCommand(Object)
Occurs when the Cancel command associated with CommandBinding initiates a check to determine whether the Cancel command can be executed or not based on the command target.
Declaration
bool CanExecuteCancelCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
Provide the bool value to execute the CancelCommand.
|
Returns
CanExecuteEditAnnotationCommand(Object)
Occurs when the EditAnnotation command associated with CommandBinding initiates a check to determine whether the Edit command can be executed or not based on the command target.
Declaration
bool CanExecuteEditAnnotationCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
Provide the bool value to execute the EditCommand.
|
Returns
Occurs when the SelectTool command associated with CommandBinding initiates a check to determine whether the SelectTool command can be executed or not based on the command target.
Declaration
bool CanExecuteSelectToolCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
Provide the bool value to execute the SelectTool command.
|
Returns
CanExecuteSetShapeStyleCommand(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the apply style command can be executed on the command target.
Declaration
bool CanExecuteSetShapeStyleCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanExecuteToggleBoldCommand(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the apply style command can be executed on the command target.
Declaration
bool CanExecuteToggleBoldCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanExecuteToggleItalicCommand(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the apply style command can be executed on the command target.
Declaration
bool CanExecuteToggleItalicCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanExecuteToggleStrikeThroughCommand(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the apply style command can be executed on the command target.
Declaration
bool CanExecuteToggleStrikeThroughCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanExecuteToggleUnderlineCommand(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the apply style command can be executed on the command target.
Declaration
bool CanExecuteToggleUnderlineCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanExpandCollapseExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the expandcollapse command can be executed on the command target.
Declaration
bool CanExpandCollapseExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanFitToPageExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the fittopage command can be executed on the command target.
Declaration
bool CanFitToPageExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanFlipExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the flip command can be executed on the command target.
Declaration
bool CanFlipExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanFocusToNextItemExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the focustonextitem command can be executed on the command target.
Declaration
bool CanFocusToNextItemExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanFocusToPreviousItemExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the focustopreviousitem command can be executed on the command target.
Declaration
bool CanFocusToPreviousItemExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanGroupExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the group command can be executed on the command target.
Declaration
bool CanGroupExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanInvalidateLayoutExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the selectfocuseditem command can be executed on the command target.
Declaration
bool CanInvalidateLayoutExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanMoveDownExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the movedown command can be executed on the command target.
Declaration
bool CanMoveDownExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanMoveLeftExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the moveleft command can be executed on the command target.
Declaration
bool CanMoveLeftExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanMoveRightExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the moveright command can be executed on the command target.
Declaration
bool CanMoveRightExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanMoveUpExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the moveup command can be executed on the command target.
Declaration
bool CanMoveUpExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanPasteExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the paste command can be executed on the command target.
Declaration
bool CanPasteExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanRedoExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the redo command can be executed on the command target.
Declaration
bool CanRedoExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanResetExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the reset command can be executed on the command target.
Declaration
bool CanResetExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanRotateExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the rotate command can be executed on the command target.
Declaration
bool CanRotateExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSameHeightExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the sameheight command can be executed on the command target.
Declaration
bool CanSameHeightExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSameSizeExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the samesize command can be executed on the command target.
Declaration
bool CanSameSizeExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSameWidthExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the samewidth command can be executed on the command target.
Declaration
bool CanSameWidthExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSelectAllExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the selectall command can be executed on the command target.
Declaration
bool CanSelectAllExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSelectByTypeExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the select type command can be executed on the command target.
Declaration
bool CanSelectByTypeExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSelectFocusedItemExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the selectfocuseditem command can be executed on the command target.
Declaration
bool CanSelectFocusedItemExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSendBackwardExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the sendbackward command can be executed on the command target.
Declaration
bool CanSendBackwardExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSendToBackExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the senttoback command can be executed on the command target.
Declaration
bool CanSendToBackExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSpaceAcrossExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the spaceacross command can be executed on the command target.
Declaration
bool CanSpaceAcrossExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanSpaceDownExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the spacedown command can be executed on the command target.
Declaration
bool CanSpaceDownExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanUndoExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the undo command can be executed on the command target.
Declaration
bool CanUndoExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanUnGroupExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the ungroup command can be executed on the command target.
Declaration
bool CanUnGroupExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
CanZoomExecute(Object)
Occurs when the command associated with this CommandBinding initiates a check to determine whether the zoom command can be executed on the command target.
Declaration
bool CanZoomExecute(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Returns
ExecuteCancelCommand(Object)
Cancel the currently performing action in the diagram.
Declaration
void ExecuteCancelCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
ExecuteEditAnnotationCommand(Object)
Enable the annotation editing mode for the first selected diagram element.
Declaration
void ExecuteEditAnnotationCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Enables the drawing SelectTool in the diagram with specified value.
Declaration
void ExecuteSelectToolCommand(object param)
Parameters
ExecuteSetShapeStyleCommand(Object)
Represents a method to apply specified style to the selected objects in diagram.
Declaration
void ExecuteSetShapeStyleCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
ExecuteToggleBoldCommand(Object)
Represents a method to apply specified style to the selected objects in diagram.
Declaration
void ExecuteToggleBoldCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
ExecuteToggleItalicCommand(Object)
Represents a method to apply specified style to the selected objects in diagram.
Declaration
void ExecuteToggleItalicCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
ExecuteToggleStrikeThroughCommand(Object)
Represents a method to apply specified style to the selected objects in diagram.
Declaration
void ExecuteToggleStrikeThroughCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
ExecuteToggleUnderlineCommand(Object)
Represents a method to apply specified style to the selected objects in diagram.
Declaration
void ExecuteToggleUnderlineCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnAlignBottomCommand(Object)
Represents a method to used align all selected objects along the bottom surface of the reference object.
Declaration
void OnAlignBottomCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnAlignCenterCommand(Object)
Represents a method to used align center all selected objects vertically. It aligns selected objects to the center with respect to the horizontal axis by changing the x-coordinate of the object.
Declaration
void OnAlignCenterCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnAlignLeftCommand(Object)
Represents a method to used align all selected objects along the left corner of the reference object.
Declaration
void OnAlignLeftCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnAlignMiddleCommand(Object)
Represents a method to used align center all selected objects horizontally. It aligns selected objects to the center with respect to the vertical axis by changing the y-coordinate of the object.
Declaration
void OnAlignMiddleCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnAlignRightCommand(Object)
Represents a method to used align all selected objects along the right corner of the reference object.
Declaration
void OnAlignRightCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnAlignTopCommand(Object)
Represents a method to used align all selected objects along the top surface of the reference object.
Declaration
void OnAlignTopCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnBringForwardCommand(Object)
Represents a method used to moves the selected element over the nearest overlapping element.
Declaration
void OnBringForwardCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnBringToFrontCommand(Object)
Represents a method used to visually brings the selected element to the front over all other overlapped elements.
Declaration
void OnBringToFrontCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnCopyCommand(Object)
Represents a method used to copy the selected elements in the diagram.
Declaration
void OnCopyCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnCutCommand(Object)
Represents a method used to cut the selected elements in the diagram.
Declaration
void OnCutCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnDeleteCommand(Object)
Represents a method used to delete the elements in the diagram.
Declaration
void OnDeleteCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnDrawCommand(Object)
Represents a method used to draw the elements in the diagram.
Declaration
void OnDrawCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnDuplicateCommand(Object)
Represents a method used to duplicate the element.
Declaration
void OnDuplicateCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnExpandCollapse(Object)
Represents a method used to expand or collapse the child elements.
Declaration
void OnExpandCollapse(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnFitToPageCommand(Object)
Represents a method used to bring the entire Diagram into the view.
Declaration
void OnFitToPageCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnFlipCommand(Object)
Represents a method used to be mirrored the elements horizontally, vertically, or both.
Declaration
void OnFlipCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnFocusToNextItemCommand(Object)
Represents a method used to focus the nextitem in the diagram.
Declaration
void OnFocusToNextItemCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnFocusToPreviousItemCommand(Object)
Represents a method used to focus the previousitem in the diagram.
Declaration
void OnFocusToPreviousItemCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnGroupCommand(Object)
Represents a method to used groups the selected elements..
Declaration
void OnGroupCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnInvalidateLayoutCommand(Object)
Represents a method used to select the focused item in the diagram.
Declaration
void OnInvalidateLayoutCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnMoveDownCommand(Object)
Represents a method used to move the selected elements downwards in the diagram.
Declaration
void OnMoveDownCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnMoveLeftCommand(Object)
Represents a method used to move the selected elements left side in the diagram.
Declaration
void OnMoveLeftCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnMoveRightCommand(Object)
Represents a method used to move the selected elements right side in the diagram.
Declaration
void OnMoveRightCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnMoveUpCommand(Object)
Represents a method used to move the selected elements upwards in the diagram.
Declaration
void OnMoveUpCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnPasteCommand(Object)
Represents a method used to paste the copied elements in the diagram.
Declaration
void OnPasteCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnRedoCommand(Object)
Represents a method to perform the redo action in Diagram.
Declaration
void OnRedoCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnResetCommand(Object)
Represents a method to used reset horizontal Offset, vertical Offset, and zoom level of the diagram.
Declaration
void OnResetCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnRotateCommand(Object)
Represent a method to rotate the selected node in the diagram.
Declaration
void OnRotateCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSameHeightCommand(Object)
Represents a method to used vertically scales the selected items to the height of first selected object
Declaration
void OnSameHeightCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSameSizeCommand(Object)
Represents a method to used scales the selected items to the size of first selected object
Declaration
void OnSameSizeCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSameWidthCommand(Object)
Represents a method to used horizontally scales the selected items to the width of first selected object
Declaration
void OnSameWidthCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSelectAllCommand(Object)
Represents a method to used select all the elements in the diagram.
Declaration
void OnSelectAllCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSelectByTypeCommand(Object)
Represent a method to select the specified type of objects in the diagram.
Declaration
void OnSelectByTypeCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSelectFocusedItemCommand(Object)
Represents a method used to select the focused item in the diagram.
Declaration
void OnSelectFocusedItemCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSendBackwardCommand(Object)
Represents a method used to visually moves the selected elements behind the underlying element.
Declaration
void OnSendBackwardCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSendToBackCommand(Object)
Represents a method to used visually moves the selected elements behind all the other overlapped elements.
Declaration
void OnSendToBackCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSpaceAcrossCommand(Object)
Represents a method to used equally spaces the selected nodes horizontally.
Declaration
void OnSpaceAcrossCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnSpaceDownCommand(Object)
Represents a method to used equally spaces the selected nodes vertically.
Declaration
void OnSpaceDownCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnUndoCommand(Object)
The Undo command reverses the last editing action performed.
Declaration
void OnUndoCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnUnGroupCommand(Object)
Represents a method to used ungroups the selected elements.
Declaration
void OnUnGroupCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
OnZoomCommand(Object)
Zoom commands are used to zoom-in and zoom-out the Diagram view.
Declaration
void OnZoomCommand(object param)
Parameters
Type |
Name |
Description |
System.Object |
param |
|
Extension Methods