Class ResponseTextView
Represents the response text view control which is used for SfAIAssistView.
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class ResponseTextView : ContentView
Constructors
ResponseTextView()
Initializes a new instance of the ResponseTextView class.
Declaration
public ResponseTextView()
Methods
OnBindingContextChanged()
Occurs when the binding context changes. While markdown content is streaming, removes the associated response views from the visual tree so they can be shown after streaming completes. For non-streaming items that have no text or that carry an ErrorMessage, the markdown viewer never raises its sizing or streaming events, so the response views (footer actions, sources, suggestions) are added explicitly here.
Declaration
protected override void OnBindingContextChanged()
OnPropertyChanged(string)
Handles the property changes for ResponseTextView.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | Represents the property changed event arguments. |