Skip to main content
.NET Framework 4.6.2+

IAppearance.Visibility Property

Specifies the visibility of UI elements affected by a conditional appearance rule.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v24.2.dll

Declaration

ViewItemVisibility? Visibility { get; set; }

Property Value

Type Description
Nullable<ViewItemVisibility>

A Nullable<ViewItemVisibility> enumeration value specifying the visibility of UI elements affected by a conditional appearance rule.

Remarks

For details on how the Visibility property affects the UI, see the AppearanceAttribute.Visibility member description.

To change the Visibility value in code, access the required Property Editor instance and then cast it to the IAppearance type. Most of built-in Property Editors support this interface.

using DevExpress.ExpressApp.Editors;
// ...
((IAppearanceVisibility)thePropertyEditor).Visibility = ViewItemVisibility.Hide;
See Also