다음을 통해 공유


NSLayoutConstraint.Create 메서드

정의

오버로드

Create(NSObject, NSLayoutAttribute, NSLayoutRelation)
Create(NSObject, NSLayoutAttribute, NSLayoutRelation, nfloat, nfloat)
Create(NSObject, NSLayoutAttribute, NSLayoutRelation, NSObject, NSLayoutAttribute, nfloat, nfloat)

Create(NSObject, NSLayoutAttribute, NSLayoutRelation)

public static AppKit.NSLayoutConstraint Create (Foundation.NSObject view1, AppKit.NSLayoutAttribute attribute1, AppKit.NSLayoutRelation relation);
static member Create : Foundation.NSObject * AppKit.NSLayoutAttribute * AppKit.NSLayoutRelation -> AppKit.NSLayoutConstraint

매개 변수

view1
NSObject
attribute1
NSLayoutAttribute
relation
NSLayoutRelation

반환

적용 대상

Create(NSObject, NSLayoutAttribute, NSLayoutRelation, nfloat, nfloat)

public static AppKit.NSLayoutConstraint Create (Foundation.NSObject view1, AppKit.NSLayoutAttribute attribute1, AppKit.NSLayoutRelation relation, nfloat multiplier, nfloat constant);
static member Create : Foundation.NSObject * AppKit.NSLayoutAttribute * AppKit.NSLayoutRelation * nfloat * nfloat -> AppKit.NSLayoutConstraint

매개 변수

view1
NSObject
attribute1
NSLayoutAttribute
relation
NSLayoutRelation
multiplier
nfloat
constant
nfloat

반환

적용 대상

Create(NSObject, NSLayoutAttribute, NSLayoutRelation, NSObject, NSLayoutAttribute, nfloat, nfloat)

[Foundation.Export("constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:")]
public static AppKit.NSLayoutConstraint Create (Foundation.NSObject view1, AppKit.NSLayoutAttribute attribute1, AppKit.NSLayoutRelation relation, Foundation.NSObject view2, AppKit.NSLayoutAttribute attribute2, nfloat multiplier, nfloat constant);
static member Create : Foundation.NSObject * AppKit.NSLayoutAttribute * AppKit.NSLayoutRelation * Foundation.NSObject * AppKit.NSLayoutAttribute * nfloat * nfloat -> AppKit.NSLayoutConstraint

매개 변수

view1
NSObject
attribute1
NSLayoutAttribute
relation
NSLayoutRelation
view2
NSObject
attribute2
NSLayoutAttribute
multiplier
nfloat
constant
nfloat

반환

특성

적용 대상