DateEditSettings Class

Contains settings specific to the DateEdit editor.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v21.1.dll

Declaration

public class DateEditSettings :
    PopupBaseEditSettings

Remarks

DevExpress container controls (GridControl, TreeListControl, and so on) use DevExpress WPF Editors to edit data they display. Each editor has a helper class (a BaseEditSettings descendant) that is responsible for the editor’s functionality. When the same editor is used in multiple locations, a container control uses this helper class to paint its cells. The actual editors are only created when end users start to edit, and are automatically deleted when editing is completed.

Refer to the Assign Editors to Cells topic for more information.

For detailed information on date editors, see DateEdit.

Example

The following sample demonstrates how to embed a DateEdit into a GridControl column.

<dxg:GridControl Name="grid">
    <dxg:GridControl.Columns>
        <dxg:GridColumn FieldName="Birthday">
        <dxg:GridColumn.EditSettings>
            <dxe:DateEditSettings/>
        </dxg:GridColumn.EditSettings>
    </dxg:GridColumn>
</dxg:GridControl.Columns>
</dxg:GridControl> 
See Also