NSTextField.CreateLabel Method

Definition

Overloads

CreateLabel(NSAttributedString)
CreateLabel(String)

CreateLabel(NSAttributedString)

[Foundation.Export("labelWithAttributedString:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSTextField CreateLabel (Foundation.NSAttributedString attributedStringValue);
static member CreateLabel : Foundation.NSAttributedString -> AppKit.NSTextField

Parameters

attributedStringValue
NSAttributedString

Returns

Attributes

Applies to

CreateLabel(String)

[Foundation.Export("labelWithString:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSTextField CreateLabel (string stringValue);
static member CreateLabel : string -> AppKit.NSTextField

Parameters

stringValue
String

Returns

Attributes

Applies to