UIKit.UIColor Class
Colors and Patterns as used in UIKit.

See Also: UIColor Members


[Foundation.Register("UIColor", true)]
public class UIColor : Foundation.NSObject, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable


Basic representation for colors in UIKit. UIColors can be created from various color representations as well as encoding an alpha transparency channel. In addition to solid or transparent colors, it is possible to create a UIColor instance from an image, and use the resulting UIColor as a brush whenever a UIKit UIColor is used.

In addition to providing various constructors and some common colors, the following colors represent system colors: UIColor.LightTextColor, UIColor.DarkTextColor, UIColor.GroupTableViewBackgroundColor, UIColor.ViewFlipsideBackgroundColor, UIColor.ScrollViewTexturedBackgroundColor and UIColor.UnderPageBackgroundColor.

The members of this class can be used from a background thread.

Related content


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: