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