xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.

§ segments

enum xtd::forms::segments
strong

Specifies how a control anchors to the edges of its container.

Remarks
This enumeration has a flags attribute that allows a bitwise combination of its member values.
When a control is anchored to an edge of its container, the distance between the control and the specified edge remains constant when the container resizes. For example, if a control is anchored to the right edge of its container, the distance between the right edge of the control and the right edge of the container remains constant when the container resizes. A control can be anchored to any combination of control edges. If the control is anchored to opposite edges of its container (for example, to the top and bottom), it resizes when the container resizes. If a control has its anchor property set to none, the control moves half of the distance that the container of the control is resized. For example, if a button has its anchor property set to none and the form that the control is located on is resized by 20 pixels in either direction, the button will be moved 10 pixels in both directions.
Enumerator
none 

no segment.

The a segment.

The b segment.

The c segment.

The d segment.

The e segment.

The f segment.

The g segment.

The h segment.

The i segment.

The j segment.

The k segment.

The l segment.

The m segment.

a1 

The a1 segment.

a2 

The a2 segment.

d1 

The d1 segment.

d2 

The d2 segment.

g1 

The g1 segment.

g2 

The g2 segment.

dp 

The dp segment (dot point).

pc 

The cp segment (punctuation colon).