DockState is a C# enumeration that defines the possible states for a dockable panel in a docking framework. This enumeration specifies whether the panel is floating or docked, and provides information about the panel's position, size, and visibility within the docking framework. The DockState enumeration is typically used in conjunction with a docking library or framework, such as the popular DockPanel Suite library.
// Example 1: Setting the DockState of a panel to be floating. myPanel.DockState = DockState.Float;
// Example 2: Setting the DockState of a panel to be docked on the left. myPanel.DockState = DockState.DockLeft;
// Example 3: Checking the DockState of a panel to determine if it is floating. if (myPanel.DockState == DockState.Float) { // do something }
The DockPanel Suite library is a popular open source docking library for Windows Forms applications. It provides a powerful docking framework that allows users to customize the layout of their applications, and includes features such as multiple document interface (MDI) support, auto-hiding panels, and drag-and-drop layouts. The DockState enumeration is an integral part of the DockPanel Suite library, as it provides a standardized way to manage the state of dockable panels within the framework.
C# (CSharp) DockState - 60 examples found. These are the top rated real world C# (CSharp) examples of DockState extracted from open source projects. You can rate examples to help us improve the quality of examples.