BaseBooleanImageElement 类

定义

此类用于以图像的形式呈现字符串 + 状态。

public abstract class BaseBooleanImageElement : MonoTouch.Dialog.BoolElement
type BaseBooleanImageElement = class
    inherit BoolElement
继承
BaseBooleanImageElement
派生

注解

这是抽象的,避免使此元素保留两个指针的状态图像,每个槽节省 8 个字节。 派生较多的类“BooleanImageElement”显示了一种通过保留两个指针来实现此功能的方法,更好的实现将返回指向已预加载且是静态的图像的指针。 子类只需要实现 GetImage 方法。

构造函数

BaseBooleanImageElement(String, Boolean)

此类用于以图像的形式呈现字符串 + 状态。

字段

Caption

要为此给定元素显示的标题

(继承自 Element)
Parent

容器对象的句柄。

(继承自 Element)

属性

CellKey

替代 GetCell 方法的子类也应重写此方法

IndexPath

返回给定元素的 IndexPath。 这仅适用于叶元素,如果尚未附加元素,则不适用于 toplevel RootElement 或 的 Section。

(继承自 Element)
Value

此布尔元素的值。

(继承自 BoolElement)

方法

Deselected(DialogViewController, UITableView, NSIndexPath)

此类用于以图像的形式呈现字符串 + 状态。

(继承自 Element)
Dispose()

此类用于以图像的形式呈现字符串 + 状态。

(继承自 Element)
Dispose(Boolean)

此类用于以图像的形式呈现字符串 + 状态。

(继承自 Element)
GetActiveCell()

此类用于以图像的形式呈现字符串 + 状态。

(继承自 Element)
GetCell(UITableView)

此类用于以图像的形式呈现字符串 + 状态。

GetContainerTableView()

此类用于以图像的形式呈现字符串 + 状态。

(继承自 Element)
GetImage()

此类用于以图像的形式呈现字符串 + 状态。

GetImmediateRootElement()

如果附加了单元格,将返回立即的 RootElement

(继承自 Element)
Matches(String)

调用的方法用于确定单元格是否与给定文本匹配,从不使用 null 值或空字符串调用。

(继承自 Element)
Selected(DialogViewController, UITableView, NSIndexPath)

此类用于以图像的形式呈现字符串 + 状态。

(继承自 Element)
Summary()

返回 (开/关) 布尔值的本地化版本。

(继承自 BoolElement)

事件

Tapped

此类用于以图像的形式呈现字符串 + 状态。

ValueChanged

当 Value 属性更改时引发的事件。

(继承自 BoolElement)

适用于