Class DragMarkerAdorner
Presents class for showing drag marker.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class DragMarkerAdorner : TemplatedAdornerBase, IDisposable
Constructors
DragMarkerAdorner(UIElement)
Initializes a new instance of the DragMarkerAdorner class.
Declaration
public DragMarkerAdorner(UIElement adornedElement)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.UIElement | adornedElement | The element to be adorned |
Fields
AdornerAlignmentProperty
Identifies the AdornerAlignment Dependency Property
Declaration
public static readonly DependencyProperty AdornerAlignmentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AdornerAlignmentPropertyKey
Identifies the AdornerAlignmentProperty Key value
Declaration
protected static readonly DependencyPropertyKey AdornerAlignmentPropertyKey
Field Value
Type |
---|
System.Windows.DependencyPropertyKey |
MarkerColorProperty
Identifies the MarkerColor Dependency property
Declaration
public static readonly DependencyProperty MarkerColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MarkerColorPropertyKey
Identifies the MarkerColorProperty Key
Declaration
protected static readonly DependencyPropertyKey MarkerColorPropertyKey
Field Value
Type |
---|
System.Windows.DependencyPropertyKey |
RotateTextWhenVerticalProperty
Identifies the RotateTextWhenVertical Dependency property
Declaration
public static readonly DependencyProperty RotateTextWhenVerticalProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TabStripPlacementProperty
Identifies the TabStripPlacement Dependency property
Declaration
public static readonly DependencyProperty TabStripPlacementProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AdornerAlignment
Gets or sets the value of the AdornerAlignment dependency property.
Declaration
public AdornerAlignment AdornerAlignment { get; protected set; }
Property Value
Type | Description |
---|---|
AdornerAlignment | The adorner alignment. |
MarkerColor
Gets or sets the value of the MarkerColor dependency property.
Declaration
public Brush MarkerColor { get; protected set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The color of the marker. |
RotateTextWhenVertical
Gets or sets a value indicating whether rotate text when vertical is true.
Declaration
public bool RotateTextWhenVertical { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
TabStripPlacement
Gets or sets the tab strip placement.
Declaration
public Dock TabStripPlacement { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.Dock | The tab strip placement. |
Methods
OnAdornerAlignmentChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises AdornerAlignmentChanged event.
Declaration
protected virtual void OnAdornerAlignmentChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMarkerColorChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises MarkerColorChanged event.
Declaration
protected virtual void OnMarkerColorChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
SetStyle(Style)
Sets the style.
Declaration
protected void SetStyle(Style style)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Style | style | The style. |
Events
AdornerAlignmentChanged
Event that is raised when AdornerAlignment property is changed.
Declaration
public event PropertyChangedCallback AdornerAlignmentChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MarkerColorChanged
Event that is raised when MarkerColor property is changed.
Declaration
public event PropertyChangedCallback MarkerColorChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |