void Handle(CheckBox checkBox, RowDefinition row) { vm = (ContractorPermitProcessViewModel)this.DataContext; if (vm != null) { vm.UpdateFee(checkBox.Content.ToString(), checkBox.IsChecked.Value); } }
public ContractorPermitProcess() { vm = (ContractorPermitProcessViewModel)this.DataContext; InitializeComponent(); }