1 type derived from ToolBar
PresentationUI (1)
artifacts\obj\PresentationUI\x86\Debug\net10.0\MS\Internal\Documents\FindToolBar.g.cs (1)
37
internal partial class FindToolBar : System.Windows.Controls.
ToolBar
, System.Windows.Markup.IComponentConnector {
2 instantiations of ToolBar
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11481
DefaultConstructor = delegate () { return new System.Windows.Controls.
ToolBar
(); },
System\Windows\Markup\KnownTypes.cs (1)
1603
case KnownElements.ToolBar: o = new System.Windows.Controls.
ToolBar
(); break;
118 references to ToolBar
PresentationFramework (118)
System\Windows\Automation\Peers\ToolBarAutomationPeer.cs (1)
12
public ToolBarAutomationPeer(
ToolBar
owner): base(owner)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
74
if ((child != null) &&
ToolBar
.GetIsOverflowItem(child) && !(child is Separator))
210
private
ToolBar
ToolBar
212
get { return TemplatedParent as
ToolBar
; }
219
ToolBar
tb = ToolBar;
System\Windows\Controls\Primitives\ToolBarPanel.cs (12)
60
OverflowMode overflowMode =
ToolBar
.GetOverflowMode(child);
82
ToolBar
.SetIsOverflowItem(child, BooleanBoxes.FalseBox);
160
ToolBar
.SetIsOverflowItem(child, BooleanBoxes.FalseBox);
183
ToolBar
.SetIsOverflowItem(child, BooleanBoxes.TrueBox);
266
ToolBar
toolbar = ToolBar;
267
toolbar?.SetValue(
ToolBar
.HasOverflowItemsPropertyKey, hasAlwaysOverflowItems || hasAsNeededOverflowItems);
324
if (TemplatedParent is
ToolBar
&& !HasNonDefaultValue(OrientationProperty))
329
Path = new PropertyPath(
ToolBar
.OrientationProperty)
369
ToolBar
.SetIsOverflowItem(child, BooleanBoxes.FalseBox);
508
private
ToolBar
ToolBar
510
get { return TemplatedParent as
ToolBar
; }
517
ToolBar
tb = ToolBar;
System\Windows\Controls\ToolBar.cs (32)
59
ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled)));
61
DefaultStyleKeyProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(typeof(
ToolBar
)));
62
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
ToolBar
));
64
IsTabStopProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox));
65
FocusableProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(MS.Internal.KnownBoxes.BooleanBoxes.FalseBox));
66
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
67
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
68
KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
69
FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(
ToolBar
), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
71
EventManager.RegisterClassHandler(typeof(
ToolBar
), Mouse.MouseDownEvent, new MouseButtonEventHandler(OnMouseButtonDown), true);
72
EventManager.RegisterClassHandler(typeof(
ToolBar
), ButtonBase.ClickEvent, new RoutedEventHandler(_OnClick));
100
typeof(
ToolBar
),
114
ToolBarTray toolBarTray = ((
ToolBar
) d).ToolBarTray;
138
typeof(
ToolBar
),
162
typeof(
ToolBar
),
186
typeof(
ToolBar
),
208
ToolBar
tb = (
ToolBar
)d;
221
ToolBar
tb = (
ToolBar
) d;
243
ToolBar
toolBar = (
ToolBar
) element;
301
typeof(
ToolBar
),
330
typeof(
ToolBar
),
373
typeof(
ToolBar
),
384
ToolBar
toolBar = ItemsControl.ItemsControlFromItemContainer(element) as
ToolBar
;
679
ToolBar
toolBar = (
ToolBar
)sender;
692
ToolBar
toolBar = (
ToolBar
)e;
System\Windows\Controls\ToolBarTray.cs (50)
102
Collection<
ToolBar
> toolbarCollection = ((ToolBarTray)d).ToolBars;
105
toolbarCollection[i].CoerceValue(
ToolBar
.OrientationProperty);
169
public Collection<
ToolBar
> ToolBars
180
private class ToolBarCollection : Collection<
ToolBar
>
187
protected override void InsertItem(int index,
ToolBar
toolBar)
196
protected override void SetItem(int index,
ToolBar
toolBar)
198
ToolBar
currentToolBar = Items[index];
216
ToolBar
currentToolBar = this[index];
232
ToolBar
currentToolBar = this[i];
269
ToolBar
toolBar = value as
ToolBar
;
272
throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(
ToolBar
)), nameof(value));
356
List<
ToolBar
> band = _bands[bandIndex].Band;
361
ToolBar
toolBar = band[toolBarIndex];
373
ToolBar
toolBar = band[toolBarIndex];
420
List<
ToolBar
> band = _bands[bandIndex].Band;
431
ToolBar
toolBar = band[toolBarIndex];
508
ToolBar
toolBar = thumb.TemplatedParent as
ToolBar
;
542
List<
ToolBar
> band = _bands[currentBand].Band;
556
ToolBar
prevToolBar = band[toolBarIndex - 1];
603
ToolBar
nextToolBar = band[toolBarIndex + 1];
642
List<
ToolBar
> oldBand = _bands[currentBand].Band;
646
ToolBar
currentToolBar = oldBand[i];
656
private Point TransformPointToToolBar(
ToolBar
toolBar, Point point)
664
private void ShrinkToolBars(List<
ToolBar
> band, int startIndex, int endIndex, double shrinkAmount)
670
ToolBar
toolBar = band[i];
687
ToolBar
toolBar = band[i];
702
private double ToolBarsTotalMinimum(List<
ToolBar
> band, int startIndex, int endIndex)
712
private void ExpandToolBars(List<
ToolBar
> band, int startIndex, int endIndex, double expandAmount)
718
ToolBar
toolBar = band[i];
735
ToolBar
toolBar = band[i];
750
private double ToolBarsTotalMaximum(List<
ToolBar
> band, int startIndex, int endIndex)
760
private void MoveToolBar(
ToolBar
toolBar, int newBandNumber, double position)
765
List<
ToolBar
> newBand = _bands[newBandNumber].Band;
778
ToolBar
currentToolBar = newBand[i];
830
Collection<
ToolBar
> toolbarCollection = ToolBars;
841
List<
ToolBar
> band = _bands[bandIndex].Band;
844
ToolBar
toolBar = band[toolBarIndex];
860
Collection<
ToolBar
> toolbarCollection = ToolBars;
863
List<
ToolBar
> band = _bands[bandIndex].Band;
866
ToolBar
toolBar = band[toolBarIndex];
877
private void InsertBand(
ToolBar
toolBar, int toolBarIndex)
900
Collection<
ToolBar
> toolbarCollection = ToolBars;
902
ToolBar
toolBar = toolbarCollection[startIndex];
915
private void InsertToolBar(
ToolBar
toolBar, List<
ToolBar
> band)
944
public List<
ToolBar
> Band
955
private List<
ToolBar
> _band = new List<
ToolBar
>();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
762
case 669: t = () => typeof(
ToolBar
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (7)
6359
Type type = typeof(System.Windows.Controls.
ToolBar
);
6361
this.GetXamlType(typeof(System.Windows.Controls.
ToolBar
)), // DeclaringType
6368
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
ToolBar
)target).Items; },
6420
typeof(System.Collections.ObjectModel.Collection<System.Windows.Controls.
ToolBar
>), // type
8870
Type type = typeof(System.Windows.Controls.
ToolBar
);
8871
DependencyProperty dp = System.Windows.Controls.
ToolBar
.OrientationProperty;
8873
this.GetXamlType(typeof(System.Windows.Controls.
ToolBar
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11478
typeof(System.Windows.Controls.
ToolBar
),
System\Windows\Markup\KnownTypes.cs (1)
6216
case KnownElements.ToolBar: t = typeof(System.Windows.Controls.
ToolBar
); break;
System\Windows\SystemKeyConverter.cs (1)
187
return typeof(
ToolBar
);
System\Windows\SystemResourceKey.cs (8)
1837
return
ToolBar
.ButtonStyleKey;
1840
return
ToolBar
.ToggleButtonStyleKey;
1843
return
ToolBar
.SeparatorStyleKey;
1846
return
ToolBar
.CheckBoxStyleKey;
1849
return
ToolBar
.RadioButtonStyleKey;
1852
return
ToolBar
.ComboBoxStyleKey;
1855
return
ToolBar
.TextBoxStyleKey;
1858
return
ToolBar
.MenuStyleKey;