Skip to main content
A newer version of this page is available. .

RepositoryItemDateEdit.CellSize Property

Gets or sets size of calendar cells in the DateEdit control’s drop-down.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Appearance")]
public Size CellSize { get; set; }

Property Value

Type Description
Size

The calendar cell size.

Remarks

The CellSize property specifies the size of calendar cells in the DateEdit control’s drop-down. If the specified size has a width and height of 0, the actual cell size is automatically calculated based on currently applied skin. In the figures below, you can see the default and custom cell sizes, respectively.

DateEdit_CellSize_Default

DateEdit_CellSize_Custom

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CellSize property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also