ControlAnchor Class
Methods | Fields | This Package | All Packages
Defines constants that specify how a control is anchored to the edges of its container.
Enum
|
+--ControlAnchor
package com.ms.wfc.ui
public class ControlAnchor
extends Enum****
Remarks
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 the edges of a control. If the control is anchored to opposite edges of its container (for example, to the top and bottom), it resizes when the container resizes.