Skip to content

Commit da25953

Browse files
Update Theme keys
1 parent bdb143c commit da25953

File tree

2 files changed

+32
-35
lines changed

2 files changed

+32
-35
lines changed

MAUI/AIAssistView/working-with-aiassistview.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -376,21 +376,20 @@ Bind the `ActionButtons` collection with one or more `ActionButton` items to pop
376376
- `CommandParameter`: Passes a parameter to the command when executed.
377377

378378
{% tabs %}
379-
{% highlight xaml hl_lines="4 5 6 7 8" %}
379+
{% highlight xaml hl_lines="4 5 6 7" %}
380380

381381
<syncfusion:SfAIAssistView x:Name="sfAIAssistView"
382382
ShowActionButtons="True"
383383
AssistItems="{Binding AssistItems}">
384384
<syncfusion:SfAIAssistView.ActionButtons>
385-
<syncfusion:ActionButton Text="Copy" Icon="copy.png" Command="{Binding CopyCommand}" />
386-
<syncfusion:ActionButton Text="Clear" Icon="trash.png" Command="{Binding ClearCommand}" />
387-
<syncfusion:ActionButton Text="Share" Icon="share.png" Command="{Binding ShareCommand}" />
385+
<syncfusion:ActionButton Text="Upload images" Icon="image.png" Command="{Binding UploadCommand}" />
386+
<syncfusion:ActionButton Text="Search in web" Icon="web.png" Command="{Binding SearchCommand}" />
388387
</syncfusion:SfAIAssistView.ActionButtons>
389388
</syncfusion:SfAIAssistView>
390389

391390
{% endhighlight %}
392391

393-
{% highlight c# hl_lines="15 17 23 29" %}
392+
{% highlight c# hl_lines="15 17 23" %}
394393

395394
using Syncfusion.Maui.AIAssistView;
396395

@@ -410,22 +409,16 @@ public partial class MainPage : ContentPage
410409
{
411410
new ActionButton
412411
{
413-
Text = "Copy",
414-
Icon = ImageSource.FromFile("copy.png"),
415-
Command = this.viewModel.CopyCommand
412+
Text = "Upload images",
413+
Icon = ImageSource.FromFile("image.png"),
414+
Command = this.viewModel.UploadCommand
416415
},
417416
new ActionButton
418417
{
419-
Text = "Clear",
420-
Icon = ImageSource.FromFile("trash.png"),
421-
Command = this.viewModel.ClearCommand
418+
Text = "Search in web",
419+
Icon = ImageSource.FromFile("web.png"),
420+
Command = this.viewModel.SearchCommand
422421
},
423-
new ActionButton
424-
{
425-
Text = "Share",
426-
Icon = ImageSource.FromFile("share.png"),
427-
Command = this.viewModel.ShareCommand
428-
}
429422
};
430423

431424
this.Content = sfAIAssistView;

MAUI/Themes/Keys.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -491,40 +491,44 @@ This page lists the keys associated with each control and the respective UI elem
491491
<td> Stroke thickness for the stop responding view.<br/><br/></td>
492492
</tr>
493493
<tr>
494-
<td> SfAIAssistViewSelectionTextHighLightColor<br/><br/></td>
495-
<td> Color to highlight the selected text. <br/><br/></td>
494+
<td> SfAIAssistViewSelectionTextHighLightColor<br/><br/></td>
495+
<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>
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>
528532
</tr>
529533
</table>
530534

0 commit comments

Comments
 (0)