Back to Devexpress

HorizontalWeek.CanShrink Property

windowsforms-devexpress-dot-xtrascheduler-dot-reporting-dot-horizontalweek-7d06823d.md

latest1.7 KB
Original Source

HorizontalWeek.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.v25.2.Reporting.dll

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

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

Property Value

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

See Also

CanGrow

HorizontalWeek Class

HorizontalWeek Members

DevExpress.XtraScheduler.Reporting Namespace