Table of Contents

Method BindBoolProp

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

BindBoolProp(object, string)

Binds property specified with instance and propName to the CheckBox. After binding CheckBox will edit the specified property.

public virtual CheckBox BindBoolProp(object instance, string propName)

Parameters

instance object

Object.

propName string

Property name.

Returns

CheckBox

Remarks

Property must have the bool type. Value of the binded property will be changed automatically after IsChecked is changed.