Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExportMode Enum

Contains values that specify whether an editor’s edit value or display text is exported, when the editor’s data is exported in XLS and CSV formats.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum ExportMode

#Members

Name Description
Default

Either an editor’s value or display text is exported, depending on the editor’s type. For the ImageComboBoxEdit and LookUpEdit controls, their display text is exported. For other editors, their edit values (BaseEdit.EditValue), which sometimes match the display text, are exported.

DisplayText

An editor’s display text is exported.

Value

An editor’s edit value is exported.

#Related API Members

The following properties accept/return ExportMode values:

#Remarks

An editor can be used for in-place editing in container controls (for instance, in the Grid Control). Exporting a container control to any format exports the contents of its in-place editors. The RepositoryItem.ExportMode property specifies whether an editor’s edit value or display text is exported (when exporting the container control in XLS and CSV formats).

See Also