Xceed Docking Windows for WinForms v2.3 Documentation
Welcome to Xceed Docking Windows for WinForms v2.3 / Sample Applications / Databound ToolWindows Sample Application
In This Topic
    Databound ToolWindows Sample Application
    In This Topic

    Programming languages

    VB.NET, C#

    Overview

    This sample demonstrates how to use data-bound controls inside tool windows. 

    This sample specifically demonstrates how to:

    • Create a ToolWindow around a control (the Microsoft DataGrid). 

    • Set the State, Key, and Text properties. 

    • Suspend and resume the layout using the SuspendLayout and ResumeLayout methods. 

    • Add tool windows to the dock-layout manager's ToolWindows collection. 

    • Use a tool window's DockTo method to dock it with another tool window.

    Project location & filename

    C#: Xceed Samples\Xceed Docking Windows for WinForms v[#.#]\CSharp\DataBoundToolWindows\DataBoundToolWindowsCS.csproj

    VB.NET: Xceed Samples\Xceed Docking Windows for WinForms v[#.#]\Visual Basic .NET\DataBoundToolWindows\DataBoundToolWindowsCS.vbproj