ClassRadPivotGrid
Represents a control that displays data in a customizable pivot.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Pivot.dll
Syntax:
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Justification = "Pivot Selection should be in RadPivotGrid.")]
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable", Justification = "Design Choice.")]
[TelerikToolboxCategory("Data")]
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable", Justification = "Design Choice.")]
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling", Justification = "Currently not feasible")]
public class RadPivotGrid : TableBase
Inheritance: objectTableBaseRadPivotGrid
Inherited Members
Constructors
RadPivotGrid()
Initializes a new instance of the RadPivotGrid class.
Declaration
public RadPivotGrid()
Fields
CanUserResizeColumnsProperty
The DependencyProperty that represents the CanUserResizeColumns property.
Declaration
public static readonly DependencyProperty CanUserResizeColumnsProperty
Field Value
DependencyProperty
ColumnGroupsExpandBehaviorProperty
Identifies the ColumnGroupsExpandBehavior dependency property.
Declaration
public static readonly DependencyProperty ColumnGroupsExpandBehaviorProperty
Field Value
DependencyProperty
DataProviderProperty
Identifies the DataProvider dependency property.
Declaration
public static readonly DependencyProperty DataProviderProperty
Field Value
DependencyProperty
EmptyValueTextProperty
Identifies the EmptyValueText dependency property.
Declaration
public static readonly DependencyProperty EmptyValueTextProperty
Field Value
DependencyProperty
ErrorValueTextProperty
Identifies the ErrorValueText dependency property.
Declaration
public static readonly DependencyProperty ErrorValueTextProperty
Field Value
DependencyProperty
IsBusyProperty
Identifies the IsBusy read-only dependency property.
Declaration
public static readonly DependencyProperty IsBusyProperty
Field Value
DependencyProperty
MaximumResizeWidthProperty
The DependencyProperty that represents the MaximumResizeWidth property.
Declaration
public static readonly DependencyProperty MaximumResizeWidthProperty
Field Value
DependencyProperty
MinimumResizeWidthProperty
The DependencyProperty that represents the MinimumResizeWidth property.
Declaration
public static readonly DependencyProperty MinimumResizeWidthProperty
Field Value
DependencyProperty
RowGroupsExpandBehaviorProperty
Identifies the RowGroupsExpandBehavior dependency property.
Declaration
public static readonly DependencyProperty RowGroupsExpandBehaviorProperty
Field Value
DependencyProperty
ShowAggregateValuesInlineProperty
Identifies the ShowAggregateValuesInline dependency property.
Declaration
public static readonly DependencyProperty ShowAggregateValuesInlineProperty
Field Value
DependencyProperty
Properties
CanUserResizeColumns
Gets or sets a value that indicates whether the user can adjust column widths using the mouse.
ColumnGroups
Gets a read-only list of the root column IGroups.
Declaration
public IReadOnlyList<IGroup> ColumnGroups { get; }
Property Value
ColumnGroupsExpandBehavior
Gets or sets the behavior that will set the expand or collapse state for column IGroups.
Declaration
public IItemExpandBehavior<ExpandBehaviorParameters> ColumnGroupsExpandBehavior { get; set; }
Property Value
ColumnLevels
Gets the depth of the columns.
DataProvider
Gets or sets the data provider.
Declaration
public IDataProvider DataProvider { get; set; }
Property Value
EmptyValueText
Gets or sets the string to be displayed in cells with no value.
ErrorValueText
Gets or sets the string ro be displayed in cells with an error.
IsBusy
Gets a value indicating whether this instance is processing or loading data.
MaximumResizeWidth
Gets or sets the maximum resize width of columns in the control. The default is PositiveInfinity.
MinimumResizeWidth
Gets or sets the minimum resize width of columns in the control. The default is 20.
RowGroups
Gets a read-only list of the root row IGroups.
Declaration
public IReadOnlyList<IGroup> RowGroups { get; }
Property Value
RowGroupsExpandBehavior
Gets or sets the behavior that will set the expand or collapse state for row IGroups.
Declaration
public IItemExpandBehavior<ExpandBehaviorParameters> RowGroupsExpandBehavior { get; set; }
Property Value
RowLevels
Gets the depth of the rows.
ShowAggregateValuesInline
Gets or sets value indicating if subtotals should be inlined for aggregate groups. This affects groups at the same axis as the AggregatesPosition with level greater than or equal AggregatesLevel and AggregateDescriptions.Count is greater than one and axis Layout is not Tabular.
Declaration
public bool ShowAggregateValuesInline { get; set; }
Property Value
Methods
CollapseColumn(IGroup)
Collapse an IGroup in the column area.
Declaration
public void CollapseColumn(IGroup group)
Parameters
group
The group that will be collapsed.
CollapseRow(IGroup)
Collapse an IGroup in the row area.
Declaration
public void CollapseRow(IGroup group)
Parameters
group
The group that will be collapsed.
ExpandColumn(IGroup)
Expand an IGroup in the column area.
Declaration
public void ExpandColumn(IGroup group)
Parameters
group
The group that will be expanded.
ExpandRow(IGroup)
Expand an IGroup in the row area.
Declaration
public void ExpandRow(IGroup group)
Parameters
group
The group that will be expanded.
GenerateExport()
Generate export model that describe each cell in RadPivotGrid.
Declaration
public PivotExportModel GenerateExport()
Returns
The export model that describe each cell in RadPivotGrid.
GenerateExport(bool)
Generate export model that describe each cell in RadPivotGrid.
Declaration
public PivotExportModel GenerateExport(bool ignoreCollapsedGroups)
Parameters
ignoreCollapsedGroups
Indicates whether to ignore collapsed groups when generating the export.
Returns
The export model that describe each cell in RadPivotGrid.
IsColumnCollapsed(IGroup)
Gets a value that indicates if an IGroup in the column area is collapsed.
IsRowCollapsed(IGroup)
Gets a value that indicates if an IGroup in the row area is collapsed.
OnAllowSelectionChanged(bool, bool)
Called when the AllowSelection of the control has changed.
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.