Skip to content

Commit d5aa3b1

Browse files
Merge pull request #3916 from syncfusion-content/998547
Prepare UG documentation for 2025 Volume 4 features - MAUI AssistView, TreeView
2 parents 175193f + d90fc9c commit d5aa3b1

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
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;

0 commit comments

Comments
 (0)