Skip to content

Commit b976637

Browse files
Merge remote-tracking branch 'remotes/origin/hotfix/hotfix-v30.1.37' into development
2 parents 9637e6e + da54987 commit b976637

File tree

205 files changed

+4003
-1259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+4003
-1259
lines changed

MAUI/AIAssistView/data-binding.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public class ViewModel : INotifyPropertyChanged
9090

9191
N> The `SfAIAssistView.AssistItems` property is of type `IList<IAssistItem>`. To ensure the [AssistItems](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_AssistItems) property functions correctly, it is recommended to use a collection property in the ViewModel with the same type, such as `ObservableCollection<IAssistItem>`.
9292

93-
## Binding Custom Model Collection
93+
## Binding custom model collection
9494

95-
The `SfAIAssistView` control provides support for binding collection of custom data objects through the `ItemsSource` property. This feature allows users to use their own data objects with the control. The `ItemsSource` property binds a collection of custom data objects to the `SfAIAssistView` and each item in the collection will be converted to an `AssistItem` and displayed in the view. The `ItemsSourceConverter` property sets the converter used to transform data objects into assist items and vice versa.
95+
The [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html) control provides support for binding collection of custom data objects through the [ItemsSource](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_ItemsSource) property. This feature allows users to use their own data objects with the control. The `ItemsSource` property binds a collection of custom data objects to the `SfAIAssistView` and each item in the collection will be converted to an `AssistItem` and displayed in the view. The [ItemsSourceConverter](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_ItemsSourceConverter) property sets the converter used to transform data objects into assist items and vice versa.
9696

9797
{% tabs %}
9898
{% highlight xaml hl_lines="15 16" %}
@@ -281,7 +281,7 @@ N> If you want your data objects to respond to property changes, then implement
281281
{% endhighlight %}
282282
{% endtabs %}
283283

284-
This converter must implement the `IAssistItemConverter` interface. Implement this interface to create a custom converter for the `ItemsSourceConverter` property.
284+
This converter must implement the [IAssistItemConverter](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.IAssistItemConverter.html) interface. Implement this interface to create a custom converter for the `ItemsSourceConverter` property.
285285

