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


In This Topic
    State Property (ToolWindow)
    In This Topic
    Gets or sets the state of the ToolWindow.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The state of the ToolWindow.")>
    <CategoryAttribute("Appearance")>
    Public Property State As ToolWindowState
    'Usage
     
    Dim instance As ToolWindow
    Dim value As ToolWindowState
     
    instance.State = value
     
    value = instance.State
    [Description("The state of the ToolWindow.")]
    [Category("Appearance")]
    public ToolWindowState State {get; set;}

    Property Value

    A ToolWindowState value representing the ToolWindow's state. By default, DefaultState.
    Remarks

    If a ToolWindow is docked within a floating ToolWindow, then its state is considered to be floating and not docked.

    To reset the value of the State property to its default value, DefaultState, the ResetState method must be called.

    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