I am trying to use LostFocus event as Command in DataGridTextColumn and can't find an example on how to use it in WPF. Can anyone help me use it as I am new to WPF.
Thank you.
My xaml looks like:
`
The c# code:
public partial class Myogg : UserControl {
MyLogg _viewModel;
public MyLogg()
{
InitializeComponent();
_viewModel = new MyLoggUCViewModel();
DataContext = _viewModel;
}
}`