BooleanElement 类

定义

用于在屏幕上显示开关。

public class BooleanElement : MonoTouch.Dialog.BoolElement
type BooleanElement = class
    inherit BoolElement
继承
BooleanElement

构造函数

BooleanElement(String, Boolean)

用于在屏幕上显示开关。

BooleanElement(String, Boolean, String)

用于在屏幕上显示开关。

字段

Caption

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

(继承自 Element)
Parent

容器对象的句柄。

(继承自 Element)

属性

CellKey

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

IndexPath

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

(继承自 Element)
Value

用于在屏幕上显示开关。

方法

Deselected(DialogViewController, UITableView, NSIndexPath)

用于在屏幕上显示开关。

(继承自 Element)
Dispose()

用于在屏幕上显示开关。

(继承自 Element)
Dispose(Boolean)

用于在屏幕上显示开关。

GetActiveCell()

用于在屏幕上显示开关。

(继承自 Element)
GetCell(UITableView)

用于在屏幕上显示开关。

GetContainerTableView()

用于在屏幕上显示开关。

(继承自 Element)
GetImmediateRootElement()

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

(继承自 Element)
Matches(String)

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

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

用于在屏幕上显示开关。

(继承自 Element)
Summary()

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

(继承自 BoolElement)

事件

ValueChanged

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

(继承自 BoolElement)

适用于