alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SchedulerAssistViewSettings

    Provides the AI Assist View surface and related configuration for the Smart Scheduler.

    Inheritance
    System.Object
    SchedulerAssistViewSettings
    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
    • XAML
    • C#

    <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>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { AssistStyle = new SmartSchedulerAssistStyle { AssistViewHeaderTextColor = Color.FromArgb("#1C1B1F"), AssistViewHeaderFontSize = 18, AssistViewHeaderFontAttributes = FontAttributes.Bold } } };

    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
    • XAML
    • C#

    <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>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { AssistViewBannerTemplate = new DataTemplate(() => { var grid = new Grid { Padding = 6, BackgroundColor = Color.FromArgb("#EEF2FF") }; grid.Children.Add(new Label { Text = "Try asking: 'Create a standup at 10 AM'", FontAttributes = FontAttributes.Bold, TextColor = Color.FromArgb("#1C1B1F") }); return grid; }) } };

    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
    • XAML
    • C#

    <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>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { AssistViewHeaderTemplate = new DataTemplate(() => { var grid = new Grid { Padding = 8 }; grid.Children.Add(new Label { Text = "AI Assistant", FontAttributes = FontAttributes.Bold }); return grid; }) } };

    AssistViewHeaderText

    Gets or sets the header text displayed in the Assist View.

    Declaration
    public string AssistViewHeaderText { get; set; }
    Property Value
    Type
    System.String
    Examples
    • XAML
    • C#

    <smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings AssistViewHeaderText="AI Assistant" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { AssistViewHeaderText = "AI Assistant" } };

    AssistViewHeight

    Gets or sets the height of the Assist View surface.

    Declaration
    public double AssistViewHeight { get; set; }
    Property Value
    Type
    System.Double
    Examples
    • XAML
    • C#

    <smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings AssistViewHeight="420" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { AssistViewHeight = 420 } };

    AssistViewWidth

    Gets or sets the width of the Assist View surface.

    Declaration
    public double AssistViewWidth { get; set; }
    Property Value
    Type
    System.Double
    Examples
    • XAML
    • C#

    <smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings AssistViewWidth="360" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { AssistViewWidth = 420 } };

    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
    • XAML
    • C#

    <smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings Placeholder="Type your message..." /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { Placeholder = "Type your message..." } };

    Prompt

    Gets or sets the current prompt text.

    Declaration
    public string Prompt { get; set; }
    Property Value
    Type
    System.String
    Examples
    • XAML
    • C#

    <smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings Prompt="Find 30-minute slots this week" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { Prompt = "Find 30-minute slots this week" } };

    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
    • XAML
    • C#

    <smartScheduler:SfSmartScheduler> <smartScheduler:SfSmartScheduler.AssistViewSettings> <smartScheduler:SchedulerAssistViewSettings ShowAssistViewBanner="True" /> </smartScheduler:SfSmartScheduler.AssistViewSettings> </smartScheduler:SfSmartScheduler>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { ShowAssistViewBanner = true } };

    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
    • XAML
    • C#

    <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>

    var scheduler = new SfSmartScheduler { AssistViewSettings = new SchedulerAssistViewSettings { SuggestedPrompts = new List<string> { "Find free slots", "Create a meeting", "Summarize today" } } };

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved