Edit

Share via


NSColor.FromName Method

Definition

Overloads

FromName(String)
FromName(String, NSBundle)

FromName(String)

[Foundation.Export("colorNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSColor FromName (string name);
static member FromName : string -> AppKit.NSColor

Parameters

name
String

Returns

Attributes

Applies to

FromName(String, NSBundle)

[Foundation.Export("colorNamed:bundle:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSColor FromName (string name, Foundation.NSBundle bundle);
static member FromName : string * Foundation.NSBundle -> AppKit.NSColor

Parameters

name
String
bundle
NSBundle

Returns

Attributes

Applies to