WPF

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

    Show / Hide Table of Contents

    Class ValueChooserAdorner

    This class be used to add functional handles to PivotValueChooser elements and also provide state information about PivotValueChooser. That is, a overlapped layer and it can use it as an indicator to notify the user about PivotValueChooser's state.

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

    Constructors

    ValueChooserAdorner(UIElement, Double, Double, Object)

    This method is used to add PivotValueChooser elements and also provides state information about PivotValueChooser.

    Declaration
    public ValueChooserAdorner(UIElement adornedElement, double x, double y, object draggedItem)
    Parameters
    Type Name Description
    System.Windows.UIElement adornedElement

    It is an indicator to notify the user about PivotValueChooser's state.

    System.Double x

    Value X to create a Rect instance.

    System.Double y

    Value Y to create a Rect instance.

    System.Object draggedItem

    The item which is dragged.

    Properties

    DraggedItem

    Gets or sets the item which is dragged.

    Declaration
    public PivotValueField DraggedItem { get; set; }
    Property Value
    Type Description
    PivotValueField

    ItemText

    Gets or sets the text of the Item.

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

    StackPanel

    Gets or sets the StackPanel instance.

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

    ValueChooser

    Gets or sets the PivotValueChooser.

    Declaration
    public PivotValueChooser ValueChooser { get; set; }
    Property Value
    Type Description
    PivotValueChooser

    VisualChildren

    Gets or sets the visual children of PivotValueChooser window.

    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