alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DiagramThumb

    Represents a class that holds information and functionalities of thumbs used in SfDiagram control.

    Inheritance
    System.Object
    DiagramThumb
    QuickCommand
    Namespace: Syncfusion.UI.Xaml.Diagram.Controls
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class DiagramThumb : Control

    Constructors

    DiagramThumb()

    Initializes a new instance of the DiagramThumb class.

    Declaration
    public DiagramThumb()

    Fields

    CommandProperty

    Provides information about the Command property.

    Declaration
    public static DependencyProperty CommandProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ControlPointTypeProperty

    Provides information about the ControlPointType property.

    Declaration
    public static readonly DependencyProperty ControlPointTypeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    DragCommandProperty

    Provides information about the DragCommand property.

    Declaration
    public static DependencyProperty DragCommandProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    OffsetXProperty

    Provides information about the OffsetX property.

    Declaration
    public static DependencyProperty OffsetXProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    OffsetYProperty

    Provides information about the OffsetY property.

    Declaration
    public static DependencyProperty OffsetYProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShapeProperty

    Provides information about the Shape property.

    Declaration
    public static DependencyProperty ShapeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShapeStyleProperty

    Provides information about the ShapeStyle property.

    Declaration
    public static DependencyProperty ShapeStyleProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    Command

    Gets or sets the command value of the thumbs.

    Declaration
    public ICommand Command { get; set; }
    Property Value
    Type
    System.Windows.Input.ICommand

    ControlPointType

    Gets or sets the control point type value to the thumb.

    Declaration
    public ControlPointType ControlPointType { get; set; }
    Property Value
    Type
    ControlPointType

    DragCommand

    Gets or sets the drag command value of the thumb.

    Declaration
    public ICommand DragCommand { get; set; }
    Property Value
    Type
    System.Windows.Input.ICommand

    OffsetX

    Gets or sets the offset-X value to the thumb.

    Declaration
    public double OffsetX { get; set; }
    Property Value
    Type
    System.Double

    OffsetY

    Gets or sets the offset-Y value to the thumb.

    Declaration
    public double OffsetY { get; set; }
    Property Value
    Type
    System.Double

    Shape

    Gets or sets the shape value to the thumb.

    Declaration
    public object Shape { get; set; }
    Property Value
    Type
    System.Object

    ShapeStyle

    Gets or sets the shape style value to the thumb.

    Declaration
    public Style ShapeStyle { get; set; }
    Property Value
    Type
    System.Windows.Style

    Methods

    add_DragComplete(DiagramThumbDragEventHandler)

    Declaration
    public void add_DragComplete(DiagramThumbDragEventHandler value)
    Parameters
    Type Name Description
    DiagramThumbDragEventHandler value

    add_DragDelta(DiagramThumbDragEventHandler)

    Declaration
    public void add_DragDelta(DiagramThumbDragEventHandler value)
    Parameters
    Type Name Description
    DiagramThumbDragEventHandler value

    add_ThumbDragStarting(DiagramThumbDragStartingEventHandler)

    Declaration
    public void add_ThumbDragStarting(DiagramThumbDragStartingEventHandler value)
    Parameters
    Type Name Description
    DiagramThumbDragStartingEventHandler value

    OnApplyTemplate()

    Overridden to apply the templates to the thumbs.

    Declaration
    public override void OnApplyTemplate()

    OnCreateAutomationPeer()

    Overridden to create the new instance of the DiagramThumbAutomationPeer class.

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    Returns the instance of the DiagramThumbAutomationPeer class.

    remove_DragComplete(DiagramThumbDragEventHandler)

    Declaration
    public void remove_DragComplete(DiagramThumbDragEventHandler value)
    Parameters
    Type Name Description
    DiagramThumbDragEventHandler value

    remove_DragDelta(DiagramThumbDragEventHandler)

    Declaration
    public void remove_DragDelta(DiagramThumbDragEventHandler value)
    Parameters
    Type Name Description
    DiagramThumbDragEventHandler value

    remove_ThumbDragStarting(DiagramThumbDragStartingEventHandler)

    Declaration
    public void remove_ThumbDragStarting(DiagramThumbDragStartingEventHandler value)
    Parameters
    Type Name Description
    DiagramThumbDragStartingEventHandler value

    Events

    DragComplete

    Represents an event which occurs when dragging process of thumb is completed.

    Declaration
    public event DiagramThumbDragEventHandler DragComplete
    Event Type
    Type
    DiagramThumbDragEventHandler

    DragDelta

    Represents an event which keep on occurs for entire dragging process of thumb.

    Declaration
    public event DiagramThumbDragEventHandler DragDelta
    Event Type
    Type
    DiagramThumbDragEventHandler

    ThumbDragStarting

    Represents an event which occurs when dragging process of thumb is beging started.

    Declaration
    public event DiagramThumbDragStartingEventHandler ThumbDragStarting
    Event Type
    Type
    DiagramThumbDragStartingEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved