AnchorTopBottom(LayoutRect,Single,Single,Single) Method
In This Topic
Anchors a
LayoutRect to the top and bottom sides and rotation angle of and sets the width.
The horizontal position is not fixed and requires an additional constraint.
Syntax
'Declaration
Public Overloads Sub AnchorTopBottom( _
ByVal As LayoutRect, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void AnchorTopBottom(
LayoutRect ,
System.float ,
System.float ,
System.float
)
Parameters
- anchorRect
- The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
- paddingTop
- The inner padding relative to the top side of the .
- paddingBottom
- The inner padding relative to the bottom side of the .
- width
- The proposed width.
See Also