private void OnLedgerBookReadyMessageReceived(LedgerBookReadyMessage message) { // this is only used when no Ledgerbook has been previously loaded. Data binding hasnt been set up to respond to the ViewModel.LedgerBook property changing until the UI is actually drawn // for the first time. if (message.LedgerBook != null && message.ForceUiRefresh) { DynamicallyCreateLedgerBookGrid(); } }