Allows you to manage a control's visibility in specific app states.
public class LayoutAwareDecorator : veDecorator, IDisposable, ILayoutAwareControl
Public Class LayoutAwareDecorator Inherits veDecorator Implements IDisposable, ILayoutAwareControl
The LayoutAwareDecorator manages the visibility of its immediate children in various app states. It cannot be used to control the visibility of its children's children.
To display any control in a specific app state(s) and hide it in other states, you can wrap this control with the LayoutAwareDecorator and set the LayoutAwareDecorator.ViewStateVisibility attached property for this control to the required value.
If you do not explicitly set the LayoutAwareDecorator.ViewStateVisibility attached property for a control, the control's visibility will be specified by the LayoutAwareDecorator.DefaultViewStateVisibility property.