NSLayoutConstraint.FirstAnchor<AnchorType> Method

Definition

For an anchor-based constraint, returns the first anchor, properly downcast to AnchorType.

public UIKit.NSLayoutAnchor<AnchorType> FirstAnchor<AnchorType> () where AnchorType : Foundation.NSObject;
member this.FirstAnchor : unit -> UIKit.NSLayoutAnchor<'AnchorType (requires 'AnchorType :> Foundation.NSObject)> (requires 'AnchorType :> Foundation.NSObject)

Type Parameters

AnchorType

Returns

Applies to