NSLayoutConstraint.FromVisualFormat 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FromVisualFormat(String, NSLayoutFormatOptions, Object[]) | |
FromVisualFormat(String, NSLayoutFormatOptions, NSDictionary, NSDictionary) |
FromVisualFormat(String, NSLayoutFormatOptions, Object[])
public static AppKit.NSLayoutConstraint[] FromVisualFormat (string format, AppKit.NSLayoutFormatOptions formatOptions, params object[] viewsAndMetrics);
static member FromVisualFormat : string * AppKit.NSLayoutFormatOptions * obj[] -> AppKit.NSLayoutConstraint[]
参数
- format
- String
- formatOptions
- NSLayoutFormatOptions
- viewsAndMetrics
- Object[]
返回
适用于
FromVisualFormat(String, NSLayoutFormatOptions, NSDictionary, NSDictionary)
[Foundation.Export("constraintsWithVisualFormat:options:metrics:views:")]
public static AppKit.NSLayoutConstraint[] FromVisualFormat (string format, AppKit.NSLayoutFormatOptions formatOptions, Foundation.NSDictionary metrics, Foundation.NSDictionary views);
static member FromVisualFormat : string * AppKit.NSLayoutFormatOptions * Foundation.NSDictionary * Foundation.NSDictionary -> AppKit.NSLayoutConstraint[]
参数
- format
- String
- formatOptions
- NSLayoutFormatOptions
- metrics
- NSDictionary
- views
- NSDictionary
返回
- 属性