@@ -142,11 +144,11 @@ Description
|
{{ '[SelectedRanges](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_SelectedRanges)' | markdownify }} |
-Gets or sets the collection of selected ranges from grid. |
+Gets or sets the collection of selected ranges from the grid.
|
{{ '[SelectionBrush](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_SelectionBrush)' | markdownify }} |
-Gets or sets the selected area brush. |
+Gets or sets the brush used to fill the selected area.
|
{{ '[SelectionBorderBrush](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_SelectionBorderBrush)' | markdownify }} |
@@ -154,26 +156,26 @@ Gets or sets the selection border brush. |
|
{{ '[SelectionBorderThickness](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_SelectionBorderThickness)' | markdownify }} |
-Gets or sets the thickness of selection border. |
+Gets or sets the thickness of the selection border.
|
{{ '[SelectionController](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_SelectionController) ' | markdownify }} |
-Gets the Selection Controller which provides the selection of content when the user drags the pressed mouse to an edge of the control. |
+Gets the selection controller, which provides the selection of content when the user drags the pressed mouse to an edge of the control.
|
{{ '[AllowSelection](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_AllowSelection) ' | markdownify }} |
-Gets or Sets the value whether to allow the selection in the ActiveGrid or not. |
+Gets or sets a value indicating whether selection is allowed in the ActiveGrid.
|
{{ '[ShowTouchIndicator](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SelectionController.html#Syncfusion_UI_Xaml_CellGrid_SelectionController_ShowTouchIndicator) ' | markdownify }} |
-Determines whether the touch indicator will be shown or not. |
+Gets or sets a value indicating whether the touch indicator is shown.
|
{{ '[TouchHitTestPrecision](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SelectionController.html#Syncfusion_UI_Xaml_CellGrid_SelectionController_TouchHitTestPrecision) ' | markdownify }} |
-Gets or sets the distance of touch precision point from touch indicator. |
+Gets or sets the distance, of the touch precision point from the touch indicator.
-
-Below table lists the properties associated with [CurrentCell](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_CurrentCell) of SpreadsheetGrid,
+
+### [CurrentCell](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_CurrentCell) properties
@@ -238,108 +240,104 @@ Key Combination|
Description |
|
-HOME |
-Moves to the first cell of the current row . |
+Home
+Moves to the first cell of the current row. |
|
-END |
-Moves to the last cell of the current row . |
+End
+Moves to the last cell of the current row. |
|
-UPARROW
- |
-Moves to one cell up of the current cell in the worksheet. |
+Up Arrow
+Moves one cell up from the current cell. |
|
-DOWNARROW
- |
-Moves to one cell down of the current cell in the worksheet. |
+Down Arrow
+Moves one cell down from the current cell. |
|
-LEFTARROW
- |
-Moves to one cell left of the current cell in the worksheet. |
+Left Arrow
+Moves one cell left from the current cell. |
|
-RIGHTARROW
- |
-Moves to one cell right of the current cell in the worksheet. |
+Right Arrow
+Moves one cell right from the current cell. |
|
-PAGEUP |
+Page Up |
Moves to the first visible cell of the current column. |
|
-PAGEDOWN |
+Page Down |
Moves to the last visible cell of the current column. |
|
-CTRL+HOME |
-Moves to the beginning cell of a worksheet. |
+Ctrl+Home
+Moves to the first cell of the worksheet (A1). |
|
-CTRL+END |
-Moves to the last cell of a worksheet. |
+Ctrl+End
+Moves to the last used cell of the worksheet. |
|
-ALT+PAGE UP |
-Moves one screen to the left in a worksheet. |
+Alt+Page Up
+Moves one screen to the left in the worksheet. |
|
-ALT+PAGE DOWN |
-Moves one screen to the right in a worksheet. |
+Alt+Page Down
+Moves one screen to the right in the worksheet. |
|
-CTRL + ARROW KEYS |
-Moves to the first/last cell of the current cell based on Arrow directions . |
+Ctrl+Arrow Keys
+Moves to the first or last contiguous data cell in the arrow direction. |
|
-ENTER |
-Moves the active current cell to one cell down in the selection. |
+Enter
+Moves the active current cell one cell down within the selection. |
|
-SHIFT+ENTER |
-Moves the active current cell to one cell up in the selection. |
+Shift+Enter
+Moves the active current cell one cell up within the selection. |
|
-TAB |
-Moves the active current cell in one cell to the right of the selection. |
+Tab
+Moves the active current cell one cell to the right within the selection. |
|
-SHIFT+TAB |
-Moves the active current cell in one cell to the left of the selection. |
+Shift+Tab
+Moves the active current cell one cell to the left within the selection. |
|
-BACKSPACE |
-Begins the edit operation for the active cell in the selection. |
+Backspace
+Begins the edit operation for the active cell. |
|
-CTRL+A |
+Ctrl+A |
Selects the entire worksheet. |
|
-SHIFT+ARROW KEYS |
-Extends the selection by one cell based on the arrow direction. |
+Shift+Arrow Keys
+Extends the selection by one cell in the arrow direction. |
|
-CTRL+SHIFT+ARROW KEYS |
-Extend the selection to the last cell in a row or column. |
+Ctrl+Shift+Arrow Keys
+Extends the selection to the last contiguous data cell in a row or column. |
|
-SHIFT+HOME |
+Shift+Home |
Extends the selection to the first column from the active cell. |
|
-CTRL+SHIFT+HOME |
-Extends the selection from the active cell to the first cell. |
+Ctrl+Shift+Home
+Extends the selection from the active cell to the first cell of the worksheet (A1). |
|
-SHIFT+PAGE DOWN |
-Extends the selection down in a worksheet. |
+Shift+Page Down
+Extends the selection down one screen in the worksheet. |
|
-SHIFT+PAGE UP |
-Extends the selection up in a worksheet. |
+Shift+Page Up
+Extends the selection up one screen in the worksheet. |
diff --git a/Document-Processing/Excel/Spreadsheet/WPF/Shapes.md b/Document-Processing/Excel/Spreadsheet/WPF/Shapes.md
index b2b389646b..48cc4a9b74 100644
--- a/Document-Processing/Excel/Spreadsheet/WPF/Shapes.md
+++ b/Document-Processing/Excel/Spreadsheet/WPF/Shapes.md
@@ -8,33 +8,34 @@ documentation: ug
---
# Shapes in WPF Spreadsheet (SfSpreadsheet)
- This section explains how to import charts, sparklines, pictures and textboxes in SfSpreadsheet.
+
+This section explains how to import charts, sparklines, pictures, and text boxes in SfSpreadsheet.
## Charts
-SfSpreadsheet provides support to import charts from excel which are used to represent numeric data in graphical format to make it easier to understand large quantities of data.
+SfSpreadsheet provides support to import charts from Excel, which represent numeric data graphically to make it easier to understand large quantities of data.
-For importing charts in SfSpreadsheet, add the following assembly as reference into the application.
+For importing charts in SfSpreadsheet, add the following assembly as a reference in the application.
Assembly: **Syncfusion.SfSpreadsheetHelper.WPF.dll**
-Create an instance of Syncfusion.UI.Xaml.SpreadsheetHelper.[GraphicChartCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.SpreadsheetHelper.GraphicChartCellRenderer.html) and add that renderer into [GraphicCellRenderers](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicModel.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicModel_GraphicCellRenderers) collection by using the helper method [AddGraphicChartCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddGraphicChartCellRenderer_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_IGraphicCellRenderer_) which is available under the namespace `Syncfusion.UI.Xaml.Spreadsheet.GraphicCells`.
+Create an instance of Syncfusion.UI.Xaml.SpreadsheetHelper.[GraphicChartCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.SpreadsheetHelper.GraphicChartCellRenderer.html) and add that renderer to the [GraphicCellRenderers](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicModel.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicModel_GraphicCellRenderers) collection by using the helper method [AddGraphicChartCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddGraphicChartCellRenderer_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_IGraphicCellRenderer_), which is available under the namespace `Syncfusion.UI.Xaml.Spreadsheet.GraphicCells`.
{% tabs %}
{% highlight c# %}
public MainWindow()
{
- InitializeComponent();
-
- //For importing charts,
- this.spreadsheet.AddGraphicChartCellRenderer(new GraphicChartCellRenderer());
+ InitializeComponent();
+
+ // For importing charts
+ this.spreadsheet.AddGraphicChartCellRenderer(new GraphicChartCellRenderer());
}
{% endhighlight %}
{% endtabs %}
### Adding the Charts at Runtime
-For adding the Charts in SfSpreadsheet at runtime, use [AddChart](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddChart_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_XlsIO_IWorksheet_) method, also you can resize and reposition the chart.
+For adding charts in SfSpreadsheet at runtime, use the [AddChart](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddChart_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_XlsIO_IWorksheet_) method. You can also resize and reposition the chart.
{% tabs %}
{% highlight c# %}
@@ -43,16 +44,16 @@ object[] Y_values = new object[] { 200, 100, 100 };
object[] X_values = new object[] { "Total Income", "Expenses", "Profit" };
IChartSerie series = chart.Series.Add(ExcelChartType.Pie);
-// Enters the X and Y values directly
+// Enter the X and Y values directly
series.EnteredDirectlyValues = Y_values;
series.EnteredDirectlyCategoryLabels = X_values;
var shape = chart as ShapeImpl;
-// Re-Positioning Chart
+// Reposition the chart
shape.Top = 200;
shape.Left = 200;
-//Re-sizing a Chart
+// Resize the chart
shape.Height = 300;
shape.Width = 300;
{% endhighlight %}
@@ -64,23 +65,23 @@ For importing sparklines in SfSpreadsheet, add the following assembly as referen
Assembly: **Syncfusion.SfSpreadsheetHelper.WPF.dll**
-Create an instance of Syncfusion.UI.Xaml.SpreadsheetHelper.[SparklineCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.SpreadsheetHelper.SparklineCellRenderer.html) and add that renderer into the Spreadsheet by using the helper method [AddSparklineCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddSparklineCellRenderer_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_UI_Xaml_Spreadsheet_CellRenderer_ISpreadsheetCellRenderer_) which is available under the namespace `Syncfusion.UI.Xaml.Spreadsheet.GraphicCells`.
+Create an instance of Syncfusion.UI.Xaml.SpreadsheetHelper.[SparklineCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.SpreadsheetHelper.SparklineCellRenderer.html) and add that renderer to the spreadsheet by using the helper method [AddSparklineCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddSparklineCellRenderer_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_UI_Xaml_Spreadsheet_CellRenderer_ISpreadsheetCellRenderer_), which is available under the namespace `Syncfusion.UI.Xaml.Spreadsheet.GraphicCells`.
{% tabs %}
{% highlight c# %}
public MainWindow()
{
- InitializeComponent();
-
- //For importing sparklines,
- this.spreadsheet.AddSparklineCellRenderer(new SparklineCellRenderer());
+ InitializeComponent();
+
+ // For importing sparklines
+ this.spreadsheet.AddSparklineCellRenderer(new SparklineCellRenderer());
}
{% endhighlight %}
{% endtabs %}
## Pictures
-SfSpreadsheet provides support to import images in SpreadsheetGrid and to add an image at run time, use [AddImage](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddImage_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_XlsIO_IWorksheet_Syncfusion_UI_Xaml_Grid_ScrollAxis_RowColumnIndex_System_IO_Stream_) method and also you can resize and reposition the image.
+SfSpreadsheet provides support to import images in `SpreadsheetGrid`. To add an image at runtime, use the [AddImage](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddImage_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_XlsIO_IWorksheet_Syncfusion_UI_Xaml_Grid_ScrollAxis_RowColumnIndex_System_IO_Stream_) method. You can also resize and reposition the image.
{% tabs %}
{% highlight c# %}
@@ -88,11 +89,11 @@ var worksheet = spreadsheet.ActiveSheet;
var stream = typeof(MainWindow).Assembly.GetManifestResourceStream("GraphicCellDemo.Data.Sample.jpg");
var shape = spreadsheet.AddImage(worksheet, new RowColumnIndex(5, 5), stream);
-// Re-Positioning Picture
+// Reposition the picture
shape.Top = 200;
shape.Left = 200;
- //Re-sizing a Picture
+ // Resize the picture
shape.Height = 200;
shape.Width = 200;
{% endhighlight %}
@@ -100,14 +101,14 @@ shape.Width = 200;
## TextBoxes
-SfSpreadsheet provides support to import RichText Box in `SpreadsheetGrid` and to add the rich text box at run time, use [AddTextBox](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddTextBox_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_XlsIO_IWorksheet_Syncfusion_UI_Xaml_Grid_ScrollAxis_RowColumnIndex_System_Windows_Size_System_String_) method
+SfSpreadsheet provides support to import RichTextBox content in `SpreadsheetGrid`. To add a rich text box at runtime, use the [AddTextBox](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_AddTextBox_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_XlsIO_IWorksheet_Syncfusion_UI_Xaml_Grid_ScrollAxis_RowColumnIndex_System_Windows_Size_System_String_) method. You can also resize and reposition the text box.
{% tabs %}
{% highlight c# %}
var rtfText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset1 Calibri;}{\\f1\\fnil\\fcharset1 Calibri;}}{\\colortbl;\\red0\\green0\\blue0;\\red255\\green0\\blue0;}{\\f0\\fs22\\b\\cf1\\u83*\\u121*\\u110*\\u99*\\u102*\\u117*\\u115*\\u105*\\u111*\\u110*\\u32*\\b0} {\\f1\\fs22\\cf2\\u83*\\u111*\\u102*\\u116*\\u119*\\u97*\\u114*\\u101*\\u32*}{\\f1\\fs22\\cf1\\u80*\\u118*\\u116*\\u46*\\u32*\\u76*\\u116*\\u100*}}";
var textBox = spreadsheet.AddTextBox(spreadsheet.ActiveSheet, new RowColumnIndex(5, 5), new Size(200, 200), rtfText) as TextBoxShapeImpl;
-// Re-positioning RichTextBox
+// Reposition the RichTextBox
textBox.Left = 200;
textBox.Top = 200;
{% endhighlight %}
@@ -115,7 +116,7 @@ textBox.Top = 200;
## Accessing the selected Shapes
-SfSpreadsheet allows the user to access the selected shapes and modify the properties associated with it in `SpreadsheetGrid`.
+SfSpreadsheet allows the user to access the selected shapes and modify their properties within `SpreadsheetGrid`.
{% tabs %}
{% highlight c# %}
@@ -145,11 +146,11 @@ spreadsheet.ActiveGrid.GraphicModel.InvalidateGraphicVisual();
## Select a Shape Programmatically
-Users can select a shape programmatically by using [AddSelectedShapes](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicModel.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicModel_AddSelectedShapes_Syncfusion_XlsIO_Implementation_Shapes_ShapeImpl_) method of [GraphicModel](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicModel.html) class.
+Users can select a shape programmatically by using the [AddSelectedShapes](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicModel.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicModel_AddSelectedShapes_Syncfusion_XlsIO_Implementation_Shapes_ShapeImpl_) method of the [GraphicModel](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicModel.html) class.
{% tabs %}
{% highlight c# %}
-var shape = spreadsheet.ActiveSheet.Shapes[2] as ShapeImpl;
+var shape = spreadsheet.ActiveSheet.Shapes[2] as ShapeImpl;
spreadsheet.ActiveGrid.GraphicModel.AddSelectedShapes(shape);
{% endhighlight %}
{% endtabs %}
@@ -165,4 +166,7 @@ spreadsheet.ActiveGrid.GraphicModel.ClearSelection();
{% endtabs %}
-N> You can refer to our [WPF Spreadsheet Editor](https://www.syncfusion.com/wpf-controls/spreadsheet) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Spreadsheet example](https://github.com/syncfusion/wpf-demos) to know how to render and configure the spreadsheet.
\ No newline at end of file
+## See Also
+
+- [WPF Spreadsheet Editor feature tour](https://www.syncfusion.com/wpf-controls/spreadsheet)
+- [WPF Spreadsheet examples on GitHub](https://github.com/syncfusion/wpf-demos)
diff --git a/Document-Processing/Excel/Spreadsheet/WPF/Sorting-and-Filtering.md b/Document-Processing/Excel/Spreadsheet/WPF/Sorting-and-Filtering.md
index 62dfb483c9..4e463e70b6 100644
--- a/Document-Processing/Excel/Spreadsheet/WPF/Sorting-and-Filtering.md
+++ b/Document-Processing/Excel/Spreadsheet/WPF/Sorting-and-Filtering.md
@@ -9,11 +9,11 @@ documentation: ug
# Sorting and Filtering in WPF Spreadsheet (SfSpreadsheet)
-This section explains about sorting and filtering functionalities in the SfSpreadsheet.
+This section explains the sorting and filtering functionalities available in the SfSpreadsheet.
## Filtering
-By default, Filtering support will be enabled in the SfSpreadsheet, but if you want to disable the Filtering in SfSpreadsheet, set the `AllowFiltering` property of the `SfSpreadsheet` to be false.
+Filtering is enabled by default in the SfSpreadsheet. When enabled, filter drop-down buttons appear in the header row of each column. To disable filtering, set the `AllowFiltering` property of the SfSpreadsheet to `false`.
{% tabs %}
{% highlight xaml %}
@@ -46,7 +46,7 @@ void spreadsheet_WorkbookLoaded(object sender, WorkbookLoadedEventArgs args)
## Unsupported Features
-Currently SfSpreadsheet does not have support for following features.
+SfSpreadsheet currently does not support the following features:
* Table filtering
* Multi-column sorting
@@ -55,13 +55,13 @@ Currently SfSpreadsheet does not have support for following features.
### Sorting
-* In Microsoft Excel, sorting label should be varied in filter popup based on the type of values in a column (For e.g, "Sort Smallest to Largest" for numeric values, "Sort A to Z" for string values, etc.). But in Spreadsheet, sort label should not be varied based on values due to improve the loading performance of filter popup.
-* Sort Ascending or Sort Descending label is not checked in the filter popup, if the column is sorted in Microsoft Excel. Because currently XlsIO do not have support to fetch the sorted order while importing the workbook.
+* In Microsoft Excel, the sorting label in the filter pop-up varies based on the type of values in a column (for example, "Sort Smallest to Largest" for numeric values, "Sort A to Z" for string values, and so on). In SfSpreadsheet, the sorting label does not vary based on value type, in order to improve the loading performance of the filter pop-up.
+* The "Sort Ascending" or "Sort Descending" label is not checked in the filter pop-up if the column was previously sorted in Microsoft Excel, because XlsIO does not support fetching the sort order while importing the workbook.
### Filtering
-* If the filter applied in Microsoft Excel, then the filter will be cleared from all columns while clearing the filter from any one column Because unable to fetch the filtering order.
-* While importing the workbook, checked and unchecked items are only displayed in the right most filtered column. Because unable to fetch the filtering order.
+* If a filter is applied in Microsoft Excel, clearing the filter from any one column clears the filter from all columns, because the filtering order cannot be fetched.
+* While importing the workbook, only the rightmost filtered column displays the checked and unchecked items, because the filtering order cannot be fetched.
N> You can refer to our [WPF Spreadsheet Editor](https://www.syncfusion.com/wpf-controls/spreadsheet) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Spreadsheet example](https://github.com/syncfusion/wpf-demos) to know how to render and configure the spreadsheet.
diff --git a/Document-Processing/Excel/Spreadsheet/WPF/Themes.md b/Document-Processing/Excel/Spreadsheet/WPF/Themes.md
index 322fb52afa..8898765643 100644
--- a/Document-Processing/Excel/Spreadsheet/WPF/Themes.md
+++ b/Document-Processing/Excel/Spreadsheet/WPF/Themes.md
@@ -9,16 +9,26 @@ documentation: ug
# Themes in WPF Spreadsheet (SfSpreadsheet)
-SfSpreadsheet supports the following built-in themes.
-* MaterialLight
-* MaterialDark
-* Office2019Colorful
-* Office2019Black
-* Office2019White
-* Office2019DarkGray
-* FluentLight
-* FluentDark
-* SystemTheme
+SfSpreadsheet supports built-in themes for customizing its appearance.
+
+## Available Themes
+
+### Material
+* MaterialLight
+* MaterialDark
+
+### Office2019
+* Office2019Colorful
+* Office2019Black
+* Office2019White
+* Office2019DarkGray
+
+### Fluent
+* FluentLight
+* FluentDark
+
+### System
+* SystemTheme
Refer to the below links to apply themes for the SfSpreadsheet,
@@ -29,4 +39,7 @@ Refer to the below links to apply themes for the SfSpreadsheet,

-N> You can refer to our [WPF Spreadsheet Editor](https://www.syncfusion.com/wpf-controls/spreadsheet) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Spreadsheet example](https://github.com/syncfusion/wpf-demos) to know how to render and configure the spreadsheet.
\ No newline at end of file
+## See Also
+
+* [WPF Spreadsheet feature tour](https://www.syncfusion.com/wpf-controls/spreadsheet)
+* [WPF Spreadsheet examples on GitHub](https://github.com/syncfusion/wpf-demos)
diff --git a/Document-Processing/Excel/Spreadsheet/WPF/Workbook-Operations.md b/Document-Processing/Excel/Spreadsheet/WPF/Workbook-Operations.md
index ed8f73947f..6b523fe76f 100644
--- a/Document-Processing/Excel/Spreadsheet/WPF/Workbook-Operations.md
+++ b/Document-Processing/Excel/Spreadsheet/WPF/Workbook-Operations.md
@@ -12,7 +12,7 @@ This section explains how to manage Excel workbooks in SfSpreadsheet, including
## Creating a new Excel Workbook
-A new workbook can be created by using a [Create](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Create_System_Int32_) method with specified number of worksheets. By default, a workbook will be created with single worksheet.
+A new workbook can be created by using the [Create](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Create_System_Int32_) method with a specified number of worksheets. By default, a workbook will be created with a single worksheet.
{% tabs %}
{% highlight c# tabtitle="MainWindow.xaml.cs" %}
@@ -22,7 +22,7 @@ spreadsheet.Create(2);
## Opening an existing Excel Workbook
-The Excel Workbook can be opened in SfSpreadsheet using the [Open](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Open_Syncfusion_XlsIO_IWorkbook_) method in various ways,
+The Excel workbook can be opened in SfSpreadsheet using the [Open](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Open_Syncfusion_XlsIO_IWorkbook_) method in various ways.
{% tabs %}
{% highlight c# tabtitle="MainWindow.xaml.cs" %}
@@ -49,7 +49,7 @@ Opening Excel File in SfSpreadsheet
## Saving the Excel Workbook
-The Excel workbook can be saved in SfSpreadsheet using [Save](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Save) method. If the workbook already exists in the system drive, it will be saved in the same location, otherwise Save Dialog box opens to save the workbook in user specified location.
+The Excel workbook can be saved in SfSpreadsheet using the [Save](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Save) method. If the workbook was originally opened from a file path on the system drive, it will be saved to the same location; otherwise, a Save dialog box opens so the user can specify a location.
{% tabs %}
{% highlight c# tabtitle="MainWindow.xaml.cs" %}
diff --git a/Document-Processing/Excel/Spreadsheet/WPF/Working-with-SfSpreadsheet.md b/Document-Processing/Excel/Spreadsheet/WPF/Working-with-SfSpreadsheet.md
index 130f2edc34..2172f7a420 100644
--- a/Document-Processing/Excel/Spreadsheet/WPF/Working-with-SfSpreadsheet.md
+++ b/Document-Processing/Excel/Spreadsheet/WPF/Working-with-SfSpreadsheet.md
@@ -8,41 +8,42 @@ control: SfSpreadsheet
documentation: ug
---
-# Working With Spreadsheet in WPF Spreadsheet (SfSpreadsheet)
- This section explains about accessing the Worksheet, Grid and the events associated with it.
+# Working with SfSpreadsheet in WPF Spreadsheet (SfSpreadsheet)
-## Accessing the Worksheet
+This section explains how to access the worksheet, grid, and the events associated with SfSpreadsheet.
-A __workbook__ is an excel document in the SfSpreadsheet. It is an object that exposes the [IWorkbook](https://help.syncfusion.com/cr/wpf/Syncfusion.XlsIO.IWorkbook.html) interface. Currently loaded workbook in the Spreadsheet can be accessed by using the [Workbook](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Workbook) property of SfSpreadsheet.
+## Accessing the worksheet
-A workbook consists of one or more worksheets stored within the worksheet collection. Accessing the worksheets in the collection, can be done by the following ways,
+A __workbook__ is an Excel document in SfSpreadsheet. It is an object that exposes the [IWorkbook](https://help.syncfusion.com/cr/wpf/Syncfusion.XlsIO.IWorkbook.html) interface. The currently loaded workbook in SfSpreadsheet can be accessed by using the [Workbook](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Workbook) property of SfSpreadsheet.
+
+A workbook consists of one or more worksheets stored within the worksheet collection. The worksheets in the collection can be accessed in the following ways:
{% tabs %}
{% highlight c# %}
-//By Specifying the index as,
+//By specifying the index,
spreadsheet.Workbook.Worksheets[0]
-//By Specifying the sheet name as,
-spreadsheet.Workbook.Worksheets["sheet1"]
+//By specifying the sheet name,
+spreadsheet.Workbook.Worksheets["Sheet1"]
-//Access the Active worksheet as,
+//Access the Active worksheet,
spreadsheet.ActiveSheet
{% endhighlight %}
{% endtabs %}
-For more information regarding working with worksheets, you can refer the [XlsIO UG](https://help.syncfusion.com/file-formats/xlsio/overview) link
+For more information regarding working with worksheets, refer to the [XlsIO UG](https://help.syncfusion.com/file-formats/xlsio/overview) link.
-N> `ActiveGrid` and `ActiveSheet` property can be accessed only after the `WorkbookLoaded` Event of `SfSpreadsheet` is triggered
+N> The `ActiveGrid` and `ActiveSheet` properties can be accessed only after the `WorkbookLoaded` event of `SfSpreadsheet` is triggered.
-## Accessing the Grid
+## Accessing the grid
-Each worksheet in the workbook is loaded into the view as [SpreadsheetGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html) in `SfSpreadsheet`.
+Each worksheet in the workbook is loaded into the view as [SpreadsheetGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html) in `SfSpreadsheet`.
-When the workbook is loaded in the SfSpreadsheet, the [WorkbookLoaded](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) Event is invoked and when the workbook is removed from SfSpreadsheet, the [WorkbookUnloaded](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) Event is invoked.
+When the workbook is loaded in SfSpreadsheet, the [WorkbookLoaded](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) event is invoked, and when the workbook is removed from SfSpreadsheet, the [WorkbookUnloaded](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) event is invoked.
-When the worksheet is added into the SfSpreadsheet, the [WorksheetAdded](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) Event is invoked and when the worksheet is removed in the SfSpreadsheet, [WorksheetRemoved](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) Event is invoked.
+When the worksheet is added into SfSpreadsheet, the [WorksheetAdded](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) event is invoked, and when the worksheet is removed from SfSpreadsheet, the [WorksheetRemoved](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html) event is invoked.
-Hence you can access the `ActiveGrid` either in the `WorkbookLoaded` or `WorksheetAdded` Event.
+You can access the `ActiveGrid` either in the `WorkbookLoaded` or `WorksheetAdded` event.
{% tabs %}
{% highlight c# %}
@@ -60,18 +61,18 @@ void spreadsheet_WorksheetAdded(object sender, WorksheetAddedEventArgs args)
void spreadsheet_WorksheetRemoved(object sender, WorksheetRemovedEventArgs args)
{
- //Access the Active SpreadsheetGrid and unhook the events associated with it
+ //Access the Active SpreadsheetGrid and unhook the events associated with it.
var grid = spreadsheet.ActiveGrid;
grid.CurrentCellActivated -= grid_CurrentCellActivated;
}
{% endhighlight %}
{% endtabs %}
-You can also access the each `SpreadsheetGrid` in the SfSpreadsheet either by passing the particular sheet name in the [GridCollection](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_GridCollection) or by invoking `WorkbookLoaded` Event of SfSpreadsheet.
+You can also access each `SpreadsheetGrid` in SfSpreadsheet in two ways: by passing the particular sheet name in the [GridCollection](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_GridCollection) or by invoking `WorkbookLoaded` event of SfSpreadsheet.
-### By using Sheet Name
+### By using sheet name
-For your reference, setting the row and column count dynamically for the second sheet in the Workbook
+For reference, this example sets the row and column count dynamically for the second sheet in the workbook.
{% tabs %}
{% highlight c# %}
@@ -81,7 +82,7 @@ spreadsheet.GridCollection[sheet.Name].ColumnCount = 12;
{% endhighlight %}
{% endtabs %}
-### By using Event
+### By using event
{% tabs %}
{% highlight c# %}
@@ -91,28 +92,28 @@ spreadsheet.WorkbookUnloaded += spreadsheet_WorkbookUnloaded;
void spreadsheet_WorkbookLoaded(object sender, WorkbookLoadedEventArgs args)
{
- //Hook the events here
+ //Hook the events here.
foreach (var grid in args.GridCollection)
{
- grid.QueryRange += grid_QueryRange;
- }
+ grid.QueryRange += grid_QueryRange;
+ }
}
void spreadsheet_WorkbookUnloaded(object sender, WorkbookUnloadedEventArgs args)
{
- //Unhook the events here
+ //Unhook the events here.
foreach (var grid in args.GridCollection)
{
- grid.QueryRange -= grid_QueryRange;
+ grid.QueryRange -= grid_QueryRange;
}
}
{% endhighlight %}
{% endtabs %}
-N> SfSpreadsheet supports virtual mode, which lets you dynamically provide data to the grid by handling an event, [QueryRange](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_QueryRange), for example. In virtual mode, data will be dynamically loaded into the SpreadsheetGrid on demand or when users need to view the data.
+N> SfSpreadsheet supports virtual mode, which lets you dynamically provide data to the grid by handling the [QueryRange](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_QueryRange) event. In virtual mode, data is dynamically loaded into the `SpreadsheetGrid` on demand when the user needs to view the data.
## Setting the ActiveSheet programmatically
@@ -127,74 +128,74 @@ spreadsheet.SetActiveSheet("Sheet5");
## Accessing the cell or range of cells
-SfSpreadsheet allows to access a single cell or range of cells in the workbook using `IRange` interface.
+SfSpreadsheet allows you to access a single cell or a range of cells in the workbook using the `IRange` interface.
-The following code shows the several ways of accessing a single cell or range of cells in the `Worksheet`,
+The following code shows the several ways of accessing a single cell or a range of cells in the `worksheet`:
{% tabs %}
{% highlight c# %}
-// Access a cell by specifying cell address.
+// Access a cell by specifying cell address.
var cell = spreadsheet.Workbook.Worksheets[0].Range["A3"];
-// Access a cell by specifying cell row and column index.
+// Access a cell by specifying cell row and column index.
var cell1 = spreadsheet.Workbook.Worksheets[0].Range[3, 1];
-// Access a cells by specifying user defined name.
+// Access a cell by specifying a user-defined name.
var cell2 = spreadsheet.Workbook.Worksheets[0].Range["Namerange"];
-// Accessing a range of cells by specifying cell's address.
+// Accessing a range of cells by specifying the cell's address.
var cell3 = spreadsheet.Workbook.Worksheets[0].Range["A5:C8"];
-// Accessing a range of cells specifying cell row and column index.
+// Accessing a range of cells by specifying the cell row and column index.
var cell4 = spreadsheet.Workbook.Worksheets[0].Range[15, 1, 15, 3];
{% endhighlight %}
{% endtabs %}
-For more reference regarding accessing the range, refer [XlsIO](https://help.syncfusion.com/file-formats/xlsio/worksheet-cells-manipulation#accessing-a-cell-or-a-range) UG.
+For more reference regarding accessing the range, refer to the [XlsIO](https://help.syncfusion.com/file-formats/xlsio/worksheet-cells-manipulation#accessing-a-cell-or-a-range) UG.
-N> If the user has made any modifications with XlsIO range in SfSpreadsheet, then they should [refresh the view](https://help.syncfusion.com/document-processing/excel/spreadsheet/wpf/working-with-sfspreadsheet#refreshing-the-view) to update the modifications in `SpreadsheetGrid`.
+N> If the user has made any modifications with the XlsIO range in SfSpreadsheet, they should [refresh the view](https://help.syncfusion.com/document-processing/excel/spreadsheet/wpf/working-with-sfspreadsheet#refreshing-the-view) to update the modifications in `SpreadsheetGrid`.
## Accessing the value of a cell
-SfSpreadsheet allows you to access the value of a cell by using [Value](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Value) property of `IRange` and to get the value of the cell along with its format, [DisplayText](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_DisplayText) property can be used.
+SfSpreadsheet allows you to access the value of a cell by using the [Value](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_Value) property of `IRange`. To get the value of the cell along with its format, use the [DisplayText](https://help.syncfusion.com/cr/file-formats/Syncfusion.XlsIO.IRange.html#Syncfusion_XlsIO_IRange_DisplayText) property.
{% tabs %}
{% highlight c# %}
-// Access a cell value by using "Value" Property,
-var cellValue = spreadsheet.Workbook.Worksheets[1].Range["A3"].Value
+// Access a cell value by using the "Value" property.
+var cellValue = spreadsheet.Workbook.Worksheets[1].Range["A3"].Value;
-// Access a cell value by using "DisplayText" Property.
+// Access a cell value by using the "DisplayText" property.
var displayValue = spreadsheet.Workbook.Worksheets[1].Range[4, 1].DisplayText;
{% endhighlight %}
{% endtabs %}
## Setting the value or formula to a cell
-In SfSpreadsheet, to update the cell value and formula programmatically, [SetCellValue](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_SetCellValue_Syncfusion_XlsIO_IRange_System_String_) method of [SpreadsheetGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html) should be invoked and then invalidate that cell to update the view.
+In SfSpreadsheet, to update the cell value or formula programmatically, invoke the [SetCellValue](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_SetCellValue_Syncfusion_XlsIO_IRange_System_String_) method of [SpreadsheetGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html) and then invalidate that cell to update the view.
{% tabs %}
{% highlight c# %}
var range = spreadsheet.ActiveSheet.Range[2,2];
spreadsheet.ActiveGrid.SetCellValue(range, "cellValue");
-spreadsheet.ActiveGrid.InvalidateCell(2,2);
+spreadsheet.ActiveGrid.InvalidateCell(2, 2);
{% endhighlight %}
{% endtabs %}
## Clearing the value or formatting from a cell
-SfSpreadsheet allows you to delete the contents of a cell or delete the contents along with its formatting(comments,Conditional formats,..) also.
+SfSpreadsheet allows you to clear the contents of a cell or clear the contents along with its formatting (comments, conditional formats, data validations, and so on).
-The following code illustrates the different way of deleting the value from a cell,
+The following code illustrates the different ways of clearing the value from a cell:
{% tabs %}
{% highlight c# %}
//To clear the contents in the range alone,
spreadsheet.Workbook.Worksheets[0].Range[3, 3].Clear();
-//To clear the contents along with its formatting in the range,
+//To clear the contents along with its formatting in the range,
spreadsheet.Workbook.Worksheets[0].Range[3, 3].Clear(true);
-//To clear the range with specified ExcelClearOptions,
+//To clear the range with the specified ExcelClearOptions,
spreadsheet.Workbook.Worksheets[0].Range[3, 3].Clear(ExcelClearOptions.ClearDataValidations);
{% endhighlight %}
{% endtabs %}
@@ -203,34 +204,34 @@ N> [ExcelClearOptions](https://help.syncfusion.com/cr/file-formats/Syncfusion.Xl
## Refreshing the view
-SfSpreadsheet allows you to invalidate or refresh the view either by specifying the specific range or full range.
+SfSpreadsheet allows you to invalidate or refresh the view either by specifying a specific range or the full range.
-The following code demonstrates the different ways of refreshing the view,
+The following code demonstrates the different ways of refreshing the view:
{% tabs %}
{% highlight c# %}
//Invalidates the mentioned cell in the grid,
spreadsheet.ActiveGrid.InvalidateCell(3, 3);
-//Invalidates the range ,
+//Invalidates the range,
var range = GridRangeInfo.Cells(5, 4, 6, 7);
spreadsheet.ActiveGrid.InvalidateCell(range);
//Invalidates all the cells in the grid,
spreadsheet.ActiveGrid.InvalidateCells();
-//Invalidates the measurement state(layout) of grid,
+//Invalidates the measurement state(layout) of the grid,
spreadsheet.ActiveGrid.InvalidateVisual();
-//Invalidates the cell borders in the range,
+//Invalidates only the cell borders in the range,
var range = GridRangeInfo.Cells(2, 4, 6, 4);
spreadsheet.ActiveGrid.InvalidateCellBorders(range);
{% endhighlight %}
{% endtabs %}
-## Scrolling the Grid programmatically
+## Scrolling the grid programmatically
-SfSpreadsheet allows the user to scroll the grid into mentioned cell, by using [ScrollInView](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_SfCellGrid_ScrollInView_Syncfusion_UI_Xaml_Grid_ScrollAxis_RowColumnIndex_) method of `SpreadsheetGrid`.
+SfSpreadsheet allows the user to scroll the grid to the specified cell by using the [ScrollInView](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.CellGrid.SfCellGrid.html#Syncfusion_UI_Xaml_CellGrid_ScrollInView_Syncfusion_UI_Xaml_Grid_ScrollAxis_RowColumnIndex_) method of `SpreadsheetGrid`.
{% tabs %}
{% highlight c# %}
@@ -238,10 +239,11 @@ spreadsheet.ActiveGrid.ScrollInView(new RowColumnIndex(5, 5));
{% endhighlight %}
{% endtabs %}
-## Formula Bar
+## Formula bar
+
+The formula bar is located above the worksheet area of SfSpreadsheet. The formula bar displays the data or formula stored in the active cell.
-The Formula Bar is located above the worksheet area of the SfSpreadsheet. The formula bar displays the data or formula stored in the active cell.
-Users can set the visibility state of Formula Bar using [FormulaBarVisibility](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_FormulaBarVisibility) property of `SfSpreadsheet`.
+You can set the visibility state of the formula bar using the [FormulaBarVisibility](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_FormulaBarVisibility) property of `SfSpreadsheet`.
{% tabs %}
{% highlight xaml %}
@@ -254,7 +256,7 @@ spreadsheet.FormulaBarVisibility = System.Windows.Visibility.Collapsed;
## Identify whether the workbook is modified or not
-`IsCellModified` property of `WorkbookImpl` is used to identify whether any cell modified in a workbook or not after importing. Since it is an internal property, access it using Reflection.
+The `IsCellModified` property of `WorkbookImpl` indicates whether any cell in a workbook has been modified after importing. Because `IsCellModified` is an internal property, it must be accessed using reflection.
{% tabs %}
{% highlight c# %}
@@ -264,22 +266,21 @@ var value = typeof(WorkbookImpl).GetProperty("IsCellModified", bindFlags).GetVal
{% endhighlight %}
{% endtabs %}
-## Suppress message boxes in Spreadsheet
-
-In Spreadsheet, warning messages, error alerts are displayed while performing some actions like Excel. If you want to avoid those alerts, then set the [DisplayAlerts](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_DisplayAlerts) property to `false`.
+## Suppress message boxes in spreadsheet
+In SfSpreadsheet, warning messages and error alerts are displayed while performing certain actions, similar to Excel. If you want to avoid these alerts, set the [DisplayAlerts](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_DisplayAlerts) property to `false`.
{% tabs %}
{% highlight c# %}
-//To Suppress message boxes in Spreadsheet
+//To suppress message boxes in Spreadsheet
spreadsheet.DisplayAlerts = false;
{% endhighlight %}
{% endtabs %}
## Suspend and resume formula calculation
-Spreadsheet provides support to suspend the formula calculation and resume it whenever needed using the [SuspendFormulaCalculation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_SuspendFormulaCalculation) and [ResumeFormulaCalculation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_ResumeFormulaCalculation) method.
+SfSpreadsheet provides support to suspend the formula calculation and resume it whenever needed, using the [SuspendFormulaCalculation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_SuspendFormulaCalculation) and [ResumeFormulaCalculation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_ResumeFormulaCalculation) methods.
-Resuming formula calculation will recalculate all the formula cells in a workbook. This would be helpful to improve the performance when you are updating the value of more number of cells by skipping the dependent cells recalculation on each cell value changed.
+Resuming the formula calculation triggers a single recalculation pass across all formula cells in the workbook. This is helpful for improving performance when you update the value of many cells, because dependent cells are not recalculated on each individual value change.
{% tabs %}
{% highlight c# %}
@@ -291,9 +292,9 @@ spreadsheet.SuspendFormulaCalculation();
{% endhighlight %}
{% endtabs %}
-## Close the popup programmatically
+## Close the popup programmatically
-In SfSpreadsheet, popup windows are used to display the options like copy paste option, fill series option, etc. which will be closed automatically on certain actions. However you can also able to close the popup programmatically by using the [ShowHidePopup](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_ShowHidePopup_System_Boolean_) method of `SpreadsheetGrid`.
+In SfSpreadsheet, popup windows are used to display options like the copy-paste option, the fill series option, and so on, which are closed automatically on certain actions. However, you can also close the popup programmatically by using the [ShowHidePopup](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SpreadsheetGrid.html#Syncfusion_UI_Xaml_Spreadsheet_SpreadsheetGrid_ShowHidePopup_System_Boolean_) method of `SpreadsheetGrid`.
{% tabs %}
{% highlight c# %}
@@ -307,7 +308,7 @@ spreadsheet.ActiveGrid.ShowHidePopup(true);
## Identify when the active sheet is changed
-SfSpreadsheet provides support to identify when the active sheet is changed by using [PropertyChanged](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_PropertyChanged) event of SfSpreadsheet like below.
+SfSpreadsheet provides support to identify when the active sheet is changed by using the [PropertyChanged](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_PropertyChanged) event of SfSpreadsheet, as shown below.
{% tabs %}
{% highlight c# %}
@@ -316,9 +317,9 @@ Spreadsheet.PropertyChanged += Spreadsheet_PropertyChanged;
void Spreadsheet_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
- // when the worksheets in the workbook changed
-
- if(e.PropertyName == "ActiveSheet")
+ // When the active worksheet in the workbook changes.
+
+ if (e.PropertyName == "ActiveSheet")
{
//Implement code
@@ -328,4 +329,7 @@ void Spreadsheet_PropertyChanged(object sender, System.ComponentModel.PropertyCh
{% endtabs %}
-N> You can refer to our [WPF Spreadsheet Editor](https://www.syncfusion.com/wpf-controls/spreadsheet) feature tour page for its groundbreaking feature representations. You can also explore our [WPF Spreadsheet example](https://github.com/syncfusion/wpf-demos) to know how to render and configure the spreadsheet.
\ No newline at end of file
+## See also
+
+- [WPF Spreadsheet Editor](https://www.syncfusion.com/wpf-controls/spreadsheet) feature tour page for its groundbreaking feature representations.
+- [WPF Spreadsheet example](https://github.com/syncfusion/wpf-demos) to know how to render and configure the spreadsheet.
\ No newline at end of file
diff --git a/Document-Processing/Excel/Spreadsheet/WPF/Worksheet-Management.md b/Document-Processing/Excel/Spreadsheet/WPF/Worksheet-Management.md
index 3e2a09cd39..9395dd3090 100644
--- a/Document-Processing/Excel/Spreadsheet/WPF/Worksheet-Management.md
+++ b/Document-Processing/Excel/Spreadsheet/WPF/Worksheet-Management.md
@@ -16,13 +16,13 @@ SfSpreadsheet provides support to insert and delete the worksheets in a workbook
{% tabs %}
{% highlight c# %}
-//Insert Sheet
- spreadsheet.AddSheet();
-
-//Insert sheet with name
- spreadsheet.AddSheet("Sheet4", 3);
+//Insert a new sheet at the end of the workbook
+spreadsheet.AddSheet();
-//Delete Sheet
+//Insert a sheet with a name at a specific index
+spreadsheet.AddSheet("Sheet4", 3);
+
+//Delete a sheet by name
spreadsheet.RemoveSheet("Sheet2");
{% endhighlight %}
{% endtabs %}
@@ -33,37 +33,39 @@ SfSpreadsheet provides support to hide and unhide the worksheets in a workbook.
{% tabs %}
{% highlight c# %}
-//Hide Sheet
+//Hide a sheet by name
spreadsheet.HideSheet("Sheet 2");
-//Unhide Sheet
+//Unhide a sheet by name
spreadsheet.UnhideSheet("Sheet 2");
{% endhighlight %}
{% endtabs %}
## Hide or unhide sheet tabs
-Spreadsheet provides support to hide and unhide the all worksheet tabs in the workbook using the [ShowSheetTabs](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_ShowSheetTabs) property. The Default value is `true`.
+SfSpreadsheet provides support to hide and unhide all the worksheet tabs in the workbook using the [ShowSheetTabs](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.SfSpreadsheet.html#Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_ShowSheetTabs) property. The default value is `true`.
{% tabs %}
{% highlight c# %}
+//Wire up the Loaded event in the XAML page constructor or code-behind
+spreadsheetControl.Loaded += SpreadsheetControl_Loaded;
+
private void SpreadsheetControl_Loaded(object sender, RoutedEventArgs e)
{
spreadsheetControl.ShowSheetTabs = false;
}
-
{% endhighlight %}
{% highlight XAML %}
-