UIViewElement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此元素可用于插入任意 UIView
public class UIViewElement : MonoTouch.Dialog.Element, MonoTouch.Dialog.IElementSizing
type UIViewElement = class
inherit Element
interface IElementSizing
- 继承
- 实现
注解
此处没有单元格重用,因为在本例中,我们有一个从 UIViewElement 到保存视图的单元格的 1:1 映射。
构造函数
UIViewElement(String, UIView, Boolean) |
此元素可用于插入任意 UIView |
UIViewElement(String, UIView, Boolean, UIEdgeInsets) |
此元素可用于插入任意 UIView |
字段
Caption |
要为此给定元素显示的标题 (继承自 Element) |
ContainerView |
此元素可用于插入任意 UIView |
Flags |
此元素可用于插入任意 UIView |
Parent |
容器对象的句柄。 (继承自 Element) |
View |
此元素可用于插入任意 UIView |
属性
CellKey |
替代 GetCell 方法的子类也应重写此方法 |
IndexPath |
返回给定元素的 IndexPath。 这仅适用于叶元素,如果尚未附加元素,则不适用于 toplevel RootElement 或 的 Section。 (继承自 Element) |
Insets |
此元素可用于插入任意 UIView |
方法
Deselected(DialogViewController, UITableView, NSIndexPath) |
此元素可用于插入任意 UIView (继承自 Element) |
Dispose() |
此元素可用于插入任意 UIView (继承自 Element) |
Dispose(Boolean) |
此元素可用于插入任意 UIView |
GetActiveCell() |
此元素可用于插入任意 UIView (继承自 Element) |
GetCell(UITableView) |
此元素可用于插入任意 UIView |
GetContainerTableView() |
此元素可用于插入任意 UIView (继承自 Element) |
GetHeight(UITableView, NSIndexPath) |
此元素可用于插入任意 UIView |
GetImmediateRootElement() |
如果附加了单元格,将返回立即的 RootElement (继承自 Element) |
Matches(String) |
调用的方法用于确定单元格是否与给定文本匹配,从不使用 null 值或空字符串调用。 (继承自 Element) |
Selected(DialogViewController, UITableView, NSIndexPath) |
此元素可用于插入任意 UIView (继承自 Element) |
Summary() |
返回此 对象表示的值的摘要,适合作为具有子对象的 RootElement 的结果呈现。 (继承自 Element) |