IBorderLayout

Special functionality for border nodes. It offers control over the position and orientation of the border decorators, as well as about the visibility of them.
Border nodes are limited to one child node, called the contained node. Their objective is to provide some decoration that surrounds that specific element, such as gripper, edges or other 3-D gadgets that appear around the node; similarly to the non-client area of a window.

Defined in: BorderLayout.h

Based On

Basic layout node functionality.

Methods

ILayoutNode* GetContainedNode

Returns the node contained by this border.

void SetBorderMargins

Sets the thickness of each border position independently. A thickness of 0 indicates no border is wanted in that given position.

void GetBorderMargins

Retrieves the thickness in pixels assigned to each one of the border positions.

BorderOrientation Get/SetBorderOrientation

Sets or retrieves the orientation attribute of the border node. Some border node derivatives, like the gripper node, are orientation sensitive, meaning that the way they display is dependent on this attribute.

void ShowBorder

Shows or hides the border. When the border node is hidden it still participates in the layout operations, but its area is totally covered by the contained node.

bool IsBorderVisible

Returns the visibility attribute for this border node. Use the IBorderLayout::ShowBorder method to set this attribute. When the border node is hidden it still participates in the layout operations, but its area is totally covered by the contained node.