Class AnchorTypes
Specifies how a layout component anchors to the edges of its layout bounds when managed by a GridBagLayout.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class AnchorTypes : Enum
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
Center
The child component is anchored to the center of its layout bounds.
Declaration
public const AnchorTypes Center
Field Value
| Type |
|---|
| AnchorTypes |
East
The child component is anchored to the East of its layout bounds.
Declaration
public const AnchorTypes East
Field Value
| Type |
|---|
| AnchorTypes |
North
The child component is anchored to the North of its layout bounds.
Declaration
public const AnchorTypes North
Field Value
| Type |
|---|
| AnchorTypes |
NorthEast
The child component is anchored to the NorthEast of its layout bounds.
Declaration
public const AnchorTypes NorthEast
Field Value
| Type |
|---|
| AnchorTypes |
NorthWest
The child component is anchored to the NorthWest of its layout bounds.
Declaration
public const AnchorTypes NorthWest
Field Value
| Type |
|---|
| AnchorTypes |
South
The child component is anchored to the South of its layout bounds.
Declaration
public const AnchorTypes South
Field Value
| Type |
|---|
| AnchorTypes |
SouthEast
The child component is anchored to the SouthEast of its layout bounds.
Declaration
public const AnchorTypes SouthEast
Field Value
| Type |
|---|
| AnchorTypes |
SouthWest
The child component is anchored to the SouthWest of its layout bounds.
Declaration
public const AnchorTypes SouthWest
Field Value
| Type |
|---|
| AnchorTypes |
West
The child component is anchored to the West of its layout bounds.
Declaration
public const AnchorTypes West
Field Value
| Type |
|---|
| AnchorTypes |