@@ -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
395394using 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;
0 commit comments