Skip to main content
A newer version of this page is available. .
All docs
V22.1

HtmlContentPopup.HideOnElementClick Property

Gets or sets whether the HtmlContentPopup is hidden when a user clicks any element within this popup.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean HideOnElementClick { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A value that specifies whether the HtmlContentPopup is hidden when a user clicks any element within this popup.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

Set the HideOnElementClick property to True to automatically hide the HtmlContentPopup when a user clicks any of its elements. This functionality is useful if you use the HtmlContentPopup to create a popup menu with commands.

See Also