Skip to main content

PopupContainerEdit.DoValidate(PopupCloseMode) Method

Validates the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override bool DoValidate(
    PopupCloseMode closeMode
)

Parameters

Name Type Description
closeMode PopupCloseMode

A PopupCloseMode enumeration value that specifies how a dropdown editor’s popup window should be closed.

Returns

Type Description
Boolean

true if the editor’s value is valid; otherwise, false.

Remarks

The DoValidate method closes the editor’s dropdown and validates its value. To learn more, see BaseEdit.DoValidate.

See Also