286286
{% tabs %}
287287
{% highlight c# tabtitle="AssistItemConverter.cs" hl_lines="1" %}
@@ -336,9 +336,11 @@ This converter must implement the `IAssistItemConverter` interface. Implement th
336336

337337
{% endhighlight %}
338338
{% endtabs %}
339-
339+
340340
N> The `Data` property in `AssistItem` holds a reference to the original data object which is used for data operations.
341341

342+
N> [View Sample in GitHub](https://github.com/SyncfusionExamples/custom-model-collection-in-.net-maui-aiassistview).
343+
342344
## Bind the RequestCommand property
343345

344346
The [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html) control allows you to handle user requests by binding them to the [RequestCommand](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_RequestCommand) property. This command is triggered whenever the user sends a request in the assist view.

MAUI/AIAssistView/emptyview.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ control: AI AssistView
66
documentation: ug
77
---
88

9-
# Empty view in .NET MAUI AI AssistView
9+
# Empty View in .NET MAUI AI AssistView
1010

11-
The `AI AssistView` control allows you to display and customize the empty view content when no request or response has been added.
11+
The [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html) control allows you to display and customize the empty view content when no request or response has been added.
1212

1313
## Display empty view when AI AssistView has no items
1414

15-
The `EmptyView` property can also be set to a string or a view, which will be displayed when no request or response is available to display in the control.
15+
The [EmptyView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_EmptyView) property can also be set to a string or a view, which will be displayed when no request or response is available to display in the control.
1616

1717
{% tabs %}
1818
{% highlight xaml hl_lines="5" %}
@@ -42,9 +42,9 @@ public partial class MainPage : ContentPage
4242
{% endhighlight %}
4343
{% endtabs %}
4444

45-
## EmptyView Customization
45+
## Empty view customization
4646

47-
The `SfAIAssistView` control allows you to fully customize the empty view appearance by using the `EmptyViewTemplate` property. This property lets you define a custom layout and style for the `EmptyView`.
47+
The `SfAIAssistView` control allows you to fully customize the empty view appearance by using the [EmptyViewTemplate](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_EmptyViewTemplate) property. This property lets you define a custom layout and style for the `EmptyView`.
4848

4949
{% tabs %}
5050
{% highlight xaml hl_lines="5 6" %}
@@ -165,3 +165,5 @@ The `SfAIAssistView` control allows you to fully customize the empty view appear
165165
N>
166166
* The `EmptyViewTemplate` will only be applied when the `EmptyView` property is explicitly defined. If `EmptyView` is not set, the template will not be displayed.
167167
* `EmptyView` can be set to custom data model and the appearance of the `EmptyView` can be customized by using the `EmptyViewTemplate`.
168+
169+
N> [View Sample in GitHub](https://github.com/SyncfusionExamples/how-to-display-empty-view-when-.net-maui-aiassistview-has-no-data).

MAUI/AIAssistView/getting-started.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before proceeding, ensure the following are in place:
2727
2. Name the project and choose a location. Then, click **Next.**
2828
3. Select the .NET framework version and click **Create.**
2929

30-
## Step 2: Install the Syncfusion MAUI AI AssistView NuGet Package
30+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI AI AssistView NuGet package
3131

3232
1. In **Solution Explorer**, right-click the project and choose **Manage NuGet Packages**.
3333
2. Search for [Syncfusion.Maui.AIAssistView](https://www.nuget.org/packages/Syncfusion.Maui.AIAssistView) and install the latest version.
@@ -66,7 +66,7 @@ namespace GettingStarted
6666
{% endhighlight %}
6767
{% endtabs %}
6868

69-
## Step 4: Add a Basic AI AssistView
69+
## Step 4: Add a basic AI AssistView
7070

7171
1. To initialize the control, import the `Syncfusion.Maui.AIAssistView` namespace into your code.
7272
2. Initialize [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html).
@@ -99,7 +99,7 @@ namespace GettingStarted
9999
{% endhighlight %}
100100
{% endtabs %}
101101

102-
## Step 5: Define the View Model
102+
## Step 5: Define the view model
103103

104104
Next, create a view model class and initialize the collection of [AssistItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistItem.html) instance as follows
105105

@@ -230,7 +230,7 @@ To populate AI AssistView, bind the assist items in ViewModel to [AssistItems](h
230230
{% endhighlight %}
231231
{% endtabs %}
232232

233-
## Step 6: Running the Application
233+
## Step 6: Running the application
234234

235235
Press **F5** to build and run the application. Once compiled, the AI AssistView will be displayed with the data provided.
236236

@@ -255,7 +255,7 @@ Before proceeding, ensure the following are in place:
255255
3. Select the project location, type the project name and press **Enter.**
256256
4. Then choose **Create project.**
257257

258-
## Step 2: Install the Syncfusion MAUI AI AssistView NuGet Package
258+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI AI AssistView NuGet package
259259

260260
1. In **Solution Explorer**, right-click the project and choose **Manage NuGet Packages**.
261261
2. Search for [Syncfusion.Maui.AIAssistView](https://www.nuget.org/packages/Syncfusion.Maui.AIAssistView) and install the latest version.
@@ -294,7 +294,7 @@ namespace GettingStarted
294294
{% endhighlight %}
295295
{% endtabs %}
296296

297-
## Step 4: Add a Basic AI AssistView
297+
## Step 4: Add a basic AI AssistView
298298

299299
1. To initialize the control, import the `Syncfusion.Maui.AIAssistView` namespace into your code.
300300
2. Initialize [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html).
@@ -327,7 +327,7 @@ namespace GettingStarted
327327
{% endhighlight %}
328328
{% endtabs %}
329329

330-
## Step 5: Define the View Model
330+
## Step 5: Define the view model
331331

332332
Next, create a view model class and initialize the collection of [AssistItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistItem.html) instance as follows
333333

@@ -458,7 +458,7 @@ To populate AI AssistView, bind the assist items in ViewModel to [AssistItems](h
458458
{% endhighlight %}
459459
{% endtabs %}
460460

461-
## Step 6: Running the Application
461+
## Step 6: Running the application
462462

463463
Press **F5** to build and run the application. Once compiled, the AI AssistView will be displayed with the data provided.
464464

@@ -478,13 +478,13 @@ Before proceeding, ensure the following are set up:
478478
2. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) or later is installed.
479479
3. Make sure the MAUI workloads are installed and configured as described [here.](https://www.jetbrains.com/help/rider/MAUI.html#before-you-start)
480480

481-
## Step 1: Create a new .NET MAUI Project
481+
## Step 1: Create a new .NET MAUI project
482482

483483
1. Go to **File > New Solution,** Select .NET (C#) and choose the .NET MAUI App template.
484484
2. Enter the Project Name, Solution Name, and Location.
485485
3. Select the .NET framework version and click Create.
486486

487-
## Step 2: Install the Syncfusion<sup>®</sup> MAUI AI AssistView NuGet Package
487+
## Step 2: Install the Syncfusion<sup>®</sup> MAUI AI AssistView NuGet package
488488

489489
1. In **Solution Explorer,** right-click the project and choose **Manage NuGet Packages.**
490490
2. Search for [Syncfusion.Maui.AIAssistView](https://www.nuget.org/packages/Syncfusion.Maui.AIAssistView/) and install the latest version.
@@ -523,7 +523,7 @@ namespace GettingStarted
523523
{% endhighlight %}
524524
{% endtabs %}
525525

526-
## Step 4: Add a Basic AI AssistView
526+
## Step 4: Add a basic AI AssistView
527527

528528
1. To initialize the control, import the `Syncfusion.Maui.AIAssistView` namespace into your code.
529529
2. Initialize [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html).
@@ -558,7 +558,7 @@ namespace GettingStarted
558558
{% endtabcontent %}
559559
{% endtabcontents %}
560560

561-
## Request and Response item
561+
## Request and response item
562562

563563
The [IsRequested](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistItem.html#Syncfusion_Maui_AIAssistView_AssistItem_IsRequested) property is used to determine whether a item is a Request or a Response. If `IsRequested` property is set to `true`, the item is a Request item.
564564

MAUI/AIAssistView/header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ control: SfAIAssistView
77
documentation: ug
88
---
99

10-
# Header customization in .NET MAUI AI AssistView (SfAIAssistView)
10+
# Header Customization in .NET MAUI AI AssistView (SfAIAssistView)
1111

1212
This section explains how to define and customize the header in the [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.html).
1313

MAUI/AIAssistView/styles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ public MainPage()
10431043

10441044
![Stop responding style in .NET MAUI AI AssistView](images/styles/maui-aiassistview-styles-stopresponding.png)
10451045

1046-
## Text Selection styling
1046+
## Text selection styling
10471047

10481048
To modify the highlight color of selected text, you need to update the value associated with the built-in key `SfAIAssistViewSelectionTextHighLightColor` in the resource dictionary.
10491049

@@ -1091,7 +1091,7 @@ public MainPage()
10911091

10921092
![Text Selection style in .NET MAUI AI AssistView](Images/styles/maui-aiassistview-styles-textselection.png)
10931093

1094-
## Common Suggestions styling
1094+
## Common suggestions styling
10951095

10961096
To style the common suggestion view based on its appearance, set values to the in-built keys in the resource dictionary.
10971097

MAUI/AIAssistView/suggestions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ documentation: ug
99

1010
# Working with Suggestions in .NET MAUI AI AssistView (SfAIAssistView)
1111

12-
## Common Suggestions
12+
## Common suggestions
1313

1414
The `SfAIAssistView` control allows users to view a list of common suggestions to choose from. These suggestions offer recommendations, helpful tips, and guides for various tasks and topics.
1515

1616
By providing assistance and encouraging the exploration of new ideas, the common suggestions feature is designed to make interactions more productive and enjoyable.
1717

18-
### Displaying Common Suggestions
18+
### Displaying common suggestions
1919

2020
Common Suggestions can be populated by creating list of [AssistSuggestion](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistSuggestion.html) and assigning it to [Suggestions](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_Suggestions) API. It will be displayed under the header as part of header view.
2121

22-
#### View Model
22+
#### View model
2323
Create a simple view model as shown in the following code example, and save it as `GettingStartedViewModel.cs` file.
2424

2525
{% tabs %}
@@ -59,7 +59,7 @@ public class GettingStartedViewModel : INotifyPropertyChanged
5959
{% endhighlight %}
6060
{% endtabs %}
6161

62-
#### Binding Suggestions to SfAIAssistView
62+
#### Binding suggestions to SfAIAssistView
6363
To populate the Suggestions, bind the item collection from its BindingContext to `SfAIAssistView.Suggestions` property.
6464

6565
{% tabs %}
@@ -111,7 +111,7 @@ public partial class MainPage : ContentPage
111111

112112
N> To view [Suggestions](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_Suggestions), it is mandatory to set [ShowHeader](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_ShowHeader) API to `true`.
113113

114-
### Suggestion Customization
114+
### Suggestion customization
115115

116116
The `SfAIAssistView` control allows you to fully customize the suggestions appearance by using the [SuggestionTemplate](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html#Syncfusion_Maui_AIAssistView_SfAIAssistView_SuggestionTemplate) property. This property lets you define a custom layout and style for the suggestion items.
117117

@@ -168,11 +168,11 @@ public partial class MainPage : ContentPage
168168

169169
![Suggestion Template in .NET MAUI AI AssistView](Images/suggestions/maui-aiassistview-suggestions-commonsuggestiontemplate.png)
170170

171-
## ResponseItem Suggestions
171+
## ResponseItem suggestions
172172

173173
The [SfAIAssistView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.SfAIAssistView.html) control enables the display of a list of suggestions for users to select from. Suggestions are supported for all response item types in `SfAIAssistView`.
174174

175-
### Displaying ResponseItem Suggestions
175+
### Displaying ResponseItem suggestions
176176

177177
Suggestions are displayed by creating an instance of [AssistSuggestion](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistSuggestion.html) and assigning it to the item's [Suggestion](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistItem.html#Syncfusion_Maui_AIAssistView_AssistItem_Suggestion) property.
178178

@@ -344,7 +344,7 @@ The [AssistItemSuggestion.Orientation](https://help.syncfusion.com/cr/maui/Syncf
344344
{% endhighlight %}
345345
{% endtabs %}
346346

347-
#### Changing the Item spacing of suggestions
347+
#### Changing the item spacing of suggestions
348348

349349
The [AssistItemSuggestion.ItemSpacing](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.AIAssistView.AssistItemSuggestion.html#Syncfusion_Maui_AIAssistView_AssistItemSuggestion_ItemSpacing) property allows you to display suggestions with Spacing. By, default, the spacing is 8.
350350

@@ -384,7 +384,7 @@ The [AssistItemSuggestion.ItemSpacing](https://help.syncfusion.com/cr/maui/Syncf
384384
{% endhighlight %}
385385
{% endtabs %}
386386

387-
### ResponseItem Suggestion Customization
387+
### Response item suggestion customization
388388
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.
389389

390390
{% tabs %}

0 commit comments

Comments
 (0)