Class ComputationListAdorner
Class to create an Adorner Layer while performing any operation in PivotComputationList window.
Inheritance
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class ComputationListAdorner : Adorner
Constructors
ComputationListAdorner(UIElement, Double, Double, String, PivotGridComputationList, PivotComputationInfo)
Constructor that holds the information needed create an adorner layer while performing any operations in PivotComputationList window.
Declaration
public ComputationListAdorner(UIElement adornedElement, double x, double y, string ItemText, PivotGridComputationList computationList, PivotComputationInfo Item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.UIElement | adornedElement | The PivotItem computation panel. |
| System.Double | x | X Position of the dragged item. |
| System.Double | y | Y Position of the dragged item. |
| System.String | ItemText | FieldHeader of the dragged item. |
| PivotGridComputationList | computationList | PivotGrid Computation List window with list of items in Computation Area. |
| PivotComputationInfo | Item | The dragged item. |
Properties
ComputationList
Gets or sets the computation list.
Declaration
public PivotGridComputationList ComputationList { get; set; }
Property Value
| Type |
|---|
| PivotGridComputationList |
ItemText
Gets or sets the text of Items.
Declaration
public string ItemText { get; set; }
Property Value
| Type |
|---|
| System.String |
PivotItemComputationPanel
Gets or sets the PivotItem's computation panel.
Declaration
public PivotGroupingItemsControl PivotItemComputationPanel { get; set; }
Property Value
| Type |
|---|
| PivotGroupingItemsControl |
StackPanel
Gets or sets the instance of stack panel.
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 |
|---|
| System.Int32 |
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. |