Search
DockControl Members
Constructors Fields Properties Methods Events
 


Enables docking of user interface elements.

The following tables list the members exposed by the DockControl type.

 Public Constructors

  Name Description

DockControl

Initializes a new instance of the DockControl class.

 Public Fields

  Name Description

CurrentVersion

Current version of chart file format.

 Public Properties

  Name Description

AutoHideOffset

Gets or sets the space between autohide tabs and the elements.

BorderColor

Gets or sets the border color of the dock elements.

ButtonForeColor

Gets or sets the content color of the buttons in the header of the dock windows.

ComplexTabEndColor

Gets or sets the second color of the gradient brush, used to fill unselected tabs in the tab control.

ComplexTabStartColor

Gets or sets the first color of the gradient brush, used to fill unselected tabs in the tab control.

ContentEndColor

Gets or sets the second color of the gradient brush, used to fill the content of the dock windows.

ContentStartColor

Gets or sets the first color of the gradient brush, used to fill the content of the dock windows.

DockHandlerColors

Gets or sets the colors of the gradient brush, used to fill the dock handlers.

DockPreviewColor

Gets or sets the color of the preview form.

DocumentTabStyle

Gets or sets the tab style of tabbed documents.

HeaderEndColor

Gets or sets the second color of the gradient brush, used to fill the header of the focused dock windows.

HeaderStartColor

Gets or sets the first color of the gradient brush, used to fill the header of the focused dock windows.

HoverBorderColor

Gets or sets the border color of the tabs and the buttons when the user hovers over them with the mouse.

HoverEndColor

Gets or sets the second color of the gradient brush, used fill the tabs and the buttons when the user hovers over them with the mouse.

HoverStartColor

Gets or sets the first color of the gradient brush, used to fill the tabs and the buttons when the user hovers over them with the mouse.

InactiveForeColor

Gets or sets the text color of inactive elements.

InactiveHeaderEndColor

Gets or sets the second color of the gradient brush, used to fill the header of dock windows that are not focused.

InactiveHeaderStartColor

Gets or sets the first color of the gradient brush, used to fill the header of dock windows that are not focused.

InactiveSelectedHeaderEndColor

Gets or sets the second color of the gradient brush, used to fill the header of selected dock windows that are not focused.

InactiveSelectedHeaderStartColor

Gets or sets the first color of the gradient brush, used to fill the header of selected dock windows that are not focused.

Items

Get the list of all items in the control.

LicenseKey

Gets or sets the license key of the control.

MaxDocumentTabSize

Gets or sets the maximum tab size of tabbed documents.

MinWindowSize

Gets or sets the minimum size of the dock windows.

SplitterSize

Gets or sets the size of the splitters.

StringFormat

Gets or sets the string format of the texts in the control.

TabbedDocumentPadding

Gets or sets the padding of the tabbed document.

TabDocumentBorderColor

Gets or sets the border color of the tab control.

TabDocumentEndColor

Gets or sets the second color of the gradient brush, used to draw the tab control.

TabDocumentStartColor

Gets or sets the first color of the gradient brush, used to draw the tab control.

TabEndColor

Gets or sets the second color of the gradient brush, used to fill unselected tabs on every dock window exept the tabbed document.

TabOffset

Gets or sets the space between tabs and the adjacent elements.

TabStartColor

Gets or sets the first color of the gradient brush, used to fill unselected tabs on every dock window exept the tabbed document.

 Public Methods

  Name Description

ActivateItem

Attempts to activate and focus the specified dock item.

BeginInit

Start initialization.

CloseItem

Closes the specified item.

EndInit

End initialization.

FindAllItems

Returns a list with all currently opened item.

FindFocusedItem

Gets the DockItem, which holds the input focus.

GetSelectedDocument

Gets the currently active document.

LoadFromXml

Overloaded.  

SaveToXml

Overloaded.  

UpdateLayout

Forces an update of the dock layout, usually after a change to the control properties.

 Protected Methods

  Name Description

Dispose

Clean up any resources being used.

OnPaint

Control.OnPaint override.

 Public Events

  Name Description

ItemActivated

Raised when an item is activated.

ItemLoading

Raised for each DockItem when the control is loaded from a file.

WindowClosed

Raised when a window is closed.

WindowClosing

Raised when a window is about to be closed.

 See Also