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

RepositoryItemDateEdit Class

A repository item storing settings specific to a DateEdit control.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "DateEdit")]
public class RepositoryItemDateEdit :
    RepositoryItemPopupBase,
    IDateTimeOwner,
    ICalendarAppearancesOwner

The following members accept/return RepositoryItemDateEdit objects:

Remarks

RepositoryItemDateEdit specifies settings specific to a date editor. To access these settings for a standalone control, see the DateEdit.Properties property. To create an inplace date editor, you should create a RepositoryItemDateEdit object and assign it to a specific column of a container control (XtraGrid, for instance). The inplace editor will be created automatically in this case based on settings of the repository item.

The RepositoryItemDateEdit class provides a number of properties and events to control the editor’s look, feel and behavior. For instance, you can specify:

  • whether to display the Today, Clear buttons and week numbers in the dropdown calendar;
  • the mask for entering values in the edit box;
  • appearance settings for the header and cells in the dropdown calendar, etc.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RepositoryItemDateEdit class.

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