Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions wpf/Pivot-Grid/Binding-PivotSchemaDesigner-to-PivotGrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# Binding PivotSchemaDesigner in WPF Pivot Grid

The pivot schema designer can be bound to the pivot grid with the help of the `PivotControl` property. After creating a pivot grid, a new pivot schema designer is created using the `PivotSchemaDesigner` class and bound to the pivot grid control using the `PivotControl` property. This can be achieved either in XAML or code-behind.
The pivot schema designer can be bound to the Pivot Grid with the help of the `PivotControl` property. After creating the control, a new pivot schema designer is created using the `PivotSchemaDesigner` class and bound using the `PivotControl` property. This can be achieved either in XAML or code-behind.

For XAML, refer to the following code sample.

Expand Down Expand Up @@ -80,4 +80,4 @@ For code-behind, refer to the following code sample.

![PivotSchemaDesigner](PivotSchemaDesigner-Images/PivotSchemaDesigner.png)

N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can refer to our [feature tour](https://www.syncfusion.com/wpf-controls/pivot-grid) page for its groundbreaking feature representations. You can also explore our [example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
4 changes: 2 additions & 2 deletions wpf/Pivot-Grid/Column-Filtering.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Method

It is possible to do filtering operations for pivot calculation during runtime as well as during initial load.

To do so, define the pivot grid control in RowPivotsOnly mode. Add the respective pivot calculations and set the `AllowFilter` property to "true".
To do so, define the Pivot Grid in RowPivotsOnly mode. Add the respective pivot calculations and set the `AllowFilter` property to "true".

Create the dictionary using the `Dictionary` class and add the pivot items that are to be filtered. Invoke the `ApplySavedValueFilter()` method for applying the filters.

Expand Down Expand Up @@ -50,4 +50,4 @@ Refer to the following code sample.

![To filter the records using column filter popup](Features-in-RowPivotsOnly-images/Filtering Enable in RowPivotsOnly.png)

N> You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
6 changes: 3 additions & 3 deletions wpf/Pivot-Grid/Column-Sorting.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Method

* **ApplySavedValueSorts**: When RowPivotsOnly is true, this method sorts the pivot based on the information furnished through the arguments.

## Defining the property in pivot grid
## Defining the property in the Pivot Grid

After defining the pivot grid control with pivot rows and pivot calculations, set the `SortOption` property to "All" for sorting all the value columns. Then, set the `AllowSort` property to "true" for the appropriate calculation items.
After defining the control with pivot rows and pivot calculations, set the `SortOption` property to "All" for sorting all the value columns. Then, set the `AllowSort` property to "true" for the appropriate calculation items.

The `AllowSort` property can be mentioned in XAML or code-behind.

Expand Down Expand Up @@ -74,7 +74,7 @@ public partial class MainWindow: Window {

{% endhighlight %}

## Defining the method in pivot grid
## Defining the method in the Pivot Grid

After defining the pivot grid control with pivot rows and pivot calculations, set the `SortOption` property to "All" for sorting all the value columns. Then, set the `AllowSort` property to "true" for appropriate calculation items.

Expand Down
8 changes: 4 additions & 4 deletions wpf/Pivot-Grid/Conditional-Formatting-ColorScales.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation: ug

Conditional formatting is a process of applying customized styles to any object based on specified conditions. In this scenario, styles are applied in the form of gradient color scales through-out the control.

It can be defined by using the `PivotGridControl.ColorScaleConditionalFormats`, which is an observable collection of *PivotGridColorScaleConditionalFormat* type. Meanwhile, it can be done in the following ways.
It can be defined by using the `PivotGridControl.ColorScaleConditionalFormats`, which is an observable collection of *PivotGridColorScaleConditionalFormat* type. It can be done in the following ways.

* Apply format using predefined color scales
* Apply format using custom colors
Expand Down Expand Up @@ -110,7 +110,7 @@ public partial class MainWindow: Window {

## Apply format using custom colors

It can be applied by providing custom colors to the following properties - `StartColor`, `EndColor`, `MiddleColor` in the application. Also, we can apply conditional formatting based on two level of gradient color scales by defining `StartColor` and `EndColor` properties alone. These properties can be defined either in XAML or code-behind.
It can be applied by providing custom colors to the following properties - `StartColor`, `EndColor`, `MiddleColor` - in the application. Also, conditional formatting based on two levels of gradient color scales can be applied by defining the `StartColor` and `EndColor` properties alone. These properties can be defined either in XAML or code-behind.

For **XAML**, refer to the following code snippet.

Expand Down Expand Up @@ -202,7 +202,7 @@ public partial class MainWindow: Window {

## Apply formatting to specific level

`ApplyToSpecificLevel` property specifies whether to apply conditional formatting to data cells placed at the intersection of specific row and column fields. It can be achieved by defining `RowName` and `ColumnName` properties with appropriate pivot field name.
The `ApplyToSpecificLevel` property specifies whether to apply conditional formatting to data cells placed at the intersection of specific row and column fields. It can be achieved by defining the `RowName` and `ColumnName` properties with the appropriate pivot field name.

N> To apply conditional formatting to specific level, make sure that `ApplyToAllLevels` property is set to **false**.

Expand Down Expand Up @@ -294,4 +294,4 @@ public partial class MainWindow: Window {

![Apply conditional formatting to specific levels.](Conditional-format-images/ColorScale3.png)

N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
2 changes: 1 addition & 1 deletion wpf/Pivot-Grid/Conditional-Formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ public partial class MainWindow: Window {

![Apply conditional formatting using data conditions.](Conditional-format-images/PivotGrid shows conditionally formatted values.png)

N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
8 changes: 4 additions & 4 deletions wpf/Pivot-Grid/Context-Menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ documentation: ug

# Context Menu in WPF Pivot Grid

The [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) supports the context menu option in RowPivotsOnly mode. Following are the available options.
The [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) supports the context menu option in RowPivotsOnly mode. The following options are available.

* **Allow Filtering**: Enables or disables filtering in the selected pivot computation column.
* **Allow Sorting**: Enables or disables sorting in the selected pivot computation column.
* **HideValueColumn**: Hides the selected pivot computation column.
* **ClearValueFilters**: Clears the filtered changes in all pivot computation columns.
* **ClearValueSorts**: Clears the sorted values in all pivot computation columns.
* **ShowPivotValueChooser**: Launches the pivot value chooser window to add or remove the items in pivot grid.
* **ShowPivotValueChooser**: Launches the pivot value chooser window to add or remove items in the Pivot Grid.

The `EnableContextMenu` property is used to display the context menu by right-clicking each column.

To do so, after defining the pivot grid control in RowPivotsOnly mode, raise the loaded event of pivot grid. Inside the `PivotGrid_Loaded()` event, set the `EnableContextMenu` property.
To do so, after defining the control in RowPivotsOnly mode, raise its loaded event. Inside the `PivotGrid_Loaded()` event, set the `EnableContextMenu` property.

{% highlight C# %}

Expand All @@ -40,4 +40,4 @@ public partial class MainWindow: Window {

![Displaying the context menu](Features-in-RowPivotsOnly-images/PivotGrid shows Context menu.png)

N> You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
4 changes: 2 additions & 2 deletions wpf/Pivot-Grid/Custom-Calculations.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public partial class MainWindow: Window {

## Providing expression field calculation for summaries

To provide a calculated field support to summary cells in the pivot grid and make it behave accordingly when options such as sum, count, maximum, and minimum are provided in summaries, set the calculation type to "Formula" and specify the appropriate formula. Refer to the following code samples and screenshots.
To provide calculated field support for summary cells in the Pivot Grid and make it behave accordingly when options such as sum, count, maximum, and minimum are provided in summaries, set the calculation type to "Formula" and specify the appropriate formula. Refer to the following code samples and screenshots.

{% highlight xaml %}

Expand Down Expand Up @@ -170,4 +170,4 @@ public partial class MainWindow: Window {

![To display the pivot calculation values based on given formula](Calculation-Type-images/PivotGrid shows formula calculation type.png)

N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
10 changes: 5 additions & 5 deletions wpf/Pivot-Grid/Data-Binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ documentation: ug

# Data Binding in WPF Pivot Grid

## Binding pivot grid to list
## Binding the Pivot Grid to a list

The [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) allows binding a list based collection as its item source. Refer to this topic [Binding a data source to pivot grid control](https://help.syncfusion.com/wpf/pivot-grid/pivotgrid-getting-started#binding-a-datasource-to-pivotgridcontrol) to learn more.
The [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) allows binding a list based collection as its item source. Refer to this topic [Binding a data source to the control](https://help.syncfusion.com/wpf/pivot-grid/pivotgrid-getting-started#binding-a-datasource-to-pivotgridcontrol) to learn more.

## Binding pivot grid to data table
## Binding the Pivot Grid to a data table

The pivot grid allows binding a DataSet from the data table as its item source.

Expand All @@ -38,7 +38,7 @@ public static DataView GetOrderDetails() {

{% endhighlight %}

Then, bind the DataSet as ItemSource to the pivot grid by invoking the appropriate method. It can be done through XAML or code-behind.
Then, bind the DataSet as ItemSource to the Pivot Grid by invoking the appropriate method. It can be done through XAML or code-behind.

For XAML, refer to the following code sample.

Expand Down Expand Up @@ -94,4 +94,4 @@ public partial class MainWindow: Window {

{% endhighlight %}

N> You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to know how to organize and summarize business data and display the result in a cross-table format.
26 changes: 13 additions & 13 deletions wpf/Pivot-Grid/Defining-Grouping-Bar-properties-for-PivotGr.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ The following are the properties available in the grouping bar.
* **AllowRemove**: Gets or sets whether deleting the items is enabled in the grouping bar.
* **AllowMultiFunctionalSortFilter**: Gets or sets whether Microsoft Excel like filtering on the grouping bar is enabled.

**Using the properties in pivot grid:**
**Using the properties in Pivot Grid:**

**Background**

You can customize the background color of the grouping bar by defining the color in its `Background` property after the grouping bar is loaded.

Include the *System.Windows.Media* namespace in the MainWindow.xaml.cs file. After defining the pivot grid control, raise the loaded event of pivot grid. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set the value for `Background` property of the grouping bar.
Include the *System.Windows.Media* namespace in the MainWindow.xaml.cs file. After defining the Pivot Grid control, raise the loaded event of the control. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set the value for `Background` property of the grouping bar.

{% highlight C# %}

Expand Down Expand Up @@ -89,7 +89,7 @@ public partial class MainWindow: Window {

You can customize the background color of the grouping bar items by defining the color for `ItemsBackground` property after the grouping bar is loaded.

Include the *System.Windows.Media* namespace in the MainWindow.xaml.cs file. After defining the pivot grid control, raise the loaded event of the pivot grid. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set the value for the `ItemsBackground` property.
Include the *System.Windows.Media* namespace in the MainWindow.xaml.cs file. After defining the Pivot Grid control, raise the loaded event of the control. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set the value for the `ItemsBackground` property.

{% highlight C# %}

Expand Down Expand Up @@ -143,9 +143,9 @@ public partial class MainWindow: Window {

**AllowFiltering**

You can show or hide the filtering option in the pivot grid by setting the `AllowFiltering` property.
You can show or hide the filtering option in Pivot Grid by setting the `AllowFiltering` property.

To do so, define the pivot grid control and raise the loaded event of pivot grid. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set a value for the `AllowFiltering` property of the grouping bar.
To do so, define the control and raise its loaded event. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set a value for the `AllowFiltering` property of the grouping bar.

{% highlight C# %}

Expand Down Expand Up @@ -195,15 +195,15 @@ public partial class MainWindow: Window {

{% endhighlight %}

The following screenshot shows the pivot grid without the filtering icons.
The following screenshot shows the Pivot Grid without the filtering icons.

![Display the PivotGrid without filter icon](Grouping-Bar-Images/PivotGrid without filter icons in grouping bar.png)

**AllowSorting**

You can show or hide the sorting indicator in pivot grid by setting the `AllowSorting` property.
You can show or hide the sorting indicator in Pivot Grid by setting the `AllowSorting` property.

To do so, define the pivot grid control and raise the loaded event of pivot grid. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set the value for `AllowSorting` property of the grouping bar.
To do so, define the control and raise its loaded event. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set the value for `AllowSorting` property of the grouping bar.

{% highlight C# %}

Expand Down Expand Up @@ -253,15 +253,15 @@ public partial class MainWindow: Window {

{% endhighlight %}

The following screenshots shows the pivot grid without the sorting icons.
The following screenshots shows the Pivot Grid without the sorting icons.

![Display the PivotGrid without sorting icon](Grouping-Bar-Images/PivotGrid without sorting icons.png)

**AllowRemove**

You can show or hide the remove icon in pivot grid by setting the `AllowRemove` property.
You can show or hide the remove icon in Pivot Grid by setting the `AllowRemove` property.

To do so, define the pivot grid control and raise the loaded event of pivot grid. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set a value for the `AllowRemove` property of the grouping bar.
To do so, define the control and raise its loaded event. Inside the `PivotGrid_Loaded()` event, raise the loaded event for grouping bar. Inside the `GroupingBar_Loaded()` event, set a value for the `AllowRemove` property of the grouping bar.

{% highlight C# %}

Expand Down Expand Up @@ -311,8 +311,8 @@ public partial class MainWindow: Window {

{% endhighlight %}

The following screenshot shows the pivot grid with remove, filter, and sort icons.
The following screenshot shows the Pivot Grid with remove, filter, and sort icons.

![Display the PivotGrid with remove icon](Grouping-Bar-Images/PivotGrid shows grouping bar with remove icons.png)

N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to knows how to organizes and summarizes business data and displays the result in a cross-table format.
N> You can refer to our [WPF Pivot Grid](https://www.syncfusion.com/wpf-controls/pivot-grid) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Pivot Grid example](https://github.com/syncfusion/wpf-demos) to learn how the control organizes and summarizes business data and displays the result in a cross-table format.
Loading