[]
        
(Showing Draft Content)

C1.WPF.Pivot.FlexPivotPage

FlexPivotPage Class

Provides a complete user interface for FlexPivot applications.

Inheritance
FlexPivotPage
Namespace: C1.WPF.Pivot
Assembly: C1.WPF.Pivot.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Grid))]
[TemplatePart(Name = "FlexPivotPanel", Type = typeof(FlexPivotPanel))]
[TemplatePart(Name = "FlexPivotGrid", Type = typeof(FlexPivotGrid))]
[TemplatePart(Name = "FlexPivotChart", Type = typeof(FlexPivotChart))]
[TemplatePart(Name = "RawDataGrid", Type = typeof(FlexGrid))]
[TemplatePart(Name = "MainMenu", Type = typeof(C1ToolStrip))]
[TemplatePart(Name = "MenuPalette", Type = typeof(C1MenuTool))]
[TemplatePart(Name = "MenuChartType", Type = typeof(C1MenuTool))]
[TemplatePart(Name = "MenuOpen", Type = typeof(C1ButtonTool))]
[TemplatePart(Name = "MenuSave", Type = typeof(C1ButtonTool))]
[TemplatePart(Name = "MenuUndo", Type = typeof(C1ButtonTool))]
[TemplatePart(Name = "MenuRedo", Type = typeof(C1ButtonTool))]
[TemplatePart(Name = "MenuPrint", Type = typeof(C1ButtonTool))]
[TemplatePart(Name = "MenuPrintOptions", Type = typeof(C1ButtonTool))]
[TemplatePart(Name = "MenuTRGrand", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTRSub", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTRNone", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTCGrand", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTCSub", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTCNone", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuZeros", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTitle", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuGridlines", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuStacked", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "MenuTotalsOnly", Type = typeof(C1ToggleButtonTool))]
[TemplatePart(Name = "Tab", Type = typeof(C1TabControl))]
[TemplatePart(Name = "TabGrid", Type = typeof(C1TabItem))]
[TemplatePart(Name = "TabChart", Type = typeof(C1TabItem))]
[TemplatePart(Name = "TabRawData", Type = typeof(C1TabItem))]
[TemplatePart(Name = "MenuExport", Type = typeof(C1ButtonTool))]
public class FlexPivotPage : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable

Constructors

Name Description
FlexPivotPage()

Initializes a new instance of the FlexPivotPage class.

Fields

Name Description
ChartTotalsProperty

Identifies the ChartTotals dependency property.

ChartTypeProperty

Identifies the ChartType dependency property.

CollapsibleSubtotalsProperty

Identifies the CollapsibleSubtotals dependency property.

DataSourceProperty

Identifies the DataSource dependency property.

MaxPointsProperty

Identifies the MaxPoints dependency property.

MaxSeriesProperty

Identifies the MaxSeries dependency property.

PaletteProperty

Identifies the Palette dependency property.

ScrollPointsProperty

Identifies the ScrollPoints dependency property.

ShortcutsEnabledProperty

Identifies the ShortcutsEnabled dependency property.

ShowDetailOnRightClickProperty

Identifies the ShowDetailOnRightClick dependency property.

ShowGridLinesProperty

Identifies the ShowGridLines dependency property.

ShowLegendProperty

Identifies the ShowLegend dependency property.

ShowRawDataProperty

Identifies the ShowRawData dependency property.

ShowTitleProperty

Identifies the ShowTitle dependency property.

ShowTotalsColumnsProperty

Identifies the ShowTotalsColumns dependency property.

ShowTotalsRowsProperty

Identifies the ShowTotalsRows dependency property.

ShowUndoRedoProperty

Identifies the ShowUndoRedo dependency property.

ShowZerosProperty

Identifies the ShowZeros dependency property.

StackedProperty

Identifies the Stacked dependency property.

SubtotalBackgroundProperty

Identifies the SubtotalBackground dependency property.

ThemeResourcesProperty

Identifies the ThemeResources dependency property.

Properties

Name Description
C1PivotEngine

Gets a reference to the C1PivotEngine that performs the FlexPivot analysis for this FlexPivotPage.

ChartTotals

Gets or sets whether the chart should include only totals.

ChartType

Gets or sets the type of chart to create.

CollapsibleSubtotals

Gets or sets a value that determines whether the grid should allow users to collapse and expand subtotal groups.

DataSource

Gets or sets the object that contains the data to be analyzed.

FlexPivotChart

Gets the FlexPivotChart used to display the FlexPivot results.

FlexPivotEngine

Gets a reference to the C1FlexPivotEngine that performs the FlexPivot analysis for this FlexPivotPage.

FlexPivotGrid

Gets the FlexPivotGrid used to display the FlexPivot results.

FlexPivotPanel

Gets the FlexPivotPanel docked to the left of the page.

IsDisposed

Gets whether this instance is disposed.

MainMenu

Gets a reference to the C1.WPF.Ribbon.C1ToolStrip that contains the main menu on the page.

MaxPoints

Gets or sets the maximum number of points that will be shown in each series.

MaxSeries

Gets or sets the maximum number of data series that will be shown in the chart.

Palette

Gets or sets the color scheme used for the data series.

RawDataGrid

Gets the C1.WPF.Grid.FlexGrid used to display raw data.

RawGridLimit

Gets or sets maximum raw data rows to show when connected to C1 DataEngine.

ScrollPoints

Gets or sets whether the chart should display an axis scroll bar when the number of data points is greater than MaxPoints.

ShortcutsEnabled

Gets or sets a value that determines whether the page should automatically handle shortcut keys (e.g. Ctrl+S to save a view, Ctrl+O to open a view, Ctrl+Y to undo, Ctrl+Z to redo).

ShowDetailOnRightClick

Gets or sets a value that determines whether right-clicking the FlexPivot grid should cause the control to display the raw records represented by the cell clicked.

ShowGridLines

Gets or sets whether the chart should include gridlines along the X axis.

ShowLegend

Gets or sets whether the chart should include a legend.

ShowRawData

Gets or sets a value that determines whether the page should include a tab showing the raw data.

ShowTitle

Gets or sets whether the chart should include a title.

ShowTotalsColumns

Gets or sets a value that determines whether the FlexPivot output table should include a column with the totals for each row.

ShowTotalsRows

Gets or sets a value that determines whether the FlexPivot output table should include a row with the totals for each column.

ShowUndoRedo

Gets or sets a value that determines whether the toolbar should include undo/redo buttons.

ShowZeros

Gets or sets a value that determines whether the FlexPivot output table should use zeros to indicate missing values.

Stacked

Gets or sets a value that determines whether the series should be stacked or placed side-by-side.

SubtotalBackground

Gets or sets the brush used to paint the background of cells that contain totals.

ThemeResources

Gets or sets the ResourceDictionary defining theme resources to use in dialogs.

ViewDefinition

Gets or sets the FlexPivot view definition as an Xml string.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the FlexPivotPage class.

OnApplyTemplate()
OnDataSourceChanged(EventArgs)

Raises the DataSourceChanged event.

OnLoadedFields(EventArgs)

Raises the LoadedFields event.

OnUpdated(EventArgs)

Raises the Updated event.

OnUpdating(EventArgs)

Raises the Updating event.

OnViewDefinitionChanged(EventArgs)

Raises the ViewDefinitionChanged event.

ReadXml(string)

Reads the control settings from a file.

ReadXml(XmlReader)

Reads the control settings from an System.Xml.XmlReader.

ShowReportOptions()

Opens the report dialog which allows the user to customize the options for printing in FlexPivot.

WriteXml(string)

Saves the control settings into an Xml file.

WriteXml(XmlWriter)

Saves the control settings into an System.Xml.XmlWriter.

Events

Name Description
DataSourceChanged

Occurs when the data source changes.

LoadedFields

Fires after the FlexPivotPanel finishes loading the fields for the current DataSource.

Updated

Fires after the FlexPivotPanel finishes the FlexPivot analysis.

Updating

Fires before the FlexPivotPanel starts updating the output FlexPivot table.

ViewDefinitionChanged

Occurs when the view definition changes, before the output table is updated.