Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

<snippet id='datagrid-delegate-aggregate-key'/>

Expand All @@ -35,7 +35,7 @@ The following example uses the `DelegateAggregateDescriptor` and a custom implem

<snippet id='datagrid-aggregates-model'/>

**5.** Set a source to the `RadDataGrid.ItemsSource` proeprty:
**5.** Set a source to the `RadDataGrid.ItemsSource` property:

<snippet id='datagrid-gelegate-aggregate-source'/>

Expand Down
2 changes: 1 addition & 1 deletion controls/datagrid/aggregates/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`&mdash;Aggregates are not aligned to the DataGrid columns. The aggregates results are displayed after the text displayed for the group key.
* `NextToHeader`&mdash;Aggregate results are aligned to the DataGrid columns and placed next to the header of the group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
12 changes: 6 additions & 6 deletions controls/datagrid/aggregates/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`. |
Expand All @@ -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:

Expand Down
1 change: 0 additions & 1 deletion controls/treeview/templates/item-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ The examples below shows how to define custom `ItemTemplate` by using the `ItemT
<telerik:RadTreeView x:Name="treeView"
ItemsSource="{Binding Items}">
<telerik:TreeViewDescriptor ItemsSourcePath="Children"
DisplayMemberPath="Name"
TargetType="{x:Type local:Item}" />
<!-- modify the label and add additional elements in the label area.
ItemTemplate does not include expand indicator, image, checkbox, only the text, you can add additional elements to it.
Expand Down
2 changes: 1 addition & 1 deletion installation/vs-code-integration/scaffoldings.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ To show a newly scaffolded page in your MAUI app, specify the page's namespace.

### Using a Blank App Template

Set the screen directly to the `MainPage` of the application isndie the `App.xaml.cs` file when using a Blank app template
Set the screen directly to the `MainPage` of the application inside the `App.xaml.cs` file when using a Blank app template.

```C#
MainPage = new MyApp.Pages.TelerikDataGridPage();
Expand Down
2 changes: 1 addition & 1 deletion installation/vs-integration/scaffoldings.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To show a newly scaffolded page in your MAUI app, specify the page's namespace.

### Using a Blank App Template

Set the screen directly to the `MainPage` of the application isndie the `App.xaml.cs` file when using a Blank app template
Set the screen directly to the `MainPage` of the application inside the `App.xaml.cs` file when using a Blank app template.

```C#
MainPage = new MyApp.Pages.TelerikDataGridPage();
Expand Down