Click or drag to resize
FormGetValueBool Method
Get field value as boolean.

Namespace:  GeonBit.UI.Utils.Forms
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual bool GetValueBool(
	string fieldId,
	Nullable<bool> defaultVal = null
)

Parameters

fieldId
Type: SystemString
Field to get.
defaultVal (Optional)
Type: SystemNullableBoolean
Default value to return if value to get is null, unselected, or empty string.

Return Value

Type: Boolean
Field's value.
See Also