Element 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
MonoTouch.Dialog 中所有元素的基类
public class Element : IDisposable
type Element = class
interface IDisposable
- 继承
-
Element
- 派生
- 实现
构造函数
Element(String) |
使用给定标题初始化 元素。 |
字段
Caption |
要为此给定元素显示的标题 |
Parent |
容器对象的句柄。 |
属性
CellKey |
替代 GetCell 方法的子类也应重写此方法 |
IndexPath |
返回给定元素的 IndexPath。 这仅适用于叶元素,如果尚未附加元素,则不适用于 toplevel RootElement 或 的 Section。 |
方法
Deselected(DialogViewController, UITableView, NSIndexPath) |
MonoTouch.Dialog 中所有元素的基类 |
Dispose() |
MonoTouch.Dialog 中所有元素的基类 |
Dispose(Boolean) |
MonoTouch.Dialog 中所有元素的基类 |
GetActiveCell() |
MonoTouch.Dialog 中所有元素的基类 |
GetCell(UITableView) |
MonoTouch.Dialog 中所有元素的基类 |
GetContainerTableView() |
MonoTouch.Dialog 中所有元素的基类 |
GetImmediateRootElement() |
如果附加了单元格,将返回即时 RootElement |
Matches(String) |
调用的方法用于确定单元格是否与给定文本匹配,永远不会使用 null 值或空字符串调用。 |
RemoveTag(UITableViewCell, Int32) |
MonoTouch.Dialog 中所有元素的基类 |
Selected(DialogViewController, UITableView, NSIndexPath) |
MonoTouch.Dialog 中所有元素的基类 |
Summary() |
返回此对象表示的值的摘要,适合作为具有子对象的 RootElement 的结果进行呈现。 |