Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Disable CheckBox when other Value in row is double.NaN
posted

I have two properties in my viewmodel.

bool Adjust

double DesiredValue

In XamGrid I have this ColumnLayout:

 <ig:ColumnLayout Key="Values">

 <ig:ColumnLayout.Columns>

 <ig:CheckBoxColumn Key="Adjust" HeaderText="Adjust" EditorDisplayBehavior="Always" />

<ig:TextColumn Key="DesiredValue" HeaderText="Desired Value" />

</ig:ColumnLayout.Columns>

</ig:ColumnLayout>

How can I disable the checkbox for Adjust if DesiredValue is equal to double.NaN?