Skip to main content

LayoutAwareDecorator Members

Allows you to manage a control’s visibility in specific app states.

Constructors

Name Description
LayoutAwareDecorator() Initializes a new instance of the LayoutAwareDecorator class.

Fields

Name Description
ActualViewStateProperty static Identifies the LayoutAwareDecorator.ActualViewState dependency property.
DefaultViewStateVisibilityProperty static Identifies the LayoutAwareDecorator.DefaultViewStateVisibility dependency property.
ViewStateVisibilityProperty static Identifies the LayoutAwareDecorator.ViewStateVisibility dependency property.

Properties

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

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetViewStateVisibility(DependencyObject) static Gets the value of the LayoutAwareDecorator.ViewStateVisibility attached property for a specific object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetViewStateVisibility(DependencyObject, ViewStateVisibility) static Sets the value of the LayoutAwareDecorator.ViewStateVisibility attached property for a specific object.
ToString() Returns a string that represents the current object. Inherited from Object.

Attached Properties

Name Description
ViewStateVisibility static

Gets or sets the app state(s) in which an object will be visible. In other app states, the object will be hidden. This is an attached property.

See Also