private void AddToStatusBar(IStatusBar statusBar, FrameworkElement item, object dataContext) { item.DataContext = dataContext; Disposables.TryAdd(statusBar.AddItem(item)); }
private void AddToStatusBar(IStatusBar statusBar, FrameworkElement item, object dataContext) { item.DataContext = dataContext; Disposables.TryAdd(statusBar.AddItem(item)); }