Skip to main content

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.v24.1.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
[XtraSerializableProperty]
public override bool CanShrink { get; set; }

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