Class DiagramThumb
Represents a class that holds information and functionalities of thumbs used in SfDiagram control.
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
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. |
Events
DragComplete
Represents an event which occurs when dragging process of thumb is completed.
Declaration
public event DiagramThumbDragEventHandler DragComplete
Event Type
DragDelta
Represents an event which keep on occurs for entire dragging process of thumb.
Declaration
public event DiagramThumbDragEventHandler DragDelta
Event Type
ThumbDragStarting
Represents an event which occurs when dragging process of thumb is beging started.
Declaration
public event DiagramThumbDragStartingEventHandler ThumbDragStarting