DayViewTimeCells.VerticalLayoutType Property
Gets or sets how the time cells are fitted within the control’s boundaries.
Namespace: DevExpress.XtraScheduler.Reporting
Assembly: DevExpress.XtraScheduler.v24.2.Reporting.dll
Declaration
[DefaultValue(ControlContentLayoutType.Fit)]
[XtraSerializableProperty]
public ControlContentLayoutType VerticalLayoutType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ControlContentLayoutType | Fit | A ControlContentLayoutType enumeration, specifying the layout type. |
Available values:
Name | Description |
---|---|
Fit | The content corresponding to the entire time interval is fit into the dimensions specified for a control. |
Tile | The content is printed in tiles, with all the tiles covering the entire time interval. This approach allows you to print only a part of the control’s content within the control’s boundaries, so each minimal time unit (time cell) occupies the control’s boundaries. |
Remarks
Time cells corresponding to the DayViewTimeCells.VisibleTime interval can be printed within the DayViewTimeCells control boundaries in different ways. By default, the time cells are fitted into the control’s area so that the entire time interval is printed within the control’s dimensions. If the VerticalLayoutType is set to ControlContentLayoutType.Tile, a single time cell occupies the control’s area, so that the time interval requires the height of several controls for printing. In this case, to achieve a better appearance, make the control shorter.