Back to Devexpress

DayViewTimeCells.VerticalLayoutType Property

windowsforms-devexpress-dot-xtrascheduler-dot-reporting-dot-dayviewtimecells-5651b681.md

latest2.7 KB
Original Source

DayViewTimeCells.VerticalLayoutType Property

Gets or sets how the time cells are fitted within the control’s boundaries.

Namespace : DevExpress.XtraScheduler.Reporting

Assembly : DevExpress.XtraScheduler.v25.2.Reporting.dll

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

csharp
[DefaultValue(ControlContentLayoutType.Fit)]
[XtraSerializableProperty]
public ControlContentLayoutType VerticalLayoutType { get; set; }
vb
<DefaultValue(ControlContentLayoutType.Fit)>
<XtraSerializableProperty>
Public Property VerticalLayoutType As ControlContentLayoutType

Property Value

TypeDefaultDescription
ControlContentLayoutTypeFit

A ControlContentLayoutType enumeration, specifying the layout type.

|

Available values:

NameDescription
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.

See Also

DayViewTimeCells Class

DayViewTimeCells Members

DevExpress.XtraScheduler.Reporting Namespace