[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.AppendMaxTop

AppendMaxTop Method

AppendMaxTop(LayoutRect, AnchorParam, float)

Adds a MaxTop constraint relative to anchorRect.

Declaration
public PositionConstraint AppendMaxTop(LayoutRect anchorRect, AnchorParam anchorParam, float offset = 0)
Public Function AppendMaxTop(anchorRect As LayoutRect, anchorParam As AnchorParam, Optional offset As Single = 0) As PositionConstraint
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

AnchorParam anchorParam

The source parameter of the anchorRect.

float offset

An increment to the value of the source parameter.

Returns
Type Description
PositionConstraint

New constraint just added.

AppendMaxTop(AnchorPoint, float)

Adds a MaxTop constraint relative to anchorPoint.

Declaration
public PositionConstraint AppendMaxTop(AnchorPoint anchorPoint, float offset = 0)
Public Function AppendMaxTop(anchorPoint As AnchorPoint, Optional offset As Single = 0) As PositionConstraint
Parameters
Type Name Description
AnchorPoint anchorPoint

The referenced AnchorPoint.

float offset

An increment to the position of anchorPoint.

Returns
Type Description
PositionConstraint

New constraint just added.