Skip to content

Commit 7c00620

Browse files
committed
address comments
1 parent c30eb36 commit 7c00620

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

knowledge-base/attaching-images-dotnet-maui-chat.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ I want to know how to attach an image in the .NET MAUI Chat and display the imag
2121
This knowledge base article also answers the following questions:
2222
- How to upload an image in .NET MAUI Chat?
2323
- How to create a custom template for images in .NET MAUI Chat?
24-
- How to use ItemTemplateSelector to manage media content in .NET MAUI Chat?
24+
- How to use `ItemTemplateSelector` to manage media content in .NET MAUI Chat?
2525

2626
## Solution
2727

@@ -115,13 +115,13 @@ add additional elements here <ImageButton /> or <telerik:RadTemplatedButton />
115115

116116
Use the following steps to display images in the chat:
117117

118-
1. Implement the logic for uploading images in the button's command.
118+
**1.** Implement the logic for uploading images in the button's command.
119119
>note To handle image uploads in .NET MAUI, you need to ensure your application has the necessary permissions to access the device's storage and camera.
120120
121-
2. Create a custom `ItemTemplate` to display image messages.
122-
3. Use the `ItemTemplateSelector` to dynamically choose templates based on message content.
121+
**2.** Create a custom `ItemTemplate` to display image messages.
122+
**3.** Use the `ItemTemplateSelector` to dynamically choose templates based on message content.
123123

124-
Follow the steps outlined in the [ItemTemplateSelector documentation](https://docs.telerik.com/devtools/maui/controls/chat/item-template-selector) to configure this functionality.
124+
Follow the steps outlined in the [`ItemTemplateSelector` documentation](https://docs.telerik.com/devtools/maui/controls/chat/item-template-selector) to configure this functionality.
125125

126126
Example of an `ItemTemplate` for rendering messages with images:
127127

knowledge-base/remembering-restoring-expanded-rows-treedatagrid-dotnet-maui.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,12 @@ public partial class MainPage : ContentPage
8484

8585
### Using `IsExpandableBinding`
8686

87-
As an alternative, use the [`IsExpandableBinding`](https://docs.telerik.com/devtools/maui/controls/treedatagrid/descriptor) property at the descriptor level:
87+
As an alternative, use the [`IsExpandableBinding`](https://docs.telerik.com/devtools/maui/controls/treedatagrid/descriptor) property at the descriptor level. This approach provides direct control over the expandability of rows via data binding.
8888

8989
1. Add a `bool` property in the data model to indicate whether an item is expandable.
9090
2. Bind this property to the `IsExpandableBinding` property of the TreeDataGrid descriptor.
9191
3. Implement the logic in button clicks to get and restore expanded items.
9292

93-
This approach provides direct control over the expandability of rows via data binding.
94-
9593
## See Also
9694

9795
- [TreeDataGrid Overview](https://docs.telerik.com/devtools/maui/controls/treedatagrid/overview)

styling-and-themes/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ After applying the `Purple` swatch, the ToggleButton looks like this:
124124
125125
## Applying Theme Colors throughout the App
126126

127-
You can use the colors provided by the Telerik theming mechanism and apply them everywhere in your application. Each theme swatch provides a set of colors that you can use in parts of your app that aren't Telerik components. This allows you to achieve a consistent look and feel.
127+
You can use the colors provided by the Telerik theme and its swatches. Each theme swatch provides a set of colors that you can use in parts of your app that aren't Telerik components. This allows you to achieve a consistent look & feel.
128128

129129
For example, you can use the `RadAppSurfaceColor` and `RadOnAppSurfaceColor` colors for background/text color respectively, and `RadPrimaryColor` for the accent color to match the appearance of the Telerik controls:
130130

0 commit comments

Comments
 (0)