Skip to content

Commit b213e9a

Browse files
address review correction
1 parent b1a27b2 commit b213e9a

File tree

6 files changed

+34
-53
lines changed

6 files changed

+34
-53
lines changed
10 KB
Loading

MAUI/AIAssistView/items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ The following views can be customized individually:
559559
</ContentPage>
560560

561561
{% endhighlight %}
562-
{% highlight c# hl_lines="21 47" %}
562+
{% highlight c# hl_lines="23 47" %}
563563

564564
using Syncfusion.Maui.AIAssistView;
565565

MAUI/AIAssistView/styles.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,14 @@ To style the response suggestion header text view based on its appearance, set v
13111311
<td> SfAIAssistViewSuggestionHeaderFontSize </td>
13121312
<td> Font size of response suggestion header text. </td>
13131313
</tr>
1314+
<tr>
1315+
<td> SfAIAssistViewSuggestionHeaderFontFamily </td>
1316+
<td> Font family of response suggestion header text. </td>
1317+
</tr>
1318+
<tr>
1319+
<td> SfAIAssistViewSuggestionHeaderFontAttributes </td>
1320+
<td> Font attributes of response suggestion header text. </td>
1321+
</tr>
13141322
</table>
13151323

13161324
{% tabs %}
@@ -1323,6 +1331,8 @@ To style the response suggestion header text view based on its appearance, set v
13231331
<x:String x:Key="SfAIAssistViewTheme">CustomTheme</x:String>
13241332
<Color x:Key="SfAIAssistViewSuggestionHeaderTextColor">DarkBlue</Color>
13251333
<x:Double x:Key="SfAIAssistViewSuggestionHeaderFontSize">14</x:Double>
1334+
<x:String x:Key="SfAIAssistViewSuggestionHeaderFontFamily">Roboto-Medium</x:String>
1335+
<FontAttributes x:Key="SfAIAssistViewSuggestionHeaderFontAttributes">Bold</FontAttributes>
13261336
</ResourceDictionary>
13271337
</syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
13281338
</syncTheme:SyncfusionThemeDictionary>
@@ -1338,11 +1348,12 @@ public MainPage()
13381348
ResourceDictionary dictionary = new ResourceDictionary();
13391349
dictionary.Add("SfAIAssistViewTheme", "CustomTheme");
13401350
dictionary.Add("SfAIAssistViewSuggestionHeaderTextColor", Colors.DarkBlue);
1341-
dictionary.Add("SfAIAssistViewSuggestionHeaderFontSize", 14.0);
1351+
dictionary.Add("SfAIAssistViewSuggestionHeaderFontSize", 14);
1352+
dictionary.Add("SfAIAssistViewSuggestionHeaderFontFamily", "Roboto-Medium");
1353+
dictionary.Add("SfAIAssistViewSuggestionHeaderFontAttributes", FontAttributes.Bold);
13421354
this.Resources.Add(dictionary);
13431355
....
13441356
}
13451357

13461358
{% endhighlight %}
13471359
{% endtabs %}
1348-

MAUI/AIAssistView/suggestions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ The `SfAIAssistView` control allows you to define the header text for each respo
420420
{% endhighlight %}
421421
{% endtabs %}
422422

423+
![Suggestion Header Text in .NET MAUI AI AssistView](Images/suggestions/maui-aiassistview-suggestion-headertext.png)
424+
423425
### Response item suggestion customization
424426
The `SfAIAssistView` control allows you to fully customize the appearance of the response suggestion items using the [ResponseSuggestionTemplate](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_ResponseSuggestionTemplate) property. This property lets you define a custom layout and style for the suggestion item UI.
425427

MAUI/AIAssistView/working-with-aiassistview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ N> **Interaction**: On desktop (Windows, macOS), hover over a request to reveal
276276
The `SfAIAssistView` control allows you to fully customize the editor's appearance by using the [EditorViewTemplate](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_EditorViewTemplate) property. This property lets you define a custom layout and style for the editor.
277277

278278
{% tabs %}
279-
{% highlight xaml tabtitle="XAML" hl_lines="13" %}
279+
{% highlight xaml hl_lines="13" %}
280280

281281
<ContentPage.Resources>
282282
<ResourceDictionary>
@@ -1057,7 +1057,7 @@ The `SfAIAssistView` control allows you to fully customize the scroll-to-bottom
10571057
ScrollToBottomButtonTemplate="{StaticResource scrollToBottomButtonTemplate}" />
10581058

10591059
{% endhighlight %}
1060-
{% highlight c# hl_lines="10" %}
1060+
{% highlight c# hl_lines="11" %}
10611061

10621062
using Syncfusion.Maui.AIAssistView;
10631063

MAUI/Themes/Keys.md

Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -495,68 +495,36 @@ This page lists the keys associated with each control and the respective UI elem
495495
<td> Color to highlight the selected text. <br/><br/></td>
496496
</tr>
497497
<tr>
498-
<td> SfAIAssistViewHeaderSuggestionBackground<br/><br/></td>
499-
<td> Background color of the common suggestions view.<br/><br/></td>
498+
<td> SfAIAssistViewHeaderSuggestionBackground<br/><br/></td>
499+
<td> Background color of the common suggestions view.<br/><br/></td>
500500
</tr>
501501
<tr>
502-
<td> SfAIAssistViewHeaderSuggestionItemStroke<br/><br/></td>
503-
<td> Stroke color for the common suggestion item.<br/><br/></td>
502+
<td> SfAIAssistViewHeaderSuggestionItemStroke<br/><br/></td>
503+
<td> Stroke color for the common suggestion item.<br/><br/></td>
504504
</tr>
505505
<tr>
506-
<td> SfAIAssistViewHeaderSuggestionItemStrokeThickness<br/><br/></td>
507-
<td> Stroke thickness for the common suggestion item.<br/><br/></td>
506+
<td> SfAIAssistViewHeaderSuggestionItemStrokeThickness<br/><br/></td>
507+
<td> Stroke thickness for the common suggestion item.<br/><br/></td>
508508
</tr>
509509
<tr>
510-
<td> SfAIAssistViewHeaderSuggestionItemBackground<br/><br/></td>
511-
<td> Background color of an item in the common suggestions.<br/><br/></td>
510+
<td> SfAIAssistViewHeaderSuggestionItemBackground<br/><br/></td>
511+
<td> Background color of an item in the common suggestions.<br/><br/></td>
512512
</tr>
513513
<tr>
514-
<td> SfAIAssistViewHeaderSuggestionItemTextColor<br/><br/></td>
515-
<td> Text color of an item in the common suggestions.<br/><br/></td>
514+
<td> SfAIAssistViewHeaderSuggestionItemTextColor<br/><br/></td>
515+
<td> Text color of an item in the common suggestions.<br/><br/></td>
516516
</tr>
517517
<tr>
518-
<td> SfAIAssistViewHeaderSuggestionItemFontSize<br/><br/></td>
519-
<td> Font size of an item in the common suggestions.<br/><br/></td>
518+
<td> SfAIAssistViewHeaderSuggestionItemFontSize<br/><br/></td>
519+
<td> Font size of an item in the common suggestions.<br/><br/></td>
520520
</tr>
521521
<tr>
522-
<td> SfAIAssistViewHeaderSuggestionItemFontFamily<br/><br/></td>
523-
<td> Font family of an item in the common suggestions.<br/><br/></td>
522+
<td> SfAIAssistViewHeaderSuggestionItemFontFamily<br/><br/></td>
523+
<td> Font family of an item in the common suggestions.<br/><br/></td>
524524
</tr>
525525
<tr>
526-
<td> SfAIAssistViewHeaderSuggestionItemFontAttribute<br/><br/></td>
527-
<td> Font attributes of an item in the common suggestions.<br/><br/></td>
528-
</tr>
529-
<tr>
530-
<td> SfAIAssistViewScrollToBottomButtonBackground <br/><br/></td>
531-
<td> Background color of the scroll to bottom button view. <br/><br/></td>
532-
</tr>
533-
<tr>
534-
<td> SfAIAssistViewScrollToBottomButtonIconColor <br/><br/></td>
535-
<td> Color of the scroll to bottom button. <br/><br/></td>
536-
</tr>
537-
<tr>
538-
<td> SfAIAssistViewActionButtonBackground <br/><br/></td>
539-
<td> Background color of the action button. <br/><br/></td>
540-
</tr>
541-
<tr>
542-
<td> SfAIAssistViewActionButtonIconColor <br/><br/></td>
543-
<td> Color of the action button. <br/><br/></td>
544-
</tr>
545-
<tr>
546-
<td> SfAIAssistViewActionButtonViewTextColor <br/><br/></td>
547-
<td> Text color of an item in the action button. <br/><br/></td>
548-
</tr>
549-
<tr>
550-
<td> SfAIAssistViewActionButtonsPopupBackground <br/><br/></td>
551-
<td> Background color of the action buttons view. <br/><br/></td>
552-
</tr>
553-
<tr>
554-
<td> SfAIAssistViewSuggestionHeaderTextColor <br/><br/></td>
555-
<td> Text color of response suggestion header text. <br/><br/></td>
556-
</tr>
557-
<tr>
558-
<td> SfAIAssistViewSuggestionHeaderFontSize <br/><br/></td>
559-
<td> Font size of response suggestion header text. <br/><br/></td>
526+
<td> SfAIAssistViewHeaderSuggestionItemFontAttribute<br/><br/></td>
527+
<td> Font attributes of an item in the common suggestions.<br/><br/></td>
560528
</tr>
561529
</table>
562530

0 commit comments

Comments
 (0)