Hi James,
Thanks for contacting Syncfusion support,
We have analyzed your query. You could not Enable or Disable the GridDataConditionalFormat by using IsEnable property because since this property not available in GridDataConditionalFormat . But you can achieve your requirement like binding the CheckBox by interaction behavior with custom Dependency Property. Here we have bind the custom dependency property to IsChecked property of CheckBox. We have applied the conditional formatting to GridDataControl based on checkbox value in DependencyPropertyChangedCallBack method. Please refer the below code snippet.
Code snippet[XAML]:
<i:Interaction.Behaviors>
<local:BehaviorClass Enable="{Binding Path=IsChecked, ElementName=checkbox}" />
</i:Interaction.Behaviors>
|
We have prepared a sample based on this and, you can download it from below location.
Sample Location: GridDataControl_ConditionalFormat.zip
Please let us know if you have any other queries,
Regards,
Saravanan.M