Skip to main content
A newer version of this page is available. .

LayoutAwareDecorator.DefaultViewStateVisibility Property

Gets or sets the app state(s) in which an object must be visible by default.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v18.2.dll

Declaration

public ViewStateVisibility DefaultViewStateVisibility { get; set; }

Property Value

Type Description
ViewStateVisibility

A ViewStateVisibility value that specifies the app state(s) in which an object must be visible by default. The default value is ViewStateVisibility.Unsnapped.

Available values:

Name Description
Default

The app state is specified by the LayoutAwareDecorator.DefaultViewStateVisibility property.

FullScreenLandscape

The current app’s view is in full-screen (has no snapped app adjacent to it), and has changed to landscape orientation.

FullScreenPortrait

The current app’s view is in full-screen (has no snapped app adjacent to it), and has changed to portrait orientation.

Filled

The current app’s view has been reduced to a partial screen view as the result of another app snapping.

Snapped

The current app’s view has been snapped.

FullScreen

Either the FullScreenLandscape or FullScreenPortrait app state.

Unsnapped

Either the FullScreenLandscape, FullScreenPortrait or Filled app state.

Remarks

The DefaultViewStateVisibility property is applied if an object’s LayoutAwareDecorator.ViewStateVisibility attached property is set to Default. In this case, the object will only be visible in the app state(s) specified by the DefaultViewStateVisibility property.

See Also