Class SchedulerAppointmentBorderStyle
Gets or sets properties which allows to customize the appointment border style of the SfScheduler.
Inheritance
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class SchedulerAppointmentBorderStyle : Element, IThemeElement
Constructors
SchedulerAppointmentBorderStyle()
Initializes a new instance of the SchedulerAppointmentBorderStyle class.
Declaration
public SchedulerAppointmentBorderStyle()
Fields
CornerRadiusProperty
Identifies the CornerRadius dependency property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Identifies the CornerRadius bindable property. |
StrokeProperty
Identifies the Stroke dependency property.
Declaration
public static readonly BindableProperty StrokeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Identifies the Stroke bindable property. |
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly BindableProperty StrokeThicknessProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Identifies the StrokeThickness bindable property. |
Properties
CornerRadius
Gets or sets the corner radius for scheduler appointment border style to customize the border's corner radius of appointment view.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Type |
---|
Microsoft.Maui.CornerRadius |
Remarks
This property is used to specify the corner radius of the border for appointments in the scheduler.
Examples
The example below shows how to use the corner radius property.
this.Scheduler.AppointmentBorderStyle.CornerRadius = 2.0;
See Also
Stroke
Gets or sets the stroke property for appointment border style to customize the border stroke of appointment view.
Declaration
public Color Stroke { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Color |
Remarks
This property is used to color the border of appointments in the scheduler. If the Stroke value is set, then appointment border color will be set to Stroke value. If the Stroke value is Transparent, and if the AppointmentBorderStyle border color value is set then AppointmentBorderStyle border color value will be set to appointment. Otherwise, the default AppointmentBorderStyle border color value will be set.
Examples
The example below shows how to use the stroke to customize the border of appointments in the SfScheduler.
this.Scheduler.AppointmentBorderStyle.Stroke = Colors.Red;
See Also
StrokeThickness
Gets or sets the stroke thickness property for appointment border style to customize the stroke thickness of the appointment view.
Declaration
public double StrokeThickness { get; set; }
Property Value
Type |
---|
System.Double |
Remarks
This property is used to specify the stroke thickness of appointments in the scheduler.
Examples
The example below shows how to use the stroke thickness to customize the border of appointments in the SfScheduler.
this.Scheduler.AppointmentBorderStyle.StrokeThickness = 10.0;