alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class AppointmentResizeSettings

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

    Inheritance
    System.Object
    AppointmentResizeSettings
    Namespace: Syncfusion.Maui.Scheduler
    Assembly: Syncfusion.Maui.Scheduler.dll
    Syntax
    public class AppointmentResizeSettings : Element, IThemeElement

    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
    Microsoft.Maui.Controls.BindableProperty

    ResizeBorderStrokeProperty

    Identifies the ResizeBorderStroke bindable property.

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

    ResizeBorderThicknessProperty

    Identifies the ResizeBorderThickness bindable property.

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

    ShowTimeIndicatorProperty

    Identifies the ShowTimeIndicator bindable property.

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

    TimeIndicatorStyleProperty

    Identifies the TimeIndicatorStyle bindable property.

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

    TimeIndicatorTextFormatProperty

    Identifies the TimeIndicatorTextFormat bindable property.

    Declaration
    public static readonly BindableProperty TimeIndicatorTextFormatProperty
    Field Value
    Type
    Microsoft.Maui.Controls.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
    System.Boolean

    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
    Microsoft.Maui.Graphics.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
    System.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
    System.Boolean

    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
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved