Back to Devexpress

DxScheduler.InnerComponentSizeMode Property

blazor-devexpress-dot-blazor-dot-dxscheduler.md

latest3.0 KB
Original Source

DxScheduler.InnerComponentSizeMode Property

Specifies the size of the Scheduler’s inner components.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(null)]
[Parameter]
public SizeMode? InnerComponentSizeMode { get; set; }

Property Value

TypeDefaultDescription
Nullable<SizeMode>null

A SizeMode enumeration value.

|

Available values:

NameDescription
Small

Small size.

| | Medium |

Medium size.

| | Large |

Large size.

|

Remarks

Use the InnerComponentSizeMode property to specify the size mode for the following Scheduler’s inner components:

  • The toolbar that displays the Today button, view navigator and view visible interval
  • View selector (if displayed)
  • The Appointment form‘s data editors that support size modes

The following size modes are available:

|

Size mode

|

Description

| | --- | --- | |

Not specified (NULL)

|

Scheduler’s inner components inherit their sizes from Scheduler’s parent component. For example, if Scheduler is in Form Layout, Scheduler’s inner component size is controlled by the SizeMode property.
If the parent component’s size mode is not specified, Scheduler’s inner component size is specified by the SizeMode global option.

| |

Large

|

The size of Scheduler’s inner components is large.

| |

Medium

|

The size of Scheduler’s inner components is medium.

| |

Small

|

The size of Scheduler’s inner components is small.

|

Note

Blazor Scheduler automatically uses compact (Small) mode when component width is less than 420 pixels.

The following code snippet applies the Large mode to the Scheduler’s inner components:

razor
<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage" InnerComponentSizeMode="SizeMode.Large">
    <DxSchedulerDayView ShowWorkTimeOnly="true"
                        DayCount="3" />
    <DxSchedulerWeekView />
</DxScheduler>

For additional information, refer to Size Modes.

Run Demo: Scheduler - View Types

See Also

DxScheduler Class

DxScheduler Members

DevExpress.Blazor Namespace