AnchorLeftRight(LayoutRect,Single,Single,Single) Method
In This Topic
Anchors a
LayoutRect to the left and right sides and rotation angle of and sets the height.
The vertical position is not fixed and requires an additional constraint.
Syntax
'Declaration
Public Overloads Sub AnchorLeftRight( _
ByVal As LayoutRect, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void AnchorLeftRight(
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.
- paddingLeft
- The inner padding relative to the left side of the .
- paddingRight
- The inner padding relative to the right side of the .
- height
- The proposed height.
See Also