Skip to content

Commit adc6b46

Browse files
Merge pull request #1882 from Syncfusion-Content/hotfix/hotfix-v30.2.4
DOCINFRA-2341_merged_using_automation
2 parents d6922be + e33ecf7 commit adc6b46

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

wpf/DataGrid/Record-Template-View.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,22 +297,21 @@ By default, rows in the `DataGrid` are virtualized and reused to enhance perform
297297

298298
This occurs because the same row visual elements are recycled and displayed for different data items during virtualization.
299299

300-
To provide greater flexibility, the `TemplateRenderMode` property is available for row templates. This property allows you to configure how the row templates are instantiated and managed within the DataGrid.
300+
To provide greater flexibility, the [TemplateRenderMode](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.TemplateViewDefinition.html#Syncfusion_UI_Xaml_Grid_TemplateViewDefinition_TemplateRenderMode) property is available for row templates. This property allows you to configure how the row templates are instantiated and managed within the DataGrid.
301301

302-
## TemplateRenderMode:
302+
## TemplateRenderMode
303303

304-
### Shared (Default):
304+
### Shared (Default)
305305
* Rows (and their templates) are reused across multiple rows as you scroll or interact with the grid.
306306
* This mode provides the best performance and lowest memory usage.
307307
* Since templates are shared, visual state and control data may not persist correctly during operations like expanding, collapsing, or scrolling. This can lead to visual inconsistencies or data mismatches.
308308

309-
### Individual:
309+
### Individual
310310
* A unique rows and template instance is created for each data row.
311311
* Template instances are not shared or reused across rows.
312312
* Data operations and visual state are always preserved correctly for each row, even after expanding, collapsing, or scrolling.
313313

314314
N> Use `Shared` for maximum performance and when your row template only contains simple data-bound controls with no per-row persistent state.
315-
316315
Use `Individual` when your row template is contains interactive controls that need to preserve their state for each data row independently.
317316

318317

0 commit comments

Comments
 (0)