Class MonthInlineViewStyle
Represents the styling configuration for inline appointment display in month view.
Inheritance
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class MonthInlineViewStyle : Element, IThemeElement
Constructors
MonthInlineViewStyle()
Initializes a new instance of the MonthInlineViewStyle class.
Declaration
public MonthInlineViewStyle()
Fields
BackgroundProperty
Identifies the Background dependency property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for Background dependency property. |
ItemHeightProperty
Identifies the ItemHeight bindable property.
Declaration
public static readonly BindableProperty ItemHeightProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
NoEventsTextStyleProperty
Identifies the NoEventsTextStyle dependency property.
Declaration
public static readonly BindableProperty NoEventsTextStyleProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for NoEventsTextStyle dependency property. |
TextStyleProperty
Identifies the TextStyle dependency property.
Declaration
public static readonly BindableProperty TextStyleProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for TextStyle dependency property. |
TimeTextFormatProperty
Identifies the TimeTextFormat bindable property.
Declaration
public static readonly BindableProperty TimeTextFormatProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Background
Gets or sets the background brush for the inline appointment collection view.
Declaration
public Brush Background { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.Brush | A Microsoft.Maui.Controls.Brush representing the background. Default is Microsoft.Maui.Graphics.Colors.Transparent. |
Remarks
This property controls the background color or gradient of the inline collection view. Setting this to a color brush fills the view with that color.
ItemHeight
Gets or sets the height of each appointment item in the inline view.
Declaration
public double ItemHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | A System.Double representing the item height in pixels. Default is 50. |
Remarks
This property determines the uniform height of each appointment row in the inline collection view. The value must be greater than 0. Smaller values compact the view; larger values provide more spacing.
NoEventsTextStyle
Gets or sets the text style for the "No Events" message displayed when a date has no appointments.
Declaration
public SchedulerTextStyle NoEventsTextStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| SchedulerTextStyle | A SchedulerTextStyle object defining font size, attributes, and color. Default provides #49454F text at 15px. |
TextStyle
Gets or sets the text style for appointment items in the inline view.
Declaration
public SchedulerTextStyle TextStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| SchedulerTextStyle | A SchedulerTextStyle object defining font size, attributes, and color. Default provides Regular, Black text at 12px. |
Remarks
This style applies to both the appointment subject and start/end times displayed in each item. Use this to customize the font family, size, text color, and font attributes (Bold, Italic, etc.).
TimeTextFormat
Gets or sets the time format string for appointment times displayed in the inline view.
Declaration
public string TimeTextFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A System.String representing the time format (e.g., "hh:mm tt", "HH:mm"). Default is "hh:mm tt". |
Remarks
When this property is empty or null, the current culture's short time format is used. Common format strings:
- "hh:mm tt" — 12-hour format with AM/PM (e.g., "2:30 PM")
- "HH:mm" — 24-hour format (e.g., "14:30")
- "h:mm" — 12-hour format without leading zero (e.g., "2:30")