WPF

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

    Show / Hide Table of Contents

    Class DragMarkerAdorner

    Presents class for showing drag marker.

    Inheritance
    System.Object
    TemplatedAdornerBase
    DragMarkerAdorner
    Implements
    System.IDisposable
    Inherited Members
    TemplatedAdornerBase.OffsetXProperty
    TemplatedAdornerBase.OffsetYProperty
    TemplatedAdornerBase.Dispose()
    TemplatedAdornerBase.GetDesiredTransform(GeneralTransform)
    TemplatedAdornerBase.MeasureOverride(Size)
    TemplatedAdornerBase.ArrangeOverride(Size)
    TemplatedAdornerBase.GetVisualChild(Int32)
    TemplatedAdornerBase.InnerControl
    TemplatedAdornerBase.OffsetX
    TemplatedAdornerBase.OffsetY
    TemplatedAdornerBase.LogicalChildren
    TemplatedAdornerBase.VisualChildrenCount
    TemplatedAdornerBase.OffsetXChanged
    TemplatedAdornerBase.OffsetYChanged
    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 Description
    System.Windows.DependencyProperty

    AdornerAlignmentPropertyKey

    Identifies the AdornerAlignmentProperty Key value

    Declaration
    protected static readonly DependencyPropertyKey AdornerAlignmentPropertyKey
    Field Value
    Type Description
    System.Windows.DependencyPropertyKey

    MarkerColorProperty

    Identifies the MarkerColor Dependency property

    Declaration
    public static readonly DependencyProperty MarkerColorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MarkerColorPropertyKey

    Identifies the MarkerColorProperty Key

    Declaration
    protected static readonly DependencyPropertyKey MarkerColorPropertyKey
    Field Value
    Type Description
    System.Windows.DependencyPropertyKey

    RotateTextWhenVerticalProperty

    Identifies the RotateTextWhenVertical Dependency property

    Declaration
    public static readonly DependencyProperty RotateTextWhenVerticalProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TabStripPlacementProperty

    Identifies the TabStripPlacement Dependency property

    Declaration
    public static readonly DependencyProperty TabStripPlacementProperty
    Field Value
    Type Description
    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

    true if [rotate text when vertical]; otherwise, false.

    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 Description
    System.Windows.PropertyChangedCallback

    MarkerColorChanged

    Event that is raised when MarkerColor property is changed.

    Declaration
    public event PropertyChangedCallback MarkerColorChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved