NSColor.FromName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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