C# Class CrossUI.Droid.Dialog.Elements.BooleanElement

Used to display toggle button on the screen.
Inheritance: BoolElement, CompoundButton.IOnCheckedChangeListener
Mostra file Open project: MvvmCross/MvvmCross

Public Methods

Method Description
BooleanElement ( string caption = null, bool value = false, string layoutName = null ) : Android.Content
OnCheckedChanged ( CompoundButton buttonView, bool isChecked ) : void
Selected ( ) : void

Protected Methods

Method Description
GetViewImpl ( Android.Content.Context context, Android.Views.ViewGroup parent ) : Android.Views.View
UpdateCaptionDisplay ( Android.Views.View cell ) : void
UpdateCellDisplay ( Android.Views.View cell ) : void
UpdateDetailDisplay ( Android.Views.View cell ) : void

Method Details

BooleanElement() public method

public BooleanElement ( string caption = null, bool value = false, string layoutName = null ) : Android.Content
caption string
value bool
layoutName string
return Android.Content

GetViewImpl() protected method

protected GetViewImpl ( Android.Content.Context context, Android.Views.ViewGroup parent ) : Android.Views.View
context Android.Content.Context
parent Android.Views.ViewGroup
return Android.Views.View

OnCheckedChanged() public method

public OnCheckedChanged ( CompoundButton buttonView, bool isChecked ) : void
buttonView CompoundButton
isChecked bool
return void

Selected() public method

public Selected ( ) : void
return void

UpdateCaptionDisplay() protected method

protected UpdateCaptionDisplay ( Android.Views.View cell ) : void
cell Android.Views.View
return void

UpdateCellDisplay() protected method

protected UpdateCellDisplay ( Android.Views.View cell ) : void
cell Android.Views.View
return void

UpdateDetailDisplay() protected method

protected UpdateDetailDisplay ( Android.Views.View cell ) : void
cell Android.Views.View
return void