Answer the question
In order to leave comments, you need to log in
How to correctly validate CurrentEntity in a dialog box?
I'm passing a user-selected row from a DataGrid to a dialog box. I write it in:
private ServiceCenter _serviceCenter;
public ServiceCenter _ServiceCenter
{
get { return _serviceCenter; }
set
{
if (_serviceCenter == value) { return; }
_serviceCenter = value;
RaisePropertyChanged(() => _ServiceCenter);
}
}
<TextBox Text="{Binding _ServiceCenter.FullName,
ValidatesOnDataErrors=True,
UpdateSourceTrigger=PropertyChanged}" />
public string this[string columnName]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question