Skip to content

Commit db3c92b

Browse files
committed
address comments
1 parent 75a5fb3 commit db3c92b

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

controls/treedatagrid/cells/current-cell.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ slug: treedatagrid-current-cell
1212

1313
## Setting the Behavior
1414

15-
In the TreeDataGrid you can use the `RadDataGrid.CurrentCell` (`DataGridCellInfo` ) property to programmatically modify the current cell during keyboard navigation, when using the mouse, and so on.
15+
In the TreeDataGrid, you can use the `RadDataGrid.CurrentCell` (`DataGridCellInfo`) property to programmatically modify the current cell during keyboard navigation, when using the mouse, and so on.
1616

17-
By subscribing to the `CurrentCellChanged` event you can listen for the changes in the current cell as a result of user interaction with the keyboard.
17+
By subscribing to the `CurrentCellChanged` event, you can listen for the changes in the current cell resulting from user interaction with the keyboard.
1818

1919
The `CurrentCellChanged` event handler receives the following parameters:
2020

@@ -27,9 +27,7 @@ The `CurrentCellChanged` event handler receives the following parameters:
2727

2828
You can style the current cell by using the `CurrentCellStyle` property (of type `Style` with target type `DataGridCurrentCellAppearance`) and applying the `BackgroundColor`, `BorderColor`, and `BorderThickness` properties.
2929

30-
## Example
31-
32-
As the TreeDataGrid inherits from the DataGrid, for a runnable example with the CurrentCell scenario, see the [SDKBrowser Demo Application]({%slug sdkbrowser-app%}) and go to **DataGrid > Keyboard Navigation** category.
30+
> As the TreeDataGrid inherits from the DataGrid, for a runnable example with the CurrentCell scenario, see the [SDKBrowser Demo Application]({%slug sdkbrowser-app%}) and go to **DataGrid > Keyboard Navigation** category.
3331
3432
## Additional Resources
3533

controls/treedatagrid/cells/mouse-hover-cell.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: treedatagrid-mouse-hover-cell
88

99
# .NET MAUI TreeDataGrid Hover Cell
1010

11-
The [Telerik UI for .NET MAUI TreeDataGrid]({%slug treedatagrid-overview%}) provides option to get the data of the cell that the mouse is currently over. In addition, you can change the default hover style. The feature is available only on Desktop - `WinUI` and `MacCatalyst`.
11+
The [Telerik UI for .NET MAUI TreeDataGrid]({%slug treedatagrid-overview%}) provides an option to get the data of the cell that the mouse is currently over. In addition, you can change the default hover style. The feature is available only on Desktop—`WinUI` and `MacCatalyst`.
1212

1313
## Getting the Hovered Cell
1414

@@ -26,9 +26,7 @@ var hoveredCell = treeDataGrid.VisualStateService.MouseHoverCell;
2626

2727
You can specify the style for the cells and rows when the mouse is over by using the `MouseHoverStyle` property (of type `DataGridBorderStyle`) and applying the `BackgroundColor`, `BorderColor`, and `BorderThickness` properties.
2828

29-
## Example
30-
31-
As the TreeDataGrid inherits from the DataGrid, for a runnable example with the Mouse Hover Cell scenario, see the [SDKBrowser Demo Application]({%slug sdkbrowser-app%}) and go to **DataGrid > Cells** category.
29+
> As the TreeDataGrid inherits from the DataGrid, for a runnable example with the Mouse Hover Cell scenario, see the [SDKBrowser Demo Application]({%slug sdkbrowser-app%}) and go to **DataGrid > Cells** category.
3230
3331
## See Also
3432

controls/treedatagrid/commands/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ The DataGrid exposes a `Commands` collection that allows you to register custom
1414

1515
* `Commands`—Gets the collection with all the custom commands registered with the `CommandService`. Custom commands have higher priority than the built-in (default) ones.
1616

17+
{% if false == true %}
18+
{% include cta-panel-small.html %}
19+
{% endif %}
20+
1721
## Command Types
1822

1923
* `DataGridCommand`—All the default commands within `RadDataGrid` derive from the base `DataGridCommand`. Think of this command as a UI-related command as it operates over the `RadDataGrid` instance that owns the command.

controls/treedatagrid/populating-with-data/data-binding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To populate the DataGrid with data, use the `ItemsSource` property of the contro
1919

2020
When you bind the `RadTreeDataGrid` to a collection that implements the `INotifyCollectionChanged` interface, the TreeDataGrid reflects and displays all changes to that collection, for example, any adding or removing of data items. The .NET MAUI framework implements the `INotifyCollectionChanged` interface in the `ObservableCollection<T>` class.
2121

22-
Implementations of the `System.ComponentModel.ICollection` interface are also fully supported. When using such collection sources, the `RadTreeDataGrid` automatically picks up any sort, or filter descriptions defined in the collection and uses them to display the data. This makes the `System.ComponentModel.ICollection` interface implementations the recommended collection source for the TreeDataGrid. To display the hierarchy of the items define the [`TreeDataGridItemDescriptor`]({%slug treedatagrid-descriptor%}).
22+
Implementations of the `System.ComponentModel.ICollection` interface are also fully supported. When using such collection sources, the `RadTreeDataGrid` automatically picks up any sort, or filter descriptions defined in the collection and uses them to display the data. This makes the `System.ComponentModel.ICollection` interface implementations the recommended collection source for the TreeDataGrid. To display the hierarchy of the items, define the [`TreeDataGridItemDescriptor`]({%slug treedatagrid-descriptor%}).
2323

2424
The next example demonstrates how to bind the TreeDataGrid to an `ObservableCollection`.
2525

@@ -77,7 +77,7 @@ xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"
7777

7878
<snippet id='treedatagrid-viewmodel' />
7979

80-
> To learn more about defining columns and the different types of columns, you can take a look at the [Columns Section]({%slug treedatagrid-columns-overview%}).
80+
> To learn more about defining columns and the different types of columns, see the [Columns Section]({%slug treedatagrid-columns-overview%}).
8181
8282
## Additional Resources
8383

controls/treedatagrid/populating-with-data/dynamic-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: binding, dynamic, data, expando, dynamic object, dotnet maui, maui, datagr
99

1010
# .NET MAUI TreeDataGrid Data Binding: Binding to Dynamic Data
1111

12-
As of Telerik UI for .NET MAUI 6.8.0, the [.NET MAUI TreeDataGrid]({%slug treedatagrid-overview%}) supports binding to any type that implements the standard `IDynamicMetaObjectProvider` DLR interface, such as `DynamicObject` and `ExpandoObject`.
12+
The [.NET MAUI TreeDataGrid]({%slug treedatagrid-overview%}) supports binding to any type that implements the standard `IDynamicMetaObjectProvider` DLR interface, such as `DynamicObject` and `ExpandoObject`.
1313

1414
Using Dynamic Data enables you to filter and sort the data inside the DataGrid both through the UI and programmatically.
1515

0 commit comments

Comments
 (0)