Skip to main content
.NET Framework 4.6.2+

AppearanceObject.Visibility Property

Specifies a visibility state for the target UI element.

Namespace: DevExpress.ExpressApp.ConditionalAppearance

Assembly: DevExpress.ExpressApp.ConditionalAppearance.v24.2.dll

Declaration

public ViewItemVisibility? Visibility { get; set; }

Property Value

Type Description
Nullable<ViewItemVisibility>

true, to make the target UI element visible; false, to make it invisible.

Remarks

If there are conditional appearance rules that change the visibility state within the rules appropriate for the target UI element, the AppearanceObject‘s Visibility property returns the visibility state specified by the rule with the higher priority (see IAppearance.Priority). If there are no rules that change the visibility state, the Visibility property returns null (Nothing in VB).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also