alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AppointmentResizeSettings

    Represents the settings that control appointment resizing behavior within the scheduler.

    Inheritance
    object
    AppointmentResizeSettings
    Namespace: Syncfusion.Maui.Scheduler
    Assembly: Syncfusion.Maui.Scheduler.dll
    Syntax
    public class AppointmentResizeSettings : Element

    Constructors

    AppointmentResizeSettings()

    Initializes a new instance of the AppointmentResizeSettings class.

    Declaration
    public AppointmentResizeSettings()

    Fields

    AllowResizeScrollProperty

    Identifies the AllowResizeScroll bindable property.

    Declaration
    public static readonly BindableProperty AllowResizeScrollProperty
    Field Value
    Type
    BindableProperty

    ResizeBorderStrokeProperty

    Identifies the ResizeBorderStroke bindable property.

    Declaration
    public static readonly BindableProperty ResizeBorderStrokeProperty
    Field Value
    Type
    BindableProperty

    ResizeBorderThicknessProperty

    Identifies the ResizeBorderThickness bindable property.

    Declaration
    public static readonly BindableProperty ResizeBorderThicknessProperty
    Field Value
    Type
    BindableProperty

    ShowTimeIndicatorProperty

    Identifies the ShowTimeIndicator bindable property.

    Declaration
    public static readonly BindableProperty ShowTimeIndicatorProperty
    Field Value
    Type
    BindableProperty

    TimeIndicatorStyleProperty

    Identifies the TimeIndicatorStyle bindable property.

    Declaration
    public static readonly BindableProperty TimeIndicatorStyleProperty
    Field Value
    Type
    BindableProperty

    TimeIndicatorTextFormatProperty

    Identifies the TimeIndicatorTextFormat bindable property.

    Declaration
    public static readonly BindableProperty TimeIndicatorTextFormatProperty
    Field Value
    Type
    BindableProperty

    Properties

    AllowResizeScroll

    Gets or sets a value indicating whether the user can scroll the timeslots while resizing an appointment. Example:

    • XAML
    • C#
    <schedule:SfScheduler x:Name="Scheduler" View="Week">
        <schedule:SfScheduler.AppointmentResizeSettings>
            <schedule:AppointmentResizeSettings AllowResizeScroll="False" />
        </schedule:SfScheduler.AppointmentResizeSettings>
    </schedule:SfScheduler>
    this.Scheduler.View = SchedulerView.Week;
    this.Scheduler.AppointmentResizeSettings.AllowResizeScroll = false;
    Declaration
    public bool AllowResizeScroll { get; set; }
    Property Value
    Type
    bool

    ResizeBorderStroke

    Gets or sets the color of the resize border. Example:

    • C#
    • XAML
    this.Scheduler.AppointmentResizeSettings.ResizeBorderStroke = Colors.Red;
    <schedule:SfScheduler>
      <schedule:SfScheduler.AppointmentResizeSettings>
        <schedule:AppointmentResizeSettings>
          <schedule:AppointmentResizeSettings.ResizeBorderStroke>
            <SolidColorBrush Color="Red" />
          </schedule:AppointmentResizeSettings.ResizeBorderStroke>
        </schedule:AppointmentResizeSettings>
      </schedule:SfScheduler.AppointmentResizeSettings>
    </schedule:SfScheduler>
    Declaration
    public Color ResizeBorderStroke { get; set; }
    Property Value
    Type
    Color

    ResizeBorderThickness

    Gets or sets the thickness of the resize border shown during appointment resizing. Example:

    • C#
    this.Scheduler.AppointmentResizeSettings.ResizeBorderThickness = 2;
    Declaration
    public double ResizeBorderThickness { get; set; }
    Property Value
    Type
    double

    ShowTimeIndicator

    Gets or sets a value indicating whether a time indicator should be displayed during appointment resizing. Example:

    • XAML
    • C#
    <schedule:SfScheduler x:Name="Scheduler" View="Week">
        <schedule:SfScheduler.AppointmentResizeSettings>
            <schedule:AppointmentResizeSettings ShowTimeIndicator="False" />
        </schedule:SfScheduler.AppointmentResizeSettings>
    </schedule:SfScheduler>
    this.Scheduler.View = SchedulerView.Week;
    this.Scheduler.AppointmentResizeSettings.ShowTimeIndicator = false;
    Declaration
    public bool ShowTimeIndicator { get; set; }
    Property Value
    Type
    bool

    TimeIndicatorStyle

    Gets or sets the style applied to the time indicator displayed during appointment resizing. Example:

    • C#
    • XAML
    var style = new SchedulerTextStyle
    {
        TextColor = Colors.Orange,
        FontSize = 12,
        FontAttributes = FontAttributes.Bold
    };
    
    this.Scheduler.AppointmentResizeSettings.TimeIndicatorStyle = style;
    <schedule:SfScheduler>
      <schedule:SfScheduler.Resources>
        <local:SchedulerTextStyle x:Key="ResizeTimeStyle"
                                  TextColor="Orange"
                                  FontSize="12"
                                  FontAttributes="Bold" />
      </schedule:SfScheduler.Resources>
    
      <schedule:SfScheduler.AppointmentResizeSettings>
        <schedule:AppointmentResizeSettings
            TimeIndicatorStyle="{StaticResource ResizeTimeStyle}" />
      </schedule:SfScheduler.AppointmentResizeSettings>
    </schedule:SfScheduler>
    Declaration
    public SchedulerTextStyle TimeIndicatorStyle { get; set; }
    Property Value
    Type
    SchedulerTextStyle

    TimeIndicatorTextFormat

    Gets or sets the display format for the time indicator shown during appointment resizing. Example:

    • C#
    this.Scheduler.View = SchedulerView.Week;
    this.Scheduler.AppointmentResizeSettings.TimeIndicatorTextFormat = "hh:mm";
    Declaration
    public string TimeIndicatorTextFormat { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved