Checkbox Binding Problem

Aug 17, 2010 at 2:05 AM
Edited Aug 17, 2010 at 2:44 AM
I'm just getting started with framework (love it) and am having problems binding to a checkbox. My Viewmodel for the checkbox is -

public Boolean driver_Active
{
get { return _cnd_Drivers.driver_Active; }
set
{
_cnd_Drivers.driver_Active = value;
NotifyOfPropertyChange(() => driver_Active);
}
}

The xmal for this property is

<CheckBox Grid.Column="1" Grid.Row="1" Name="driver_Active" />

What is happening is that the Caption field is getting filled in with - "System.Boolean Not Found" and the "driver_Active" property is not being bound to the checkbox.

Suggestions ?
Tom
Aug 17, 2010 at 11:02 AM

It seems an issue with binding convention. Are you using the latest version (b499d8ef7be9) ?
Rob fixed something around ToggleButton convention binding that should be related to your scenario.

Coordinator
Aug 17, 2010 at 2:13 PM
I believe I encountered (and fixed) this bug just over the weekend. Can you grab the latest and confirm that with your solution?
Aug 18, 2010 at 1:38 AM
That did solve the problem. Thanks for letting me know about the fix.