CMSAbstractUIWebpart GetBoolContextValue Method Kentico 8.0 API Reference
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: 8.0.0.0 (8.0.5239.26125)

Parameters

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

Return Value

Type: OnlineBoolean
See Also