C# Class MonoMobile.Dialog.RootElement

Mostrar archivo Open project: moljac/MonoMobile.Dialog Class Usage Examples

Public Properties

Property Type Description
StackPanel StackPanel
createOnSelected UIElement>.Func

Public Methods

Method Description
Add ( IEnumerable
sections ) : void
Add ( Section section ) : void

Adds a new section to this RootElement

Clear ( ) : void
GetControl ( ) : FrameworkElement

MT.D: public override UITableViewCell GetCell(UITableView tv) MA.D: public override View GetView(Context context, View convertView, ViewGroup parent) WP.D: Brainstorming needed! Control NOGO FrameworkElement GO! TODO: see more!

Insert ( int idx, DoubleAnimation anim ) : void

Inserts a new section into the RootElement

This inserts the specified list of sections (a params argument) into the e using the specified animation.

Insert ( int idx, Section section ) : void

Inserts a new section into the RootElement

This inserts the specified list of sections (a params argument) into the e using the Fade animation.

Remove ( Section s ) : void
Remove ( Section s, DoubleAnimation anim ) : void
RemoveAt ( int idx ) : void

Removes a section at a specified location

RemoveAt ( int idx, DoubleAnimation anim ) : void

Removes a section at a specified location using the specified animation

RootElement ( string caption ) : System

Initializes a RootSection with a caption

RootElement ( string caption, Group group ) : System

Initializes a RootElement that renders the summary based on the radio settings of the contained elements.

RootElement ( string caption, NSAction tapped ) : System
RootElement ( string caption, RootElement navigate_back ) : System
RootElement ( string caption, int section, int element ) : System

Initializes a RootElement with a caption with a summary fetched from the specified section and leement

StartActivity ( System type_of_activity ) : void
this ( int idx ) : Section

Protected Methods

Method Description
BackClicked ( ) : void

Private Methods

Method Description
IndexOf ( Section target ) : int

Method Details

Add() public method

public Add ( IEnumerable
sections ) : void
sections IEnumerable
return void

Add() public method

Adds a new section to this RootElement
public Add ( Section section ) : void
section Section /// The section to add, if the e is visible, the section is inserted with no animation ///
return void

BackClicked() protected method

protected BackClicked ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

GetControl() public method

MT.D: public override UITableViewCell GetCell(UITableView tv) MA.D: public override View GetView(Context context, View convertView, ViewGroup parent) WP.D: Brainstorming needed! Control NOGO FrameworkElement GO! TODO: see more!
public GetControl ( ) : FrameworkElement
return FrameworkElement

Insert() public method

Inserts a new section into the RootElement
This inserts the specified list of sections (a params argument) into the e using the specified animation.
public Insert ( int idx, DoubleAnimation anim ) : void
idx int /// The index where the section is added ///
anim DoubleAnimation /// The type. ///
return void

Insert() public method

Inserts a new section into the RootElement
This inserts the specified list of sections (a params argument) into the e using the Fade animation.
public Insert ( int idx, Section section ) : void
idx int /// The index where the section is added ///
section Section
return void

Remove() public method

public Remove ( Section s ) : void
s Section
return void

Remove() public method

public Remove ( Section s, DoubleAnimation anim ) : void
s Section
anim DoubleAnimation
return void

RemoveAt() public method

Removes a section at a specified location
public RemoveAt ( int idx ) : void
idx int
return void

RemoveAt() public method

Removes a section at a specified location using the specified animation
public RemoveAt ( int idx, DoubleAnimation anim ) : void
idx int /// A ///
anim DoubleAnimation /// A ///
return void

RootElement() public method

Initializes a RootSection with a caption
public RootElement ( string caption ) : System
caption string /// The caption to render. ///
return System

RootElement() public method

Initializes a RootElement that renders the summary based on the radio settings of the contained elements.
public RootElement ( string caption, Group group ) : System
caption string /// The caption to ender ///
group Group /// The group that contains the checkbox or radio information. This is used to display /// the summary information when a RootElement is rendered inside a section. ///
return System

RootElement() public method

public RootElement ( string caption, NSAction tapped ) : System
caption string
tapped NSAction
return System

RootElement() public method

public RootElement ( string caption, RootElement navigate_back ) : System
caption string
navigate_back RootElement
return System

RootElement() public method

Initializes a RootElement with a caption with a summary fetched from the specified section and leement
public RootElement ( string caption, int section, int element ) : System
caption string /// The caption to render cref="System.String"/> ///
section int /// The section that contains the fe with the summary. ///
element int
return System

StartActivity() public method

public StartActivity ( System type_of_activity ) : void
type_of_activity System
return void

this() public method

public this ( int idx ) : Section
idx int
return Section

Property Details

StackPanel public_oe property

public StackPanel StackPanel
return StackPanel

createOnSelected public_oe property

public Func createOnSelected
return UIElement>.Func