The requested page is not available for the requested platform. You are viewing the content for Default platform.

IAppearance.Visibility Property

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

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.Persistent.Base.v19.1.dll

Declaration

ViewItemVisibility? Visibility { get; set; }
Property Visibility As ViewItemVisibility?

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