Class DiagramThumb
Represents a class that holds information and functionalities of thumbs used in SfDiagram control.
Inheritance
System.Object
DiagramThumb
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DiagramThumb : Control
Constructors
DiagramThumb()
Declaration
Fields
CommandProperty
Provides information about the Command property.
Declaration
public static DependencyProperty CommandProperty
Field Value
Type |
System.Windows.DependencyProperty |
ControlPointTypeProperty
Declaration
public static readonly DependencyProperty ControlPointTypeProperty
Field Value
Type |
System.Windows.DependencyProperty |
DragCommandProperty
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
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
OffsetY
Gets or sets the offset-Y value to the thumb.
Declaration
public double OffsetY { get; set; }
Property Value
Shape
Gets or sets the shape value to the thumb.
Declaration
public object Shape { get; set; }
Property Value
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
add_DragDelta(DiagramThumbDragEventHandler)
Declaration
public void add_DragDelta(DiagramThumbDragEventHandler value)
Parameters
add_ThumbDragStarting(DiagramThumbDragStartingEventHandler)
Declaration
public void add_ThumbDragStarting(DiagramThumbDragStartingEventHandler value)
Parameters
OnApplyTemplate()
Overridden to apply the templates to the thumbs.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
remove_DragComplete(DiagramThumbDragEventHandler)
Declaration
public void remove_DragComplete(DiagramThumbDragEventHandler value)
Parameters
remove_DragDelta(DiagramThumbDragEventHandler)
Declaration
public void remove_DragDelta(DiagramThumbDragEventHandler value)
Parameters
remove_ThumbDragStarting(DiagramThumbDragStartingEventHandler)
Declaration
public void remove_ThumbDragStarting(DiagramThumbDragStartingEventHandler value)
Parameters
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
Event Type