Class SchedulerAssistViewSettings
Provides the AI Assist View surface and related configuration for the Smart Scheduler.
Inheritance
Namespace: Syncfusion.Maui.SmartComponents
Assembly: Syncfusion.Maui.SmartComponents.dll
Syntax
public class SchedulerAssistViewSettings : Element
Constructors
SchedulerAssistViewSettings()
Initializes a new instance of the SchedulerAssistViewSettings class.
Declaration
public SchedulerAssistViewSettings()
Fields
AssistStyleProperty
Identifies the AssistStyle dependency property.
Declaration
public static readonly BindableProperty AssistStyleProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the AssistStyle bindable property. |
AssistViewBannerTemplateProperty
Identifies the AssistViewBannerTemplateProperty dependency property.
Declaration
public static readonly BindableProperty AssistViewBannerTemplateProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the AssistViewBannerTemplateProperty bindable property. |
AssistViewHeaderTemplateProperty
Identifies the AssistViewHeaderTemplateProperty dependency property.
Declaration
public static readonly BindableProperty AssistViewHeaderTemplateProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the AssistViewHeaderTemplateProperty bindable property. |
AssistViewHeaderTextProperty
Identifies the AssistViewHeaderTextProperty dependency property.
Declaration
public static readonly BindableProperty AssistViewHeaderTextProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the AssistViewHeaderTextProperty bindable property. |
AssistViewHeightProperty
Identifies the AssistViewHeightProperty dependency property.
Declaration
public static readonly BindableProperty AssistViewHeightProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the AssistViewHeightProperty bindable property. |
AssistViewWidthProperty
Identifies the AssistViewWidthProperty dependency property.
Declaration
public static readonly BindableProperty AssistViewWidthProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the AssistViewWidthProperty bindable property. |
PlaceholderProperty
Identifies the PlaceholderProperty dependency property.
Declaration
public static readonly BindableProperty PlaceholderProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the PlaceholderProperty bindable property. |
PromptProperty
Identifies the PromptProperty dependency property.
Declaration
public static readonly BindableProperty PromptProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the PromptProperty bindable property. |
ShowAssistViewBannerProperty
Identifies the ShowAssistViewBannerProperty dependency property.
Declaration
public static readonly BindableProperty ShowAssistViewBannerProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the ShowAssistViewBannerProperty bindable property. |
SuggestedPromptsProperty
Identifies the SuggestedPromptsProperty dependency property.
Declaration
public static readonly BindableProperty SuggestedPromptsProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the SuggestedPromptsProperty bindable property. |
Properties
AssistStyle
Gets or sets the text style applied to the Assist View header text.
Declaration
public SmartSchedulerAssistStyle AssistStyle { get; set; }
Property Value
| Type |
|---|
| SmartSchedulerAssistStyle |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings> <smartScheduler:SchedulerAssistViewSettings.AssistStyle> <smartScheduler:SmartSchedulerAssistStyle AssistViewHeaderTextColor = "#1C1B1F" AssistViewHeaderFontSize="18" AssistViewHeaderFontAttributes="Bold" /> </smartScheduler:SchedulerAssistViewSettings.AssistStyle> </smartScheduler:SchedulerAssistViewSettings> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
AssistViewBannerTemplate
Gets or sets the template used to display the Assist View banner.
Declaration
public DataTemplate AssistViewBannerTemplate { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings> <smartScheduler:SchedulerAssistViewSettings.AssistViewBannerTemplate> <DataTemplate> <Grid Padding="6" BackgroundColor="#EEF2FF"> <Label Text="Try asking: 'Create a standup at 10 AM'" FontAttributes="Bold" TextColor="#1C1B1F" /> </Grid> </DataTemplate> </smartScheduler:SchedulerAssistViewSettings.AssistViewBannerTemplate> </smartScheduler:SchedulerAssistViewSettings> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
AssistViewHeaderTemplate
Gets or sets the template used to render the Assist View header.
Declaration
public DataTemplate AssistViewHeaderTemplate { get; set; }
Property Value
| Type |
|---|
| Microsoft.Maui.Controls.DataTemplate |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings> <smartScheduler:SchedulerAssistViewSettings.AssistViewHeaderTemplate> <DataTemplate> <Grid Padding="8"> <Label Text="AI Assistant" FontAttributes="Bold" /> </Grid> </DataTemplate> </smartScheduler:SchedulerAssistViewSettings.AssistViewHeaderTemplate> </smartScheduler:SchedulerAssistViewSettings> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
AssistViewHeaderText
Gets or sets the header text displayed in the Assist View.
Declaration
public string AssistViewHeaderText { get; set; }
Property Value
| Type |
|---|
| System.String |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings AssistViewHeaderText="AI Assistant" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
AssistViewHeight
Gets or sets the height of the Assist View surface.
Declaration
public double AssistViewHeight { get; set; }
Property Value
| Type |
|---|
| System.Double |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings AssistViewHeight="420" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
AssistViewWidth
Gets or sets the width of the Assist View surface.
Declaration
public double AssistViewWidth { get; set; }
Property Value
| Type |
|---|
| System.Double |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings AssistViewWidth="360" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
Placeholder
Gets or sets the placeholder text shown in the prompt input field.
Declaration
public string Placeholder { get; set; }
Property Value
| Type |
|---|
| System.String |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings Placeholder="Type your message..." /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
Prompt
Gets or sets the current prompt text.
Declaration
public string Prompt { get; set; }
Property Value
| Type |
|---|
| System.String |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings Prompt="Find 30-minute slots this week" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
ShowAssistViewBanner
Gets or sets a value indicating whether to show the Assist View banner.
Declaration
public bool ShowAssistViewBanner { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings ShowAssistViewBanner="True" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>
SuggestedPrompts
Gets or sets the collection of suggested prompts.
Declaration
public List<string> SuggestedPrompts { get; set; }
Property Value
| Type |
|---|
| System.Collections.Generic.List<System.String> |
Examples
<smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings> <smartScheduler:SchedulerAssistViewSettings.SuggestedPrompts> <x:Array Type="{x:Type x:String}"> <x:String>Find free slots</x:String> <x:String>Create a meeting</x:String> <x:String>Summarize today</x:String> </x:Array> </smartScheduler:SchedulerAssistViewSettings.SuggestedPrompts> </smartScheduler:SchedulerAssistViewSettings> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>