Control.setAnchor

Overview | Methods | Fields | This Package | All Packages

Control.setAnchor

Sets a value indicating which edges of the control are anchored to the edges of its container.

Syntax

public final void setAnchor( int value )

Parameters

value

An integer that represents how a control is anchored to the edges of its container. Possible values are constants defined in the ControlAnchor class.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid ControlAnchor constant.

See Also   getAnchor