SetLayoutState Method
Minimizes, maximizes, or restores the layout window, as defined by the LayoutState argument in this method.
Syntax
'Declaration Public Overridable Sub SetLayoutState( _ ByVal control As Object, _ ByVal layoutState As WindowState _ )
'Usage Dim instance As ViewApplication Dim control As Object Dim layoutState As WindowState instance.SetLayoutState(control, layoutState)
public virtual void SetLayoutState( object control, WindowState layoutState )
public: virtual void SetLayoutState( Object^ control, WindowState layoutState )
Parameters
- control
- object.For instance FrameworkElement
- layoutState
- State of Layout Window to set
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also