Section Section Class
Sections contain individual Element instances that are rendered by MonoTouch.Dialog
public class Section : MonoTouch.Dialog.Element, System.Collections.IEnumerable
type Section = class inherit Element interface IEnumerable
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
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.
Constructs a Section without header or footers.
Constructs a Section with the specified header
|Section(String, String) Section(String, String)||
Constructs a Section with a header and a footer
|Section(UIView, UIView) Section(UIView, UIView)|
The caption to display for this given element(Inherited from Element)
Handle to the container object.(Inherited from Element)
Subclasses that override the GetCell method should override this method as well(Inherited from Element)
The section footer, as a string.
The section's footer view.
The section header, as a string
The section's header view.
Returns the IndexPath of a given element. This is only valid for leaf elements, it does not work for a toplevel RootElement or a Section of if the Element has not been attached yet.(Inherited from Element)