menu

UWP

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

    Show / Hide Table of Contents

    Class QuickCommand

    QuickCommand has been added for Nodes and connectors and allows to add required commands with customized shapes for the selected item

    Inheritance
    System.Object
    DiagramThumb
    QuickCommand
    Implements
    IDiagramElement
    IID
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    DiagramThumb.add_DragComplete(DiagramThumbDragEventHandler)
    DiagramThumb.add_DragDelta(DiagramThumbDragEventHandler)
    DiagramThumb.add_ThumbDragStarting(DiagramThumbDragStartingEventHandler)
    DiagramThumb.Command
    DiagramThumb.CommandProperty
    DiagramThumb.ControlPointType
    DiagramThumb.ControlPointTypeProperty
    DiagramThumb.DragCommand
    DiagramThumb.DragCommandProperty
    DiagramThumb.DragComplete
    DiagramThumb.DragDelta
    DiagramThumb.OffsetX
    DiagramThumb.OffsetXProperty
    DiagramThumb.OffsetY
    DiagramThumb.OffsetYProperty
    DiagramThumb.remove_DragComplete(DiagramThumbDragEventHandler)
    DiagramThumb.remove_DragDelta(DiagramThumbDragEventHandler)
    DiagramThumb.remove_ThumbDragStarting(DiagramThumbDragStartingEventHandler)
    DiagramThumb.Shape
    DiagramThumb.ShapeProperty
    DiagramThumb.ShapeStyle
    DiagramThumb.ShapeStyleProperty
    DiagramThumb.ThumbDragStarting
    DiagramThumb.ThumbType
    DiagramThumb.ThumbTypeProperty
    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
    DiagramThumb.OnApplyTemplate()

    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

    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