public Boolean IsSABranches
{
get
{
return (bool)GetValue(IsSABranchesProperty);
}
set
{
SetValue(IsSABranchesProperty, value);
if(value)
IsSAWarehouses = value;
NotifyPropertyChanged("IsSABranches");
}
}
public Boolean IsSAWarehouses
{
get
{
return (bool)GetValue(IsSABranchesProperty);
}
set
{
SetValue(IsSAWarehousesProperty, value);
NotifyPropertyChanged("IsSAWarehouses");
}
}
To make other check box disabled, eighter write down converter or another wrapper property to return negated value of IsSABranches.
Hope this will solve your problem.