Class FieldListAdorner
FieldListAdorner class to create an adorner layer when any operation is performed in PivotGrid Field List window.
Inheritance
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class FieldListAdorner : Adorner
Constructors
FieldListAdorner(UIElement, Double, Double, String, PivotGridFieldList, PivotItem)
Constructor that holds the information needed to create adorner layer while performing any operations in PivotGrid Field List window.
Declaration
public FieldListAdorner(UIElement adornedElement, double x, double y, string ItemText, PivotGridFieldList fieldList, PivotItem Item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.UIElement | adornedElement | The adorner 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. |
| PivotGridFieldList | fieldList | The PivotGrid Field List. |
| PivotItem | Item | The PivotItem. |
Properties
FieldList
Gets or sets the Field List.
Declaration
public PivotGridFieldList FieldList { get; set; }
Property Value
| Type |
|---|
| PivotGridFieldList |
ItemText
Gets or sets the items text.
Declaration
public string ItemText { get; set; }
Property Value
| Type |
|---|
| System.String |
PivotItemPanel
Gets or sets the PivotItem panel.
Declaration
public PivotGroupingItemsControl PivotItemPanel { get; set; }
Property Value
| Type |
|---|
| PivotGroupingItemsControl |
StackPanel
Gets or sets the stack panel instance.
Declaration
public StackPanel StackPanel { get; set; }
Property Value
| Type |
|---|
| System.Windows.Controls.StackPanel |
VisualChildren
Gets or sets the visual children.
Declaration
public VisualCollection VisualChildren { get; set; }
Property Value
| Type |
|---|
| 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 | The number of visual child elements for this element. |
X
Gets or sets the value X to create a Rect instance.
Declaration
public double X { get; set; }
Property Value
| Type |
|---|
| System.Double |
Y
Gets or sets the value Y to create a Rect instance.
Declaration
public double Y { get; set; }
Property Value
| Type |
|---|
| 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. |