1 type derived from ToolBar
PresentationUI (1)
artifacts\obj\PresentationUI\Debug\net9.0\MS\Internal\Documents\FindToolBar.g.cs (1)
37internal partial class FindToolBar : System.Windows.Controls.ToolBar, System.Windows.Markup.IComponentConnector {
2 instantiations of ToolBar
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10345bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ToolBar(); };
System\Windows\Markup\KnownTypes.cs (1)
1610case KnownElements.ToolBar: o = new System.Windows.Controls.ToolBar(); break;
118 references to ToolBar
PresentationFramework (118)
System\Windows\Automation\Peers\ToolBarAutomationPeer.cs (1)
24public ToolBarAutomationPeer(ToolBar owner): base(owner)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
85if ((child != null) && ToolBar.GetIsOverflowItem(child) && !(child is Separator)) 221private ToolBar ToolBar 223get { return TemplatedParent as ToolBar; } 230ToolBar tb = ToolBar;
System\Windows\Controls\Primitives\ToolBarPanel.cs (12)
70OverflowMode overflowMode = ToolBar.GetOverflowMode(child); 92ToolBar.SetIsOverflowItem(child, BooleanBoxes.FalseBox); 170ToolBar.SetIsOverflowItem(child, BooleanBoxes.FalseBox); 193ToolBar.SetIsOverflowItem(child, BooleanBoxes.TrueBox); 276ToolBar toolbar = ToolBar; 279toolbar.SetValue(ToolBar.HasOverflowItemsPropertyKey, hasAlwaysOverflowItems || hasAsNeededOverflowItems); 337if (TemplatedParent is ToolBar && !HasNonDefaultValue(OrientationProperty)) 341binding.Path = new PropertyPath(ToolBar.OrientationProperty); 380ToolBar.SetIsOverflowItem(child, BooleanBoxes.FalseBox); 525private ToolBar ToolBar 527get { return TemplatedParent as ToolBar; } 534ToolBar tb = ToolBar;
System\Windows\Controls\ToolBar.cs (32)
69ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 71DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 72_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToolBar)); 74IsTabStopProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 75FocusableProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 76KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 77KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 78KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 79FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 81EventManager.RegisterClassHandler(typeof(ToolBar), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true); 82EventManager.RegisterClassHandler(typeof(ToolBar), ButtonBase.ClickEvent, new RoutedEventHandler(_OnClick)); 110typeof(ToolBar), 124ToolBarTray toolBarTray = ((ToolBar) d).ToolBarTray; 148typeof(ToolBar), 172typeof(ToolBar), 196typeof(ToolBar), 218ToolBar tb = (ToolBar)d; 231ToolBar tb = (ToolBar) d; 253ToolBar toolBar = (ToolBar) element; 311typeof(ToolBar), 340typeof(ToolBar), 383typeof(ToolBar), 394ToolBar toolBar = ItemsControl.ItemsControlFromItemContainer(element) as ToolBar; 695ToolBar toolBar = (ToolBar)sender; 708ToolBar toolBar = (ToolBar)e;
System\Windows\Controls\ToolBarTray.cs (50)
111Collection<ToolBar> toolbarCollection = ((ToolBarTray)d).ToolBars; 114toolbarCollection[i].CoerceValue(ToolBar.OrientationProperty); 178public Collection<ToolBar> ToolBars 189private class ToolBarCollection : Collection<ToolBar> 196protected override void InsertItem(int index, ToolBar toolBar) 205protected override void SetItem(int index, ToolBar toolBar) 207ToolBar currentToolBar = Items[index]; 225ToolBar currentToolBar = this[index]; 241ToolBar currentToolBar = this[i]; 278ToolBar toolBar = value as ToolBar; 281throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(ToolBar)), "value"); 365List<ToolBar> band = _bands[bandIndex].Band; 370ToolBar toolBar = band[toolBarIndex]; 382ToolBar toolBar = band[toolBarIndex]; 429List<ToolBar> band = _bands[bandIndex].Band; 440ToolBar toolBar = band[toolBarIndex]; 517ToolBar toolBar = thumb.TemplatedParent as ToolBar; 551List<ToolBar> band = _bands[currentBand].Band; 565ToolBar prevToolBar = band[toolBarIndex - 1]; 612ToolBar nextToolBar = band[toolBarIndex + 1]; 651List<ToolBar> oldBand = _bands[currentBand].Band; 655ToolBar currentToolBar = oldBand[i]; 665private Point TransformPointToToolBar(ToolBar toolBar, Point point) 676private void ShrinkToolBars(List<ToolBar> band, int startIndex, int endIndex, double shrinkAmount) 682ToolBar toolBar = band[i]; 699ToolBar toolBar = band[i]; 714private double ToolBarsTotalMinimum(List<ToolBar> band, int startIndex, int endIndex) 724private void ExpandToolBars(List<ToolBar> band, int startIndex, int endIndex, double expandAmount) 730ToolBar toolBar = band[i]; 747ToolBar toolBar = band[i]; 762private double ToolBarsTotalMaximum(List<ToolBar> band, int startIndex, int endIndex) 772private void MoveToolBar(ToolBar toolBar, int newBandNumber, double position) 777List<ToolBar> newBand = _bands[newBandNumber].Band; 790ToolBar currentToolBar = newBand[i]; 842Collection<ToolBar> toolbarCollection = ToolBars; 853List<ToolBar> band = _bands[bandIndex].Band; 856ToolBar toolBar = band[toolBarIndex]; 872Collection<ToolBar> toolbarCollection = ToolBars; 875List<ToolBar> band = _bands[bandIndex].Band; 878ToolBar toolBar = band[toolBarIndex]; 889private void InsertBand(ToolBar toolBar, int toolBarIndex) 912Collection<ToolBar> toolbarCollection = ToolBars; 914ToolBar toolBar = toolbarCollection[startIndex]; 927private void InsertToolBar(ToolBar toolBar, List<ToolBar> band) 956public List<ToolBar> Band 967private List<ToolBar> _band = new List<ToolBar>();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
765case 669: t = () => typeof(ToolBar); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (7)
5944Type type = typeof(System.Windows.Controls.ToolBar); 5946this.GetXamlType(typeof(System.Windows.Controls.ToolBar)), // DeclaringType 5952bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ToolBar)target).Items; }; 5999typeof(System.Collections.ObjectModel.Collection<System.Windows.Controls.ToolBar>), // type 8201Type type = typeof(System.Windows.Controls.ToolBar); 8202DependencyProperty dp = System.Windows.Controls.ToolBar.OrientationProperty; 8204this.GetXamlType(typeof(System.Windows.Controls.ToolBar)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10343typeof(System.Windows.Controls.ToolBar),
System\Windows\Markup\KnownTypes.cs (1)
6223case KnownElements.ToolBar: t = typeof(System.Windows.Controls.ToolBar); break;
System\Windows\SystemKeyConverter.cs (1)
190return typeof(ToolBar);
System\Windows\SystemResourceKey.cs (8)
1838return ToolBar.ButtonStyleKey; 1841return ToolBar.ToggleButtonStyleKey; 1844return ToolBar.SeparatorStyleKey; 1847return ToolBar.CheckBoxStyleKey; 1850return ToolBar.RadioButtonStyleKey; 1853return ToolBar.ComboBoxStyleKey; 1856return ToolBar.TextBoxStyleKey; 1859return ToolBar.MenuStyleKey;