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


In This Topic
    SelectedToolWindow Property
    In This Topic
    Gets or sets the ToolWindow in the group of ToolWindows that is currently selected.
    Syntax
    'Declaration
     
    Public Property SelectedToolWindow As ToolWindow
    'Usage
     
    Dim instance As ToolWindowGroup
    Dim value As ToolWindow
     
    instance.SelectedToolWindow = value
     
    value = instance.SelectedToolWindow
    public ToolWindow SelectedToolWindow {get; set;}

    Property Value

    A reference to the ToolWindow in the group that is currently selected.
    Remarks

    When setting this property, the ToolWindow that is assigned must be part of the group's ToolWindows.

    Setting the group's SelectedToolWindow property will not give focus to the group. To give focus to the group/ToolWindow, the SelectedToolWindow's ToolWindow.Activate or Focus method can be called. If the Activate method is used, the ToolWindow will be made visible, will get the focus, and will be brought to the front.

    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