Xceed Docking Windows for WinForms v2.3 Documentation
Xceed.DockingWindows Namespace / ToolWindowGroup Class / State Property


In This Topic
    State Property (ToolWindowGroup)
    In This Topic
    Gets or sets the state of the ToolWindow group.
    Syntax
    'Declaration
     
    Public Property State As ToolWindowState
    'Usage
     
    Dim instance As ToolWindowGroup
    Dim value As ToolWindowState
     
    instance.State = value
     
    value = instance.State
    public ToolWindowState State {get; set;}

    Property Value

    A ToolWindowState value representing the state of the ToolWindow group.
    Remarks

    To dock a group of ToolWindows, the DockTo(DockTargetHost,DockPosition) method of the ToolWindow.ParentGroup of any one of the ToolWindows in the group must be used. If, rather than using the DockTo method, the ParentGroup's State property is changed to Docked, each ToolWindow in the group will return to its own last known docked location. If a ToolWindow had never previously been docked, it will be docked to the left of the DockHost. Keep in mind that if a ToolWindow is docked within a floating ToolWindow, then its state is considered to be floating and not docked.

    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