From 2d08c4b72c5050e4c620ce3537c50bd0b9436b2d Mon Sep 17 00:00:00 2001 From: Dobrinka Yordanova Date: Thu, 8 May 2025 16:14:13 +0300 Subject: [PATCH] small updates --- .../aggregates/delegate-aggregate-descriptor.md | 4 ++-- controls/datagrid/aggregates/overview.md | 2 +- .../aggregates/property-aggregate-descriptor.md | 2 +- controls/datagrid/aggregates/styling.md | 12 ++++++------ controls/treeview/templates/item-template.md | 1 - installation/vs-code-integration/scaffoldings.md | 2 +- installation/vs-integration/scaffoldings.md | 2 +- 7 files changed, 12 insertions(+), 13 deletions(-) diff --git a/controls/datagrid/aggregates/delegate-aggregate-descriptor.md b/controls/datagrid/aggregates/delegate-aggregate-descriptor.md index 204950512..83df30d1a 100644 --- a/controls/datagrid/aggregates/delegate-aggregate-descriptor.md +++ b/controls/datagrid/aggregates/delegate-aggregate-descriptor.md @@ -19,7 +19,7 @@ To set up the `DelegateAggregateDescriptor`, use the following properties: The following example uses the `DelegateAggregateDescriptor` and a custom implementation for a `SumIf` function which sums the values in a range that meet a certain criteria: -**1.** Create a class that inherits from the `IKeyLookup` interface. It will return the values of a `Price` property declared in our business model that is of type `double`. +**1.** Create a class that inherits from the `IKeyLookup` interface. It returns the values of a `Price` property declared in the business model that is of type `double`. @@ -35,7 +35,7 @@ The following example uses the `DelegateAggregateDescriptor` and a custom implem -**5.** Set a source to the `RadDataGrid.ItemsSource` proeprty: +**5.** Set a source to the `RadDataGrid.ItemsSource` property: diff --git a/controls/datagrid/aggregates/overview.md b/controls/datagrid/aggregates/overview.md index fca40ff7a..eb4e58c89 100644 --- a/controls/datagrid/aggregates/overview.md +++ b/controls/datagrid/aggregates/overview.md @@ -42,7 +42,7 @@ To show the Aggregates in the group header, set the `ShowGroupHeaderAggregates` ![DataGrid Group Header Aggregate](../images/datagrid-group-header-aggregate.png) -To align the aggregates in the group according to its header set the `GroupAggregatesAlignment` (`enum` of type `Telerik.Maui.Controls.DataGrid.DataGridGroupAggregatesAlignment`) property. The available options are: +To align the aggregates in the group according to its header, set the `GroupAggregatesAlignment` (`enum` of type `Telerik.Maui.Controls.DataGrid.DataGridGroupAggregatesAlignment`) property. The available options are: * (default)`None`—Aggregates are not aligned to the DataGrid columns. The aggregates results are displayed after the text displayed for the group key. * `NextToHeader`—Aggregate results are aligned to the DataGrid columns and placed next to the header of the group. diff --git a/controls/datagrid/aggregates/property-aggregate-descriptor.md b/controls/datagrid/aggregates/property-aggregate-descriptor.md index d268f3e1f..ddfda84f3 100644 --- a/controls/datagrid/aggregates/property-aggregate-descriptor.md +++ b/controls/datagrid/aggregates/property-aggregate-descriptor.md @@ -32,7 +32,7 @@ The `PropertyAggregateDescriptor` supports the following `KnownFunction` aggrega The following example shows how to add a `PropertyAggregateDescriptor` to the DataGrid's columns. -The DataGrid will take the values from the `Name`, `Price`, `DeliveryPrice` and `Quantity` properties of the row model and the result will be the `Min`, `Max`, and `Average` delivery prices, as well as the `Count` of the listed items. +The DataGrid takes the values from the `Name`, `Price`, `DeliveryPrice` and `Quantity` properties of the row model and the result will be the `Min`, `Max`, and `Average` delivery prices, as well as the `Count` of the listed items. **1.** Define the DataGrid in XAML: diff --git a/controls/datagrid/aggregates/styling.md b/controls/datagrid/aggregates/styling.md index 44f9ade97..c75a2abcb 100644 --- a/controls/datagrid/aggregates/styling.md +++ b/controls/datagrid/aggregates/styling.md @@ -28,7 +28,7 @@ Use the following properties to style the `GroupHeader`: | `ButtonFontSize` | Defines the font size for the expand/collapse symbol of the `GroupHeader`. | | `ButtonMargin` | Defines the margin for the expand/collapse symbol of the `GroupHeader`. | | `ButtonTextColor` | Defines the color for the expand/collapse symbol of the `GroupHeader`. | -| `TextColor` | Defines the color for the text part of the `GroupHeader` | +| `TextColor` | Defines the color for the text part of the `GroupHeader`. | | `TextFontAttributes` | Defines the font attributes for the text part of the `GroupHeader`. | | `TextFontFamily` | Defines the font family for the text part of the `GroupHeader`. | | `TextFontSize` | Defines the size for the text part of the `GroupHeader`. | @@ -44,11 +44,11 @@ The available properties in the `GroupHeaderStyle` are: | Property | Description | | ------ | ------ | -| `AggregatesTextColor` | Defines the color for the aggregates part of the `GroupHeader` | -| `AggregatesTextFontAttributes` | Defines the font attributes for the aggregates part of the `GroupHeader` | -| `AggregatesTextFontFamily` | Defines the font family of the aggregates part of the `GroupHeader` | -| `AggregatesTextFontSize` | Defines the size of the aggregates part of the `GroupHeader` | -| `AggregatesTextMargin` | Defines the margin for the aggregates part of the `GroupHeader` | +| `AggregatesTextColor` | Defines the color for the aggregates part of the `GroupHeader`. | +| `AggregatesTextFontAttributes` | Defines the font attributes for the aggregates part of the `GroupHeader`. | +| `AggregatesTextFontFamily` | Defines the font family of the aggregates part of the `GroupHeader`. | +| `AggregatesTextFontSize` | Defines the size of the aggregates part of the `GroupHeader`. | +| `AggregatesTextMargin` | Defines the margin for the aggregates part of the `GroupHeader`. | The following example shows how to style the aggregate results in the group header when setting the `GroupHeaderStyle` in the page's resources: diff --git a/controls/treeview/templates/item-template.md b/controls/treeview/templates/item-template.md index b39dc397c..fad9465ff 100644 --- a/controls/treeview/templates/item-template.md +++ b/controls/treeview/templates/item-template.md @@ -24,7 +24,6 @@ The examples below shows how to define custom `ItemTemplate` by using the `ItemT