PopupContainerEdit.QueryDisplayText Event
Enables you to specify the textual representation of the editor’s value.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v26.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The QueryDisplayText event's data class is QueryDisplayTextEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| DisplayText | Gets or sets the text to display in the edit box. |
| EditValue | Gets the current edit value. |
Remarks
The QueryDisplayText event is raised before the editor updates its display text. Handle it to perform custom edit value formatting.
The editor’s QueryDisplayText event is equivalent to the RepositoryItemPopupContainerEdit.QueryDisplayText event available via the editor’s Properties property, i.e. adding/removing an event handler for the current event actually affects the RepositoryItemPopupContainerEdit.QueryDisplayText event.
Refer to the RepositoryItemPopupContainerEdit.QueryDisplayText event description for more information.