API Documentation > CorelDRAW > 2025-v26
DockHosts class
DockHosts class
Syntax:
Class DockHosts
Remarks:
The DockHosts class represents a collection of linear docking areas that can host one or more items which, in turn, could be DockHost or ViewHost items. A DockHost can be either horizontal or vertical. To create complex two-dimensional layouts, you must nest the DockHosts.
Properties:
Name Description
_NewEnum
Count Returns the number of available dock hosts
First Returns the first dock host
Item Returns a dock host by index
Last Returns the last dock host
Methods:
Name Description
Find Finds a dock host by ID