TimelineCells.CanShrink Property

Gets or sets a value indicating whether the cell's height can decrease if its content does not completely fill the control.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v20.1.Reporting.dll

Declaration

[Browsable(true)]
[XtraSerializableProperty]
public override bool CanShrink { get; set; }
<Browsable(True)>
<XtraSerializableProperty>
Public Overrides Property CanShrink As Boolean

Property Value

Type Description
Boolean

true if the label's height can decrease in order to remove unused space; otherwise, false.

Remarks

When the CanShrink property is set to true and the cell's content doesn't completely fill the cell, its height will be decreased to fit the height of the content.

The following picture illustrates the TimelineCells.CanShrink and TimelineCells.CanGrow options turned on for the report.

SchedulerReporting-CanShrink

See Also