C# Class Blog.Mobile.Helpers.Color

Show file Open project: jsnmgpnty/Blogness2.0

Public Properties

Property Type Description
Blue Color
DarkBlue Color
DarkGray Color
Gold Color
Gray Color
Green Color
LightBlue Color
LightGray Color
Purple Color
R double
White Color

Public Methods

Method Description
FromHex ( int hex ) : Color
ToAndroidColor ( ) : global::Android.Graphics.Color
ToFormsColor ( ) : Xamarin.Forms.Color
ToUIColor ( ) : UIColor

Method Details

FromHex() public static method

public static FromHex ( int hex ) : Color
hex int
return Color

ToAndroidColor() public method

public ToAndroidColor ( ) : global::Android.Graphics.Color
return global::Android.Graphics.Color

ToFormsColor() public method

public ToFormsColor ( ) : Xamarin.Forms.Color
return Xamarin.Forms.Color

ToUIColor() public method

public ToUIColor ( ) : UIColor
return UIColor

Property Details

Blue public static property

public static Color Blue
return Color

DarkBlue public static property

public static Color DarkBlue
return Color

DarkGray public static property

public static Color DarkGray
return Color

Gold public static property

public static Color Gold
return Color

Gray public static property

public static Color Gray
return Color

Green public static property

public static Color Green
return Color

LightBlue public static property

public static Color LightBlue
return Color

LightGray public static property

public static Color LightGray
return Color

Purple public static property

public static Color Purple
return Color

R public property

public double R
return double

White public static property

public static Color White
return Color