Class QuickCommand
QuickCommand has been added for Nodes and connectors and allows to add required commands with customized shapes for the selected item
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class QuickCommand : DiagramThumb, IView, IDiagramElement, IID, INotifyPropertyChanged
Constructors
QuickCommand()
Constructs a new instance of the QuickCommand class.
Declaration
public QuickCommand()
Fields
IDProperty
Using a DependencyProperty as the backing store for ID property. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty IDProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
KeyProperty
Using a DependencyProperty as the backing store for Key. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty KeyProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
BoundingRectangle
Gets or sets the bounding rectangle of the QuickCommand.
Declaration
public Rect BoundingRectangle { get; }
Property Value
Type |
---|
Windows.Foundation.Rect |
ID
Gets or sets the ID of Qucikcommand
Declaration
public object ID { get; set; }
Property Value
Type |
---|
System.Object |
Key
Gets or sets the Key of Qucikcommand
Declaration
public object Key { get; set; }
Property Value
Type |
---|
System.Object |
Methods
ArrangeOverride(Size)
Method to arrange QuickCommand class elements to given size.
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | arrangeBounds | Size to arrange elements. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Return size. |
MeasureOverride(Size)
Method to measure size of QuickCommand class elements.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | Size to be measure. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Return measured size. |
OnApplyTemplate()
Override Template from its base class
Declaration
protected override void OnApplyTemplate()
Overrides
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 virtual void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |