Skip to main content

TcxCustomDropDownEdit.CanHide Method

Identifies if it is possible to close the drop-down window.

Declaration

function CanHide: Boolean; virtual;

Returns

Type Description
Boolean

True if the drop-down window close operation is available; otherwise, False.

Remarks

Call CanDropDown and CanHide functions to identify if drop-down open and close operations are available.

The Properties.OnFinalizePopup event occurs every time a user attempts to close the drop-down window. If the CanHide function returns True, the Properties.OnCloseUp event also occurs and the drop-down window closes.

Note

TcxCustomDropDownEdit class descendants override the CanHide function to implement editor-specific drop-down window close permissions. You can close the drop-down window only if the CanHide function returns True.

See Also