NSLayoutConstraint.Create Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
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
Parámetros
- view1
- NSObject
- attribute1
- NSLayoutAttribute
- relation
- NSLayoutRelation
Devoluciones
Se aplica a
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
Parámetros
- view1
- NSObject
- attribute1
- NSLayoutAttribute
- relation
- NSLayoutRelation
- multiplier
- nfloat
- constant
- nfloat
Devoluciones
Se aplica a
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
Parámetros
- view1
- NSObject
- attribute1
- NSLayoutAttribute
- relation
- NSLayoutRelation
- view2
- NSObject
- attribute2
- NSLayoutAttribute
- multiplier
- nfloat
- constant
- nfloat
Devoluciones
- Atributos