Click or drag to resize
CMSAbstractUIWebpartGetBoolContextValue Method
Returns bool property value. If property is not set, returns value from the UI context with the same name.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
protected bool GetBoolContextValue(
	string name,
	bool defaultValue,
	bool useSecure = false
)

Parameters

name
Type: SystemString
Property name or UIContext key
defaultValue
Type: SystemBoolean
Default value for empty properties
useSecure (Optional)
Type: SystemBoolean
If true, secure mode is used for getting property (value is not get from query string when not found in collection)

Return Value

Type: Boolean
See Also