SchedulerPopupSettingsBase.Height Property
Specifies the height of the pop-up Scheduler element (extended/compact appointment form or tooltip).
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(null)]
[Parameter]
public virtual string Height { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | null | The element height in CSS units. |
Remarks
Use the Width and Height
properties to specify the pop-up element size in CSS units. Note: an appointment form (compact or extended) automatically displays a scroll bar when the content height is greater than the element height.
You can use the following properties to resctrict the element size:
Absolute Height
You can specify the pop-up element size in absolute units, such as pixels and inches. If you set this property to a floating-point value, the element uses the AwayFromZero operation to convert this value to an integer in pixels.
<DxScheduler StartDate="DateTime.Today"
DataStorage="DataStorage">
<Views>
<DxSchedulerDayView ShowWorkTimeOnly="true" />
</Views>
<PopupSettings>
<DxSchedulerFormSettings Height="600px" Width="1000px" />
</PopupSettings>
</DxScheduler>
Relative Height
You can define the pop-up element size in relative units: viewport width (vw
) and height (vh
), element font size, etc. The following markup specifies the element size in em
:
<DxScheduler StartDate="DateTime.Today"
DataStorage="DataStorage">
<Views>
<DxSchedulerDayView ShowWorkTimeOnly="true" />
</Views>
<PopupSettings>
<DxSchedulerFormSettings Height="40em" Width="50em" />
</PopupSettings>
</DxScheduler>