public LedgerTransactionUserControl() { InitializeComponent(); DataContextChanged += OnDataContextChanged; }