Wimark.Controls Class Library  

DockItem Class

Represents a dockable window in the dock hierarchy where application content can be added. A DockItem object can be docked, auto hidden, hidden or floating.

For a list of all members of this type, see DockItem Members.

System.Object
 System.MarshalByRefObject
  System.ComponentModel.Component
   System.Windows.Forms.Control
    Wimark.Controls.ControlBase
     Wimark.Controls.DockNode
      Wimark.Controls.DockItem

[Visual Basic]
Public Class DockItem
   Inherits DockNode

[C#]
public class DockItem : DockNode
[C++]
public __gc class DockItem : public DockNode

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

The DockItem class represents a dockable tool window where application content can be added. A DockItem can be in one of the following states; docked, auto hidden or hidden or floating. The state can be changed by the user at runtime or programically by setting the DockState property. Use the ClientArea property to get the ClientArea control where you can add your application controls. The Text and ImageIndex properties allows you to specify the caption in the window bar and the image displayed when the DockItem is auto hidden or docked in a DockTab container.

DockItem controls are arranged in a hierarchy that describes where and how the tool windows are docked or their default docking layout if they are floating, auto hidden or hidden. The hierarchy is managed by a DockManager control and can contain DockColumn, DockRow and DockTab containers and DockItem controls. The DockManager control is assigned to the application main Form. A DockItem can be added directly to the DockManager, which means that it will be docked to one side of the main form, or to a dock container deeper in the hierarchy.

Requirements

Namespace: Wimark.Controls

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

Assembly: Wimark.Controls (in Wimark.Controls.dll)

See Also

DockItem Members | Wimark.Controls Namespace | DockNode