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