Class PivotGridFieldList
This class provides support to add, re-arrange or remove fields from PivotGrid at run-time.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class PivotGridFieldList : Window, IComponentConnector
Constructors
PivotGridFieldList(PivotGridControl, ListBox)
Initializes a new instance of the PivotGridFieldList class.
Declaration
public PivotGridFieldList(PivotGridControl GridControl, ListBox DragSource)
Parameters
Type | Name | Description |
---|---|---|
PivotGridControl | GridControl | The PivotGrid control. |
System.Windows.Controls.ListBox | DragSource | The PivotGrid field list. |
Fields
GenericDragOver
Identifies the Syncfusion.Windows.Controls.PivotGrid.PivotGridFieldList.GenericDragOverEvent routed event.
Declaration
public static readonly RoutedEvent GenericDragOver
Field Value
Type | Description |
---|---|
System.Windows.RoutedEvent | The identifier for the Syncfusion.Windows.Controls.PivotGrid.PivotGridFieldList.GenericDragOverEvent routed event. |
GenericDrop
Identifies the Syncfusion.Windows.Controls.PivotGrid.PivotGridFieldList.GenericDropEvent routed event.
Declaration
public static readonly RoutedEvent GenericDrop
Field Value
Type | Description |
---|---|
System.Windows.RoutedEvent | The identifier for the Syncfusion.Windows.Controls.PivotGrid.PivotGridFieldList.GenericDropEvent routed event. |
Properties
PivotFields
Gets or sets the PivotItem collection of PivotFields.
Declaration
public ObservableCollection<PivotItem> PivotFields { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<PivotItem> |
Methods
ArrangeOverride(Size)
An overridden method to arrange and size the content of a PivotGridFieldList object.
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | arrangeBounds | The computed size that is used to arrange the content. |
Returns
Type | Description |
---|---|
System.Windows.Size | Size of the control. |
GetPivotItem(IDataObject)
Gets the type of PivotItem from different collection.
Declaration
public object GetPivotItem(IDataObject iDataObject)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.IDataObject | iDataObject |
Returns
Type |
---|
System.Object |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()