WPF

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

    Show / Hide Table of Contents

    Class DragIndicatorAdorner

    DragIndicatorAdorner class to create an Adorner Layer while performing drag 'n' drop operation.

    Inheritance
    System.Object
    DragIndicatorAdorner
    Namespace: Syncfusion.Windows.Controls.PivotGrid
    Assembly: Syncfusion.PivotAnalysis.WPF.dll
    Syntax
    public class DragIndicatorAdorner : Adorner

    Constructors

    DragIndicatorAdorner(UIElement, Double, Double, String, Object)

    Constructor that holds the information needed to create adorner layer while drag and drop.

    Declaration
    public DragIndicatorAdorner(UIElement adornedElement, double x, double y, string ItemText, object Item)
    Parameters
    Type Name Description
    System.Windows.UIElement adornedElement

    The UI Element.

    System.Double x

    Value to create a Rect instance.

    System.Double y

    Value to create a Rect instance.

    System.String ItemText

    The items text.

    System.Object Item

    The PivotItem.

    Properties

    ItemText

    Gets or sets the text of PivotItems.

    Declaration
    public string ItemText { get; set; }
    Property Value
    Type Description
    System.String

    PivotGrid

    Gets or sets the instance of PivotGrid control.

    Declaration
    public PivotGridControl PivotGrid { get; set; }
    Property Value
    Type Description
    PivotGridControl

    StackPanel

    Gets or sets the instance of stack panel.

    Declaration
    public StackPanel StackPanel { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.StackPanel

    VisualChildren

    Gets or sets the visual children.

    Declaration
    public VisualCollection VisualChildren { get; set; }
    Property Value
    Type Description
    System.Windows.Media.VisualCollection

    VisualChildrenCount

    Gets the number of visual child elements within this element.

    Declaration
    protected override int VisualChildrenCount { get; }
    Property Value
    Type Description
    System.Int32

    X

    Gets or sets the value X to create a Rect instance.

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

    Y

    Gets or sets the value Y to create a Rect instance.

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

    Methods

    ArrangeOverride(Size)

    When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize

    The final area within the parent that this element should use to arrange itself and its children.

    Returns
    Type Description
    System.Windows.Size

    The actual size used.

    GetVisualChild(Int32)

    Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

    Declaration
    protected override Visual GetVisualChild(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the requested child element in the collection.

    Returns
    Type Description
    System.Windows.Media.Visual

    The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.

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