Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getAnchor

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

Syntax

public final int getAnchor()

Return Value

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

See Also   setAnchor