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
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Clipboard-Operations.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Clipboard Operations in WPF TreeGrid control | Syncfusion®
description: Learn here all about Clipboard Operations support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Clipboard Operations in WPF SfTreeGrid | Syncfusion®
description: Clipboard Operations in SfTreeGrid enables copy, cut, and paste actions with configurable settings, events, and custom clipboard behavior.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Clipboard Operations in WPF TreeGrid (SfTreeGrid)
# Clipboard Operations in WPF SfTreeGrid

SfTreeGrid provides support to the clipboard operations such as cut, copy, and paste the data within control and between other applications such as Notepad and Excel. The clipboard operations of copy and paste are enabled by default. You can copy selected nodes/cells from tree grid by clicking `Ctrl+C` and paste the content from the [Clipboard](https://learn.microsoft.com/en-us/dotnet/api/system.windows.clipboard?view=windowsdesktop-7.0&viewFallbackFrom=net-5.0&redirectedfrom=MSDN) to tree grid by clicking `Ctrl+V`.

Expand Down
8 changes: 4 additions & 4 deletions wpf/TreeGrid/Column-Sizing.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Column Sizing in WPF TreeGrid control | Syncfusion®
description: Learn here all about Column Sizing support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Column Sizing in WPF SfTreeGrid | Syncfusion®
description: Column Sizing in SfTreeGrid adjusts column widths automatically or manually using the ColumnSizer property.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Column Sizing in WPF TreeGrid (SfTreeGrid)
# Column Sizing in WPF SfTreeGrid

SfTreeGrid allows you to set the column widths based on certain logic using [SfTreeGrid.ColumnSizer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_ColumnSizer) or [TreeGridColumn.ColumnSizer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.TreeGridColumn.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridColumn_ColumnSizer) property.

Expand Down Expand Up @@ -104,7 +104,7 @@ Below code, applies `GridLengthUnitType.Star` to equally set width for `SfTreeGr

N> The `TreeGridColumn.ColumnSizer` takes higher priority than the `SfTreeGrid.ColumnSizer`.

### Refreshing ColumnSizer at runtime
## Refreshing ColumnSizer at runtime

You can refresh the `ColumnSizer` at runtime by calling [SfTreeGrid.TreeGridColumnSizer.Refresh](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.TreeGridColumnSizer.html#Syncfusion_UI_Xaml_TreeGrid_TreeGridColumnSizer_Refresh) method.
SfTreeGrid support to recalculates the column auto width by calling reset methods of `TreeGridColumnSizer`. [TreeGridColumnSizer.ResetAutoCalculationforAllColumns](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.ColumnSizerBase-1.html#Syncfusion_UI_Xaml_Grid_ColumnSizerBase_1_ResetAutoCalculationforAllColumns) method reset widths to all columns. [TreeGridColumnSizer.ResetAutoCalculation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.ColumnSizerBase-1.html#Syncfusion_UI_Xaml_Grid_ColumnSizerBase_1_ResetAutoCalculation_Syncfusion_UI_Xaml_Grid_GridColumnBase_) method reset the width to particular column.
Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Column-Type.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: post
title: Column Types in WPF TreeGrid control | Syncfusion®
description: Learn here all about Column Types support in Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: Column Types in WPF SfTreeGrid | Syncfusion®
description: Column Types in SfTreeGrid provides built-in and custom column types to display, edit, format, and customize data effectively.
platform: wpf
control: SfTreeGrid
documentation: ug
---


# Column Types in WPF TreeGrid (SfTreeGrid)
# Column Types in WPF SfTreeGrid

SfTreeGrid provides support for various built-in column types. Each column has its own properties and renderer to handle different types of data.
You can also add or override existing columns and renderers as you need.
Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Columns.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Columns in WPF TreeGrid control | Syncfusion®
description: Learn here all about Columns support in Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: Columns in WPF SfTreeGrid | Syncfusion®
description: Columns in SfTreeGrid supports auto-generated and custom columns, column types, resizing, reordering, freezing, and data binding.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Columns in WPF TreeGrid (SfTreeGrid)
# Columns in WPF SfTreeGrid

SfTreeGrid allows you to add or remove columns using [SfTreeGrid.Columns](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_Columns) property. You can choose the columns to be added from built-in column types or you can create your own column and add to the `SfTreeGrid.Columns`.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Conditional-Styling.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Conditional Styling in WPF TreeGrid control | Syncfusion®
description: Learn here all about Conditional Styling support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Conditional Styling in WPF SfTreeGrid | Syncfusion®
description: Conditional Styling in SfTreeGrid applies custom styles to cells, rows, and columns dynamically based on data values and conditions.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Conditional Styling in WPF TreeGrid (SfTreeGrid)
# Conditional Styling in WPF SfTreeGrid

You can style the treegrid and its inner elements conditionally based on data in three ways,

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Data-Binding.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Data Binding in WPF TreeGrid control | Syncfusion®
description: Learn here all about Data Binding support in the Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements, and more.
title: Data Binding in WPF SfTreeGrid | Syncfusion®
description: Bind hierarchical and self-relational data to SfTreeGrid using ItemsSource, nested collections, and on-demand loading.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Data Binding in WPF TreeGrid (SfTreeGrid)
# Data Binding in WPF SfTreeGrid

SfTreeGrid is designed to display the self-relational and hierarchical data in tree structure with columns. The data binding can be achieved by assigning the data source to [SfTreeGrid.ItemsSource](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_ItemsSource) property directly through self-relational binding or nested collection or retrieving the parent and child nodes items dynamically using [RequestTreeItems](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_RequestTreeItems) or [LoadOnDemandCommand](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_LoadOnDemandCommand).
If the data source implements [INotifyCollectionChanged](https://learn.microsoft.com/en-us/dotnet/api/system.collections.specialized.inotifycollectionchanged?redirectedfrom=MSDN&view=net-5.0) interface, then SfTreeGrid control will automatically refresh the UI when item is added, removed or while list cleared. When you add, remove item in [ObservableCollection](https://learn.microsoft.com/en-us/dotnet/api/system.collections.objectmodel.observablecollection-1?redirectedfrom=MSDN&view=net-5.0)`, SfTreeGrid automatically refresh the UI as `ObservableCollection implements `INotifyCollectionChanged`. But when you do the same in [List](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1?redirectedfrom=MSDN&view=net-5.0), SfTreeGrid will not refresh the UI automatically.
Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Data-Validation.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
layout: post
title: Data Validation in WPF TreeGrid control | Syncfusion®
description: Learn here all about Data Validation support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Data Validation in WPF SfTreeGrid | Syncfusion®
description: Validate user input in SfTreeGrid with built-in rules, IDataErrorInfo, and custom validation logic for accurate data.
platform: wpf
control: SfTreeGrid
documentation: ug
---


# Data Validation in WPF TreeGrid (SfTreeGrid)
# Data Validation in WPF SfTreeGrid

SfTreeGrid allows you to validate the data and display hints in case of validation is not passed. In case of invalid data, error icon is displayed at the top right corner of [TreeGridCell](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.TreeGridCell.html). When mouse over the error icon, error information will be displayed in tooltip.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Editing.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Editing in WPF TreeGrid control | Syncfusion®
description: Learn here all about Editing support in the Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements, and more.
title: Editing in WPF SfTreeGrid | Syncfusion®
description: Enable cell editing in SfTreeGrid with support for custom editors, edit modes, and validation during data updates.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Editing in WPF TreeGrid (SfTreeGrid)
# Editing in WPF SfTreeGrid

SfTreeGrid provides support for editing and it can be enabled or disabled by setting [SfTreeGrid.AllowEditing](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfGridBase.html#Syncfusion_UI_Xaml_Grid_SfGridBase_AllowEditing) property.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Export-To-Excel.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Export To Excel in WPF TreeGrid control | Syncfusion®
description: Learn here all about Export To Excel support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Export To Excel in WPF SfTreeGrid | Syncfusion®
description: Export SfTreeGrid data to Excel with support for headers, stacked headers, sorting, and filtering preservation.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Export To Excel in WPF TreeGrid (SfTreeGrid)
# Export To Excel in WPF SfTreeGrid

SfTreeGrid provides support to export the data to Excel file. This also provides support to export the headers and stacked headers. This maintains the sorting and filtering processes when exporting.

Expand Down
8 changes: 4 additions & 4 deletions wpf/TreeGrid/Export-To-PDF.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Export To PDF in WPF TreeGrid control | Syncfusion®
description: Learn here all about Export To PDF support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Export To PDF in WPF SfTreeGrid | Syncfusion®
description: Export SfTreeGrid data to PDF with options to include headers, stacked headers, and maintain applied sorting or filtering.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Export To PDF in WPF TreeGrid (SfTreeGrid)
# Export To PDF in WPF SfTreeGrid

SfTreeGrid provides support to export the data to PDF file. This also provides support to export the headers and stacked headers. This maintains the sorting and filtering processes when exporting.

Expand All @@ -18,7 +18,7 @@ The following assemblies should be added for exporting a tree grid to PDF file:-

For NuGet package, have to install [Syncfusion.DataGridExcelExport.WPF](https://www.nuget.org/packages/Syncfusion.DataGridExcelExport.WPF) package. For more details refer this [UG link](https://help.syncfusion.com/wpf/control-dependencies#exporting-treegrid-to-excel-pdf-and-csv).

You can export the tree grid to PDF by using the following extension methods present in the [Syncfusion.UI.Xaml.TreeGrid.Converter](http://help.syncfusion.com/cr/wpf/) namespace:-
You can export the tree grid to PDF by using the following extension methods present in the [Syncfusion.UI.Xaml.TreeGrid.Converter](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.Converter.html) namespace:-

* [ExportToPdf](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.Converter.TreeGridPdfExportExtension.html#Syncfusion_UI_Xaml_TreeGrid_Converter_TreeGridPdfExportExtension_ExportToPdf_Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_Syncfusion_UI_Xaml_TreeGrid_Converter_TreeGridPdfExportingOptions_)

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Filtering.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Filtering in WPF TreeGrid control | Syncfusion®
description: Learn here all about Filtering support in Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: Filtering in WPF SfTreeGrid | Syncfusion®
description: Filter SfTreeGrid records using built-in filter predicates, UI options, and advanced filter conditions for relevant data.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Filtering in WPF TreeGrid (SfTreeGrid)
# Filtering in WPF SfTreeGrid

Filtering is the process of retrieving the values from a collection that satisfies the specified condition. In SfTreeGrid, filtering can be applied through the UI as well as the programmatic filters.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Getting-Started.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Getting Started with WPF TreeGrid control | Syncfusion®
description: Learn here about getting started with Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: Getting Started with WPF SfTreeGrid | Syncfusion®
description: Learn how to get started with the Syncfusion® WPF SfTreeGrid control. Explore setup, features, examples, and customization options.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Getting Started with WPF TreeGrid (SfTreeGrid)
# Getting Started with WPF SfTreeGrid

The [WPF TreeGrid](https://www.syncfusion.com/wpf-controls/treegrid) (SfTreeGrid) is a data oriented control that displays the self-relational and hierarchical data in tree structure with columns. The data can be loaded on-demand also.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/GridLines.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Grid Lines | TreeGrid | WPF | Syncfusion®
description: Learn about customization of grid lines for GridCells and HeaderCells in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more details.
title: Grid Lines in WPF SfTreeGrid | Syncfusion®
description: Customize grid lines in SfTreeGrid to show vertical, horizontal, or both borders for cells and header cells.
platform: wpf
control: TreeGrid
documentation: ug
---

# Grid Lines customization in WPF TreeGrid (SfTreeGrid)
# Grid Lines in WPF SfTreeGrid

SfTreeGrid allows you to customize the grid lines visibility to vertical, horizontal, both or none. To achieve this, use the following properties.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Helpers.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Helpers in WPF TreeGrid control | Syncfusion®
description: Learn here all about Helpers support in Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: Helpers in WPF SfTreeGrid | Syncfusion®
description: Helpers in SfTreeGrid provides helper classes and methods to customize grid behavior, access grid elements, and simplify development tasks.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Helpers in WPF TreeGrid (SfTreeGrid)
# Helpers in WPF SfTreeGrid

## IndexResolver

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Interactive-Features.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Interactive Features in WPF TreeGrid control | Syncfusion®
description: Learn here all about Interactive Features support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Interactive Features in WPF SfTreeGrid | Syncfusion®
description: Interactive features in SfTreeGrid enhance usability by offering context menus, drag‑and‑drop, tooltips, and flexible customization.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Interactive Features in WPF TreeGrid (SfTreeGrid)
# Interactive Features in WPF SfTreeGrid

## Context menu

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Load-On-Demand.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: Load On Demand in WPF TreeGrid control | Syncfusion®
description: Learn here all about Load On Demand support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Load On Demand in WPF SfTreeGrid | Syncfusion®
description: Load SfTreeGrid child nodes on demand to improve performance when working with large hierarchical data sources.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# Load On Demand in WPF TreeGrid (SfTreeGrid)
# Load On Demand in WPF SfTreeGrid

SfTreeGrid supports to load the data in on-demand. It helps to load the child items from services when end-user expands the node. This can be achieved by using the [SfTreeGrid.LoadOnDemandCommand](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_LoadOnDemandCommand) command or [SfTreeGrid.RequestTreeItems](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html) event as follows.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Localization.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: post
title: Localization in WPF TreeGrid control | Syncfusion®
description: Learn here all about Localization support in Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: Localization in WPF SfTreeGrid | Syncfusion®
description: Localization in SfTreeGrid customizes grid content to support multiple languages and regional settings for global usability.
platform: wpf
control: SfTreeGrid
documentation: ug
---
# Localization in WPF TreeGrid (SfTreeGrid)
# Localization in WPF SfTreeGrid

Localization is the process of translating the application resources into different language for the specific cultures. You can localize the treegrid by [adding resource file](https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/aa992030(v=vs.100)). Application culture can be changed by setting `CurrentUICulture` before InitializeComponent method.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/MVVM.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
layout: post
title: MVVM in WPF TreeGrid control | Syncfusion®
description: Learn here all about MVVM support in Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements and more.
title: MVVM in WPF SfTreeGrid | Syncfusion®
description: MVVM in SfTreeGrid enables seamless integration with the MVVM pattern for managing data, commands, and user interactions effectively.
platform: wpf
control: SfTreeGrid
documentation: ug
---

# MVVM in WPF TreeGrid (SfTreeGrid)
# MVVM in WPF SfTreeGrid

This section explains various MVVM requirements using SfTreeGrid.

Expand Down
7 changes: 3 additions & 4 deletions wpf/TreeGrid/MergeCell.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
layout: post
title: Merge Cells in WPF TreeGrid control | Syncfusion®
description: Learn here all about Merge Cells support in the Syncfusion® WPF TreeGrid (SfTreeGrid) control, its elements, and more.
platform: wpf
title: Merge Cells in WPF SfTreeGrid | Syncfusion®
description: Merge Cells in SfTreeGrid combines adjacent cells with matching values to improve data organization and readability.
control: SfTreeGrid
documentation: ug
---

# Merge Cells in WPF TreeGrid (SfTreeGrid)
# Merge Cells in WPF SfTreeGrid

SfTreeGrid allows you to merge a range of adjacent cells in a row across columns using the [QueryCoveredRange](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html) event.

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Node-CheckBox.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: post
title: Node CheckBox in WPF TreeGrid control | Syncfusion®
description: Learn here all about Node CheckBox support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Node CheckBox in WPF SfTreeGrid | Syncfusion®
description: Node CheckBox in WPF SfTreeGrid adds checkboxes to nodes for selection, tri-state, and recursive checking.
platform: wpf
control: SfTreeGrid
documentation: ug
---
# Node CheckBox in WPF TreeGrid (SfTreeGrid)
# Node CheckBox in WPF SfTreeGrid

SfTreeGrid provides support for loading `CheckBox` in the expander cell of each node, which allows the user to check/uncheck the corresponding node. You can display check box in each node by setting [SfTreeGrid.ShowCheckBox](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_ShowCheckBox) property as `true`. It also provides support to process the selection in the context of state of the checkbox based on [SfTreeGrid.CheckBoxSelectionMode](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeGrid.SfTreeGrid.html#Syncfusion_UI_Xaml_TreeGrid_SfTreeGrid_CheckBoxSelectionMode) property.

Expand Down
Loading