SetLayoutState Method
- Last UpdatedAug 21, 2026
- 1 minute read
Minimizes, maximizes, or restores the layout window, as defined by the LayoutState argument in this method.
'Declaration
Public Overridable Sub SetLayoutState( _
ByVal control As Object, _
ByVal layoutState As WindowState _
)
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