alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfSmartScheduler

    Represents a class which is used to configure all the properties of SfSmartScheduler.

    Inheritance
    System.Object
    SfScheduler
    SfSmartScheduler
    Implements
    Microsoft.Maui.IContentView
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.ISafeAreaView
    Inherited Members
    SfScheduler.AgendaView
    SfScheduler.AgendaViewProperty
    SfScheduler.AllowAppointmentDrag
    SfScheduler.AllowAppointmentDragProperty
    SfScheduler.AllowedViews
    SfScheduler.AllowedViewsProperty
    SfScheduler.AllowViewNavigation
    SfScheduler.AllowViewNavigationProperty
    SfScheduler.AppointmentBorderStyle
    SfScheduler.AppointmentBorderStyleProperty
    SfScheduler.AppointmentDragOver
    SfScheduler.AppointmentDragStarting
    SfScheduler.AppointmentDrop
    SfScheduler.AppointmentMapping
    SfScheduler.AppointmentMappingProperty
    SfScheduler.AppointmentsSource
    SfScheduler.AppointmentsSourceProperty
    SfScheduler.AppointmentTextStyle
    SfScheduler.AppointmentTextStyleProperty
    SfScheduler.Backward()
    SfScheduler.BusyIndicatorTemplate
    SfScheduler.BusyIndicatorTemplateProperty
    SfScheduler.CalendarType
    SfScheduler.CalendarTypeProperty
    SfScheduler.CellBorderBrush
    SfScheduler.CellBorderBrushProperty
    SfScheduler.CellSelectionView
    SfScheduler.CellSelectionViewProperty
    SfScheduler.DaysView
    SfScheduler.DaysViewProperty
    SfScheduler.DisabledDateBackground
    SfScheduler.DisabledDateBackgroundProperty
    SfScheduler.DisabledDateTextStyle
    SfScheduler.DisabledDateTextStyleProperty
    SfScheduler.DisplayDate
    SfScheduler.DisplayDateProperty
    SfScheduler.DoubleTapped
    SfScheduler.DoubleTappedCommand
    SfScheduler.DoubleTappedCommandProperty
    SfScheduler.DragDropSettings
    SfScheduler.DragDropSettingsProperty
    SfScheduler.EnableReminder
    SfScheduler.EnableReminderProperty
    SfScheduler.FirstDayOfWeek
    SfScheduler.FirstDayOfWeekProperty
    SfScheduler.Forward()
    SfScheduler.HeaderView
    SfScheduler.HeaderViewProperty
    SfScheduler.LongPressed
    SfScheduler.LongPressedCommand
    SfScheduler.LongPressedCommandProperty
    SfScheduler.MaximumDateTime
    SfScheduler.MaximumDateTimeProperty
    SfScheduler.MinimumDateTime
    SfScheduler.MinimumDateTimeProperty
    SfScheduler.MonthView
    SfScheduler.MonthViewProperty
    SfScheduler.OnHandlerChanged()
    SfScheduler.QueryAppointments
    SfScheduler.QueryAppointmentsCommand
    SfScheduler.QueryAppointmentsCommandProperty
    SfScheduler.ReminderAlertOpening
    SfScheduler.ResourceView
    SfScheduler.ResourceViewProperty
    SfScheduler.ResumeAppointmentViewUpdate()
    SfScheduler.SelectableDayPredicate
    SfScheduler.SelectedAppointmentBackground
    SfScheduler.SelectedAppointmentBackgroundProperty
    SfScheduler.SelectedCellBackground
    SfScheduler.SelectedCellBackgroundProperty
    SfScheduler.SelectedDate
    SfScheduler.SelectedDateProperty
    SfScheduler.SelectionChanged
    SfScheduler.SelectionChangedCommand
    SfScheduler.SelectionChangedCommandProperty
    SfScheduler.ShowAllowedViews
    SfScheduler.ShowAllowedViewsProperty
    SfScheduler.ShowBusyIndicator
    SfScheduler.ShowBusyIndicatorProperty
    SfScheduler.ShowDatePickerButton
    SfScheduler.ShowDatePickerButtonProperty
    SfScheduler.ShowNavigationArrows
    SfScheduler.ShowNavigationArrowsProperty
    SfScheduler.ShowTodayButton
    SfScheduler.ShowTodayButtonProperty
    SfScheduler.ShowWeekNumber
    SfScheduler.ShowWeekNumberProperty
    SfScheduler.SuspendAppointmentViewUpdate()
    SfScheduler.Tapped
    SfScheduler.TappedCommand
    SfScheduler.TappedCommandProperty
    SfScheduler.TimelineView
    SfScheduler.TimelineViewProperty
    SfScheduler.TimeZone
    SfScheduler.TimeZoneProperty
    SfScheduler.TodayHighlightBrush
    SfScheduler.TodayHighlightBrushProperty
    SfScheduler.TodayTextStyle
    SfScheduler.TodayTextStyleProperty
    SfScheduler.View
    SfScheduler.ViewChanged
    SfScheduler.ViewChangedCommand
    SfScheduler.ViewChangedCommandProperty
    SfScheduler.ViewProperty
    SfScheduler.WeekNumberStyle
    SfScheduler.WeekNumberStyleProperty
    Namespace: Syncfusion.Maui.SmartComponents
    Assembly: Syncfusion.Maui.SmartComponents.dll
    Syntax
    public class SfSmartScheduler : SfScheduler, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IScheduler, ISchedulerViewInfo, IViewHeader, IDragAndDropInfo, IHeader, ISchedulerTouchGesture, IWeekHeader, IReminderInfo, IResourceViewInfo, ISchedulerKeyListener, IResourceViewMobileInteraction, IAgendaViewInfo, IAppointmentViewInfo, ISchedulerCommon, IInteractionInfo, ISafeAreaView, IAIAssistance, IAssistViewHeader, IAiAssistViewLayout, IParentThemeElement, IThemeElement

    Constructors

    SfSmartScheduler()

    Initializes a new instance of the SfSmartScheduler class.

    Declaration
    public SfSmartScheduler()

    Fields

    AssistButtonTemplateProperty

    Identifies the AssistButtonTemplate bindable property.

    Declaration
    public static readonly BindableProperty AssistButtonTemplateProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    AssistViewSettingsProperty

    Identifies the AssistViewSettings dependency property.

    Declaration
    public static readonly BindableProperty AssistViewSettingsProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for AssistViewSettings dependency property.

    EnableAssistButtonProperty

    Identifies the EnableAssistButton dependency property.

    Declaration
    public static readonly BindableProperty EnableAssistButtonProperty
    Field Value
    Type Description
    Microsoft.Maui.Controls.BindableProperty

    The identifier for EnableAssistButton dependency property.

    Properties

    AssistButtonTemplate

    Gets or sets the template used to display the AI button.

    Declaration
    public DataTemplate AssistButtonTemplate { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.DataTemplate
    Examples
    • XAML
    • C#
    <smartScheduler:SfSmartScheduler>
        <smartScheduler:SfSmartScheduler.AssistButtonTemplate>
            <DataTemplate>
                <Grid Padding="8"
                      BackgroundColor="#EEF2FF"
                      ColumnDefinitions="Auto"
                      Margin="6">
                    <Label Text="Ask AI"
                           FontAttributes="Bold"
                           TextColor="#1C1B1F"
                           VerticalOptions="Center"
                           HorizontalOptions="Center" />
                </Grid>
             </DataTemplate>
        </smartScheduler:SfSmartScheduler.AssistButtonTemplate>
    </smartScheduler:SfSmartScheduler>
    var scheduler = new SfSmartScheduler
    {
        AssistButtonTemplate = new DataTemplate(() =>
        {
            var grid = new Grid
            {
                Padding = 8,
                BackgroundColor = Color.FromArgb("#EEF2FF"),
                Margin = 6
            };
    
            var label = new Label
            {
                Text = "Ask AI",
                FontAttributes = FontAttributes.Bold,
                TextColor = Color.FromArgb("#1C1B1F"),
                VerticalOptions = LayoutOptions.Center,
                HorizontalOptions = LayoutOptions.Center
            };
    
            grid.Add(label);
            return grid;
        })
    };

    AssistViewSettings

    Gets or sets the assist View settings.

    Declaration
    public SchedulerAssistViewSettings AssistViewSettings { get; set; }
    Property Value
    Type
    SchedulerAssistViewSettings
    Examples
    • XAML
    • C#
    <smartScheduler:SfSmartScheduler>
        <smartScheduler:SfSmartScheduler.AssistViewSettings>
            <smartScheduler:AssistViewSettings />
        </smartScheduler:SfSmartScheduler.AssistViewSettings>
    </smartScheduler:SfSmartScheduler>
    var scheduler = new SfSmartScheduler
    {
        AssistViewSettings = new AssistViewSettings()
    };

    EnableAssistButton

    Gets or sets the value indicating whether to enable or disable the smart AI button.

    Declaration
    public bool EnableAssistButton { get; set; }
    Property Value
    Type
    System.Boolean
    Examples
    • XAML
    • C#
    <smartScheduler:SfSmartScheduler EnableAssistButton="False" />
    var scheduler = new SfSmartScheduler
    {
        EnableAssistButton = false
    };

    Methods

    CloseAssistView()

    Method to close the assist view.

    Declaration
    public void CloseAssistView()

    MeasureOverride(Double, Double)

    Method used to measure the children based on width and height value.

    Declaration
    protected override Size MeasureOverride(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint

    The maximum width request of the layout.

    System.Double heightConstraint

    The maximum height request of the layout.

    Returns
    Type Description
    Microsoft.Maui.Graphics.Size

    The maximum size of the layout.

    OnBindingContextChanged()

    Invoked whenever the binding context of the value changed.

    Declaration
    protected override void OnBindingContextChanged()
    Overrides
    SfScheduler.OnBindingContextChanged()

    OpenAssistView()

    Method to open the assist view.

    Declaration
    public void OpenAssistView()

    ResetAssistView()

    Method to reset the assist view.

    Declaration
    public void ResetAssistView()

    Events

    AssistAppointmentResponseCompleted

    Occurs when the appointment is created or modified through AI assistance.

    Declaration
    public event EventHandler<AssistAppointmentResponseCompletedEventArgs> AssistAppointmentResponseCompleted
    Event Type
    Type
    System.EventHandler<AssistAppointmentResponseCompletedEventArgs>

    Implements

    Microsoft.Maui.IContentView
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.ISafeAreaView
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved