diff --git a/wpf/AI-AssistView/Getting-Started.md b/wpf/AI-AssistView/Getting-Started.md
index c7f5ef535a..e83dfbe229 100644
--- a/wpf/AI-AssistView/Getting-Started.md
+++ b/wpf/AI-AssistView/Getting-Started.md
@@ -1,7 +1,7 @@
---
layout: post
title: Getting Started with WPF AI AssistView control | Syncfusion
-description: Learn about getting started with the Syncfusion WinUI AI AssistView (SfAIAssistView) control with its basic features.
+description: Learn about getting started with the Syncfusion WPF AI AssistView (SfAIAssistView) control with its basic features.
platform: wpf
control: AI AssistView
documentation: ug
@@ -9,16 +9,18 @@ documentation: ug
# Getting Started with WPF AI AssistView
-This section explains the steps required to add the WinUI [SfAIAssistView](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Chat.SfAIAssistView.html) control with its basic features.
+This section explains the steps required to add the Wpf [SfAIAssistView](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Chat.SfAIAssistView.html) control with its basic features.
-## Creating an application with WPF AI AssistView
+## Structure of SfAIAssistView
-1. Create a [Wpf desktop app for C# and .NET 6](https://docs.microsoft.com/en-us/windows/apps/winui/winui3/get-started-winui3-for-desktop).
+
+
+## Adding WPF SfAIAssistview via xaml
+
+1. Create a [Wpf desktop app for C# and .NET 6](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/get-started/create-app-visual-studio?view=netdesktop-9.0).
2. Add reference to [Syncfusion.SfChat.Wpf](https://www.nuget.org/packages/Syncfusion.SfChat.Wpf) NuGet.
3. Import the control namespace `Syncfusion.UI.Xaml.Chat` in XAML or C# code.
-4. Initialize the [SfAIAssistView](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Chat.SfAIAssistView.html) control.
-
-## Initialize AI AssistView
+4. Initialize the [SfAIAssistView](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Chat.SfAIAssistView.html) control.
{% tabs %}
{% highlight xaml %}
@@ -38,42 +40,47 @@ This section explains the steps required to add the WinUI [SfAIAssistView](https
-{% endhighlight %}
+{% endhighlight %}
+{% endtabs %}
+## Adding WPF SfAIAssistview via C#
+
+1. Create a [Wpf desktop app for C# and .NET 6](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/get-started/create-app-visual-studio?view=netdesktop-9.0).
+2. Add reference to [Syncfusion.SfChat.Wpf](https://www.nuget.org/packages/Syncfusion.SfChat.Wpf) NuGet.
+3. Import the control namespace `Syncfusion.UI.Xaml.Chat` in XAML or C# code.
+4. Initialize the [SfAIAssistView](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Chat.SfAIAssistView.html) control.
+
+{% tabs %}
{% highlight C# %}
-// Creating an instance of the AI AssistView control.
-SfAIAssistView aiAssistView = new SfAIAssistView();
+using Syncfusion.UI.Xaml.Chat;
+
+namespace GettingStarted
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ this.InitializeComponent();
+ // Creating an instance of the AIAssistView control
+ SfAIAssistView assistView = new SfAIAssistView();
+ grid.Children.Add(assistView);
+ }
+ }
+}
{% endhighlight %}
{% endtabs %}
+
## Creating ViewModel for AI AssistView
Create a simple chat collection as shown in the following code example in a new class file. Save it as ViewModel.cs file.
{% tabs %}
-
-{% highlight xaml %}
-
-
-
-
-
-
-
-{% endhighlight %}
-
{% highlight C# %}
public class ViewModel : INotifyPropertyChanged
@@ -89,9 +96,9 @@ Create a simple chat collection as shown in the following code example in a new
private async void GenerateMessages()
{
- this.Chats.Add( new TextMessage { Author = CurrentUser, Text = "What is WinUI?" } );
+ this.Chats.Add( new TextMessage { Author = CurrentUser, Text = "What is WPF?" } );
await Task.Delay(1000);
- this.Chats.Add( new TextMessage { Author = new Author { Name = "Bot" }, Text = "WinUI is a user interface layer that contains modern controls and styles for building Windows apps." });
+ this.Chats.Add( new TextMessage { Author = new Author { Name = "Bot" }, Text = "WPF is a user interface layer that contains modern controls and styles for building Windows apps." });
}
public ObservableCollection