Each INDockZoneChild instance exposes a SizeInfo property which is used by a layout engine to perform layout logic upon it.
The following table describes the NSizeInfo object:
Property | Description |
---|---|
Specifies the available types of logic that is applied when resizing layout targets:
|
|
Specifies the percentage that should be observed when SizeLogic is Relative. |
|
Specifies the absolute size to be used when SizeLogic is Absolute. |
Each INLayoutEngine instance exposes a LayoutInfo property which contains information about a layout operation. A NDockZoneLayoutEngine uses this info to perform its layout logic.
The following table describes the NLayoutInfo properties:
Property | Description |
---|---|
Gets the targets for the layout operation. This might differ from the actual children number as some child might be empty (invisible). |
|
Gets all children which are to be autosized. |
|
Get the bounds for the layout operation. |
|
Gets the orientation to be used for the layout operation. |
|
Gets (if any) the target that is maximized within its parent bounds. |
|
Gets the size that will be distributed even among all autosizable targets. |
The NDockZoneLayoutEngine object is responsible for adjusting size and location of the children of a INDockZone instance. Every time a zone's bounds are changed it gets its current LayoutEngine instance and asks it to perform layout logic upon its children.
The following table describes the layout engine's features:
Method | Description |
---|---|
Calculates the size of all autosizable targets. |
|
Performs a layout logic upon a INDockZone instance. |
|
The layout engine calls this method every time when it is about to set a layout target's width. |
|
The layout engine calls this method every time when it is about to set a layout target's height. |