Enum AnchorTypes
Specifies how a layout component anchors to the edges of its layout bounds when managed by a GridBagLayout.
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public enum AnchorTypes
Remarks
A child component usually gets more space than its preferred size when being laid out. These values specify how to align such components within the layout bounds.
Fields
| Name | Description |
|---|---|
| Center | The child component is anchored to the center of its layout bounds. |
| East | The child component is anchored to the East of its layout bounds. |
| North | The child component is anchored to the North of its layout bounds. |
| NorthEast | The child component is anchored to the NorthEast of its layout bounds. |
| NorthWest | The child component is anchored to the NorthWest of its layout bounds. |
| South | The child component is anchored to the South of its layout bounds. |
| SouthEast | The child component is anchored to the SouthEast of its layout bounds. |
| SouthWest | The child component is anchored to the SouthWest of its layout bounds. |
| West | The child component is anchored to the West of its layout bounds. |