C# Class ScheduleApp.AppConfig

显示文件 Open project: AndyCYao/AndroidSchedulerApp Class Usage Examples

Public Properties

Property Type Description
colourToName string>.Dictionary
nameToColour Color>.Dictionary
nameToSize NamedSize>.Dictionary
sizeToName string>.Dictionary

Public Methods

Method Description
AppConfig ( string fileToLoad = "" ) : System
GenerateButtonStyle ( ) : Xamarin.Forms.Style
GenerateEntryStyle ( ) : Xamarin.Forms.Style
GenerateLabelStyle ( ) : Xamarin.Forms.Style
GeneratePageStyle ( ) : Xamarin.Forms.Style
GeneratePickerStyle ( ) : Xamarin.Forms.Style
Read ( string path ) : void
Write ( string path ) : void
restoreDefaults ( ) : void

Method Details

AppConfig() public method

public AppConfig ( string fileToLoad = "" ) : System
fileToLoad string
return System

GenerateButtonStyle() public method

public GenerateButtonStyle ( ) : Xamarin.Forms.Style
return Xamarin.Forms.Style

GenerateEntryStyle() public method

public GenerateEntryStyle ( ) : Xamarin.Forms.Style
return Xamarin.Forms.Style

GenerateLabelStyle() public method

public GenerateLabelStyle ( ) : Xamarin.Forms.Style
return Xamarin.Forms.Style

GeneratePageStyle() public method

public GeneratePageStyle ( ) : Xamarin.Forms.Style
return Xamarin.Forms.Style

GeneratePickerStyle() public method

public GeneratePickerStyle ( ) : Xamarin.Forms.Style
return Xamarin.Forms.Style

Read() public method

public Read ( string path ) : void
path string
return void

Write() public method

public Write ( string path ) : void
path string
return void

restoreDefaults() public method

public restoreDefaults ( ) : void
return void

Property Details

colourToName public_oe property

public Dictionary colourToName
return string>.Dictionary

nameToColour public_oe property

public Dictionary nameToColour
return Color>.Dictionary

nameToSize public_oe property

public Dictionary nameToSize
return NamedSize>.Dictionary

sizeToName public_oe property

public Dictionary sizeToName
return string>.Dictionary