12 references to CommandBar
Microsoft.Maui.Controls (12)
Platform\Windows\TitleViewManager.cs (12)
30 if (CommandBar != null) 32 CommandBar.LayoutUpdated += commandLayoutUpdated; 33 CommandBar.Unloaded += commandBarUnloaded; 53 if (CommandBar != null) 55 CommandBar.LayoutUpdated -= commandLayoutUpdated; 56 CommandBar.Unloaded -= commandBarUnloaded; 67 if (TitleView == null || TitleViewPresenter == null || CommandBar == null) 70 if (CommandBar.ActualWidth <= 0) 75 foreach (var item in CommandBar.GetDescendantsByName<Microsoft.UI.Xaml.Controls.Button>("MoreButton")) 79 if (!CommandBar.IsDynamicOverflowEnabled) 80 foreach (var item in CommandBar.GetDescendantsByName<ItemsControl>("PrimaryItemsControl")) 83 TitleViewPresenter.Width = CommandBar.ActualWidth - buttonWidth;