'Declaration Public Overloads Function GetConstraint( _ ByVal targetParam As TargetParam, _ ByVal anchorRect As LayoutRect, _ Optional ByVal anchorParam As AnchorParam _ ) As Constraint
public Constraint GetConstraint( TargetParam targetParam, LayoutRect anchorRect, AnchorParam anchorParam )
Parameters
- targetParam
- The target parameter of the Constraint to search for.
- anchorRect
- The referenced (anchor) LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
- anchorParam
- The source parameter of the anchor LayoutRect; AnchorParam.None means any anchor parameter.
Return Value
The found Constraint object or null if the constraint is not found.