1 type derived from ToolBar
PresentationUI (1)
artifacts\obj\PresentationUI\x86\Debug\net10.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)
11482DefaultConstructor = delegate () { return new System.Windows.Controls.ToolBar(); },
System\Windows\Markup\KnownTypes.cs (1)
1604case KnownElements.ToolBar: o = new System.Windows.Controls.ToolBar(); break;
118 references to ToolBar
PresentationFramework (118)
System\Windows\Automation\Peers\ToolBarAutomationPeer.cs (1)
13public ToolBarAutomationPeer(ToolBar owner): base(owner)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
75if ((child != null) && ToolBar.GetIsOverflowItem(child) && !(child is Separator)) 211private ToolBar ToolBar 213get { return TemplatedParent as ToolBar; } 220ToolBar tb = ToolBar;
System\Windows\Controls\Primitives\ToolBarPanel.cs (12)
61OverflowMode overflowMode = ToolBar.GetOverflowMode(child); 83ToolBar.SetIsOverflowItem(child, BooleanBoxes.FalseBox); 161ToolBar.SetIsOverflowItem(child, BooleanBoxes.FalseBox); 184ToolBar.SetIsOverflowItem(child, BooleanBoxes.TrueBox); 267ToolBar toolbar = ToolBar; 270toolbar.SetValue(ToolBar.HasOverflowItemsPropertyKey, hasAlwaysOverflowItems || hasAsNeededOverflowItems); 328if (TemplatedParent is ToolBar && !HasNonDefaultValue(OrientationProperty)) 333Path = new PropertyPath(ToolBar.OrientationProperty) 373ToolBar.SetIsOverflowItem(child, BooleanBoxes.FalseBox); 518private ToolBar ToolBar 520get { return TemplatedParent as ToolBar; } 527ToolBar tb = ToolBar;
System\Windows\Controls\ToolBar.cs (32)
60ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 62DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 63_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ToolBar)); 65IsTabStopProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 66FocusableProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 69KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 70FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 72EventManager.RegisterClassHandler(typeof(ToolBar), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true); 73EventManager.RegisterClassHandler(typeof(ToolBar), ButtonBase.ClickEvent, new RoutedEventHandler(_OnClick)); 101typeof(ToolBar), 115ToolBarTray toolBarTray = ((ToolBar) d).ToolBarTray; 139typeof(ToolBar), 163typeof(ToolBar), 187typeof(ToolBar), 209ToolBar tb = (ToolBar)d; 222ToolBar tb = (ToolBar) d; 244ToolBar toolBar = (ToolBar) element; 302typeof(ToolBar), 331typeof(ToolBar), 374typeof(ToolBar), 385ToolBar toolBar = ItemsControl.ItemsControlFromItemContainer(element) as ToolBar; 686ToolBar toolBar = (ToolBar)sender; 699ToolBar toolBar = (ToolBar)e;
System\Windows\Controls\ToolBarTray.cs (50)
103Collection<ToolBar> toolbarCollection = ((ToolBarTray)d).ToolBars; 106toolbarCollection[i].CoerceValue(ToolBar.OrientationProperty); 170public Collection<ToolBar> ToolBars 181private class ToolBarCollection : Collection<ToolBar> 188protected override void InsertItem(int index, ToolBar toolBar) 197protected override void SetItem(int index, ToolBar toolBar) 199ToolBar currentToolBar = Items[index]; 217ToolBar currentToolBar = this[index]; 233ToolBar currentToolBar = this[i]; 270ToolBar toolBar = value as ToolBar; 273throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(ToolBar)), "value"); 357List<ToolBar> band = _bands[bandIndex].Band; 362ToolBar toolBar = band[toolBarIndex]; 374ToolBar toolBar = band[toolBarIndex]; 421List<ToolBar> band = _bands[bandIndex].Band; 432ToolBar toolBar = band[toolBarIndex]; 509ToolBar toolBar = thumb.TemplatedParent as ToolBar; 543List<ToolBar> band = _bands[currentBand].Band; 557ToolBar prevToolBar = band[toolBarIndex - 1]; 604ToolBar nextToolBar = band[toolBarIndex + 1]; 643List<ToolBar> oldBand = _bands[currentBand].Band; 647ToolBar currentToolBar = oldBand[i]; 657private Point TransformPointToToolBar(ToolBar toolBar, Point point) 668private void ShrinkToolBars(List<ToolBar> band, int startIndex, int endIndex, double shrinkAmount) 674ToolBar toolBar = band[i]; 691ToolBar toolBar = band[i]; 706private double ToolBarsTotalMinimum(List<ToolBar> band, int startIndex, int endIndex) 716private void ExpandToolBars(List<ToolBar> band, int startIndex, int endIndex, double expandAmount) 722ToolBar toolBar = band[i]; 739ToolBar toolBar = band[i]; 754private double ToolBarsTotalMaximum(List<ToolBar> band, int startIndex, int endIndex) 764private void MoveToolBar(ToolBar toolBar, int newBandNumber, double position) 769List<ToolBar> newBand = _bands[newBandNumber].Band; 782ToolBar currentToolBar = newBand[i]; 834Collection<ToolBar> toolbarCollection = ToolBars; 845List<ToolBar> band = _bands[bandIndex].Band; 848ToolBar toolBar = band[toolBarIndex]; 864Collection<ToolBar> toolbarCollection = ToolBars; 867List<ToolBar> band = _bands[bandIndex].Band; 870ToolBar toolBar = band[toolBarIndex]; 881private void InsertBand(ToolBar toolBar, int toolBarIndex) 904Collection<ToolBar> toolbarCollection = ToolBars; 906ToolBar toolBar = toolbarCollection[startIndex]; 919private void InsertToolBar(ToolBar toolBar, List<ToolBar> band) 948public List<ToolBar> Band 959private List<ToolBar> _band = new List<ToolBar>();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
763case 669: t = () => typeof(ToolBar); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (7)
6360Type type = typeof(System.Windows.Controls.ToolBar); 6362this.GetXamlType(typeof(System.Windows.Controls.ToolBar)), // DeclaringType 6369GetDelegate = delegate (object target) { return ((System.Windows.Controls.ToolBar)target).Items; }, 6421typeof(System.Collections.ObjectModel.Collection<System.Windows.Controls.ToolBar>), // type 8871Type type = typeof(System.Windows.Controls.ToolBar); 8872DependencyProperty dp = System.Windows.Controls.ToolBar.OrientationProperty; 8874this.GetXamlType(typeof(System.Windows.Controls.ToolBar)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11479typeof(System.Windows.Controls.ToolBar),
System\Windows\Markup\KnownTypes.cs (1)
6217case KnownElements.ToolBar: t = typeof(System.Windows.Controls.ToolBar); break;
System\Windows\SystemKeyConverter.cs (1)
188return 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;