blazor-devexpress-dot-blazor-dot-dxscheduler.md
Specifies the size of the Scheduler’s inner components.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(null)]
[Parameter]
public SizeMode? InnerComponentSizeMode { get; set; }
| Type | Default | Description |
|---|---|---|
| Nullable<SizeMode> | null |
A SizeMode enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Small |
Small size.
| | Medium |
Medium size.
| | Large |
Large size.
|
Use the InnerComponentSizeMode property to specify the size mode for the following Scheduler’s inner components:
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:
<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