Back to Devexpress

CalendarControlBase.AutoSize Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-c7c2e6e1.md

latest2.8 KB
Original Source

CalendarControlBase.AutoSize Property

Gets or sets whether the calendar automatically adjusts its size depending on the calendar display mode.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if auto-size mode is enabled; otherwise, false.

|

Remarks

The automatic calendar size is calculated according to the visibility of calendar elements and the number of month columns and rows.

See Also

CalendarView

CalendarTimeEditing

ColumnCount

RowCount

ShowHeader

ShowFooter

ShowMonthHeaders

ShowMonthNavigationButtons

ShowYearNavigationButtons

ShowWeekNumbers

CellSize

CellPadding

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace