private void CreateShowLayoutToolBarItem() { var showLayoutToolBarItem = ToolBarService.CreateToolBarButtonItem(); showLayoutToolBarItem.DisplayName = "Layout"; showLayoutToolBarItem.Command = new DelegateCommand(() => Service.ShowLayoutAsync()); showLayoutToolBarItem.IsVisible = false; ToolBarService.Items.Add(showLayoutToolBarItem); this.SyncToolBarItemWithViewModelActivationState(showLayoutToolBarItem).AddDisposable(Disposables); }