Skip to main content
All docs
V25.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.v25.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 Return Value
    True

    The value is true.

    0

    False

    The value is false.

    1

    Default

    The value is specified by a global option or a higher-level object.

    2

    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