C# 클래스 MonoTouch.Dialog.Section

Sections contain individual Element instances that are rendered by MonoTouch.Dialog
Sections are used to group elements in the screen and they are the only valid direct child of the RootElement. Sections can contain any of the standard elements, including new RootElements. RootElements embedded in a section are used to navigate to a new deeper level. You can assign a header and a footer either as strings (Header and Footer) properties, or as UIViews to be shown (HeaderView and FooterView). Internally this uses the same storage, so you can only show one or the other.
상속: Element, IEnumerable
파일 보기 프로젝트 열기: escoz/MonoMobile.Forms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Elements List
EntryAlignment System.Drawing.SizeF

공개 메소드들

메소드 설명
Add ( IEnumerable elements ) : int

Add version that can be used with LINQ

Add ( Element element ) : void

Adds a new child Element to the Section

Add ( IEnumerable views ) : void

Adds the UIViews to the section.

Add ( UIView view ) : void
Clear ( ) : void
GetCell ( UITableView tv ) : UITableViewCell
GetEnumerator ( ) : IEnumerator

Enumerator to get all the elements in the Section.

Insert ( int idx, UITableViewRowAnimation anim, IEnumerable newElements ) : int
Insert ( int index ) : void
Insert ( int idx, UITableViewRowAnimation anim ) : void

Inserts a series of elements into the Section using the specified animation

Remove ( Element e ) : void
Remove ( int idx ) : void
RemoveRange ( int start, int count ) : void

Removes a range of elements from the Section

RemoveRange ( int start, int count, UITableViewRowAnimation anim ) : void

Remove a range of elements from the section with the given animation

Section ( ) : System

Constructs a Section without header or footers.

Section ( UIView header ) : System
Section ( UIView header, UIView footer ) : System
Section ( string caption ) : System

Constructs a Section with the specified header

Section ( string caption, string footer ) : System

Constructs a Section with a header and a footer

Section ( string caption, string footer, string ID ) : System
this ( int idx ) : Element

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
InsertVisual ( int idx, UITableViewRowAnimation anim, int count ) : void

메소드 상세

Add() 공개 메소드

Add version that can be used with LINQ
public Add ( IEnumerable elements ) : int
elements IEnumerable /// An enumerable list that can be produced by something like: /// from x in ... select (Element) new MyElement (...) ///
리턴 int

Add() 공개 메소드

Adds a new child Element to the Section
public Add ( Element element ) : void
element Element /// An element to add to the section. ///
리턴 void

Add() 공개 메소드

Adds the UIViews to the section.
public Add ( IEnumerable views ) : void
views IEnumerable /// An enumarable list that can be produced by something like: /// from x in ... select (UIView) new UIFoo (); ///
리턴 void

Add() 공개 메소드

public Add ( UIView view ) : void
view UIView
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetCell() 공개 메소드

public GetCell ( UITableView tv ) : UITableViewCell
tv UITableView
리턴 UITableViewCell

GetEnumerator() 공개 메소드

Enumerator to get all the elements in the Section.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

Insert() 공개 메소드

public Insert ( int idx, UITableViewRowAnimation anim, IEnumerable newElements ) : int
idx int
anim UITableViewRowAnimation
newElements IEnumerable
리턴 int

Insert() 공개 메소드

public Insert ( int index ) : void
index int
리턴 void

Insert() 공개 메소드

Inserts a series of elements into the Section using the specified animation
public Insert ( int idx, UITableViewRowAnimation anim ) : void
idx int /// The index where the elements are inserted ///
anim UITableViewRowAnimation /// The animation to use ///
리턴 void

Remove() 공개 메소드

public Remove ( Element e ) : void
e Element
리턴 void

Remove() 공개 메소드

public Remove ( int idx ) : void
idx int
리턴 void

RemoveRange() 공개 메소드

Removes a range of elements from the Section
public RemoveRange ( int start, int count ) : void
start int /// Starting position ///
count int /// Number of elements to remove from the section ///
리턴 void

RemoveRange() 공개 메소드

Remove a range of elements from the section with the given animation
public RemoveRange ( int start, int count, UITableViewRowAnimation anim ) : void
start int /// Starting position ///
count int /// Number of elements to remove form the section ///
anim UITableViewRowAnimation /// The animation to use while removing the elements ///
리턴 void

Section() 공개 메소드

Constructs a Section without header or footers.
public Section ( ) : System
리턴 System

Section() 공개 메소드

public Section ( UIView header ) : System
header UIView
리턴 System

Section() 공개 메소드

public Section ( UIView header, UIView footer ) : System
header UIView
footer UIView
리턴 System

Section() 공개 메소드

Constructs a Section with the specified header
public Section ( string caption ) : System
caption string /// The header to display ///
리턴 System

Section() 공개 메소드

Constructs a Section with a header and a footer
public Section ( string caption, string footer ) : System
caption string /// The caption to display (or null to not display a caption) ///
footer string /// The footer to display. ///
리턴 System

Section() 공개 메소드

public Section ( string caption, string footer, string ID ) : System
caption string
footer string
ID string
리턴 System

this() 공개 메소드

public this ( int idx ) : Element
idx int
리턴 Element

프로퍼티 상세

Elements 공개적으로 프로퍼티

public List Elements
리턴 List

EntryAlignment 공개적으로 프로퍼티

public SizeF,System.Drawing EntryAlignment
리턴 System.Drawing.SizeF