5 types derived from ToolStrip
System.Windows.Forms (5)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
26
public class BindingNavigator :
ToolStrip
, ISupportInitialize {
winforms\Managed\System\WinForms\MenuStrip.cs (1)
23
public class MenuStrip :
ToolStrip
{
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5612
internal class PropertyGridToolStrip :
ToolStrip
{
winforms\Managed\System\WinForms\StatusStrip.cs (1)
26
public class StatusStrip :
ToolStrip
{
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
32
public class ToolStripDropDown :
ToolStrip
{
6 instantiations of ToolStrip
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
1288
this.toolStrip1 = new System.Windows.Forms.
ToolStrip
();
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
217
toolStrip = AccessibilityImprovements.Level3 ? new PropertyGridToolStrip(this) : new
ToolStrip
();
System.Workflow.Activities (2)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
38
this.rulesToolStrip = new System.Windows.Forms.
ToolStrip
();
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
43
this.rulesToolStrip = new System.Windows.Forms.
ToolStrip
();
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
35
this.operationsToolStrip = new System.Windows.Forms.
ToolStrip
();
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
42
this.operationsToolStrip = new System.Windows.Forms.
ToolStrip
();
325 references to ToolStrip
System.Windows.Forms (321)
winforms\Managed\System\WinForms\Control.cs (1)
11687
if (AccessibilityImprovements.Level3 && ctl.parent is
ToolStrip
) {
winforms\Managed\System\WinForms\Form.cs (7)
6616
ToolStrip
thisToolstrip = MainMenuStrip;
6635
foreach(
ToolStrip
sourceToolStrip in childrenToolStrips) {
6694
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: Detected ControlBox on ActiveMDI child, adding in MDIControlStrip.");
6695
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose && this.Menu != null, "UpdateMdiControlStrip: Bailing as we detect there's already an HMenu to do this for us.");
6705
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: built up an MDI control strip for " + ActiveMdiChildInternal.Text + " with " + MdiControlStrip.Items.Count.ToString(CultureInfo.InvariantCulture) + " items.");
6706
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: merging MDI control strip into source menustrip - items before: " + sourceMenuStrip.Items.Count.ToString(CultureInfo.InvariantCulture));
6708
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: merging MDI control strip into source menustrip - items after: " + sourceMenuStrip.Items.Count.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (2)
115
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose,"\tPopulateItems: Added " + windowListItem.Text);
125
Debug.WriteLineIf(
ToolStrip
.MDIMergeDebug.TraceVerbose, "\tPopulateItems: Added " + moreWindowsMenuItem.Text);
winforms\Managed\System\WinForms\MenuStrip.cs (2)
220
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] set focus to menustrip");
249
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[MenuStrip.ProcessCmdKey] Rolling up the menu and invoking the system menu");
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
41
private System.Windows.Forms.
ToolStrip
toolStrip1;
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
43
private
ToolStrip
toolStrip;
5647
internal class PropertyGridToolStripAccessibleObject :
ToolStrip
.ToolStripAccessibleObject {
winforms\Managed\System\WinForms\ToolStrip.cs (39)
1292
var
topLevelToolStrip = GetToplevelOwnerToolStrip();
1586
if (Properties.ContainsObject(
ToolStrip
.PropToolStripPanelCell)) {
1587
toolStripPanelCell = (ToolStripPanelCell)Properties.GetObject(
ToolStrip
.PropToolStripPanelCell);
1591
Properties.SetObject(
ToolStrip
.PropToolStripPanelCell, toolStripPanelCell);
1854
if (!Properties.ContainsObject(
ToolStrip
.PropToolTip)) {
1856
Properties.SetObject(
ToolStrip
.PropToolTip,toolTip );
1859
toolTip = (ToolTip)Properties.GetObject(
ToolStrip
.PropToolTip);
1874
if (Properties.ContainsObject(
ToolStrip
.PropTextDirection)) {
1875
textDirection= (ToolStripTextDirection)Properties.GetObject(
ToolStrip
.PropTextDirection);
1889
Properties.SetObject(
ToolStrip
.PropTextDirection, value);
2090
ToolStripPanelCell toolStripPanelCell = Properties.GetObject(
ToolStrip
.PropToolStripPanelCell) as ToolStripPanelCell;
2103
ToolTip toolTip = (ToolTip)Properties.GetObject(
ToolStrip
.PropToolTip);
2140
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "Exiting menu mode because we're the last toolstrip in the queue, and we've disposed.");
2478
ToolStrip
toolStrip = container as
ToolStrip
;
2537
ToolStrip
toolStrip = container as
ToolStrip
;
2620
internal virtual
ToolStrip
GetToplevelOwnerToolStrip() {
3116
if (
ToolStrip
.IsPseudoMnemonic(charCode,currentItem.Text)) {
4186
protected static void SetItemParent(ToolStripItem item,
ToolStrip
parent) {
4555
internal void SnapFocusChange(
ToolStrip
otherToolStrip) {
4825
private
ToolStrip
owner;
4828
public ToolStripAccessibleObject(
ToolStrip
owner) : base(owner) {
5141
private
ToolStrip
ownerToolStrip;
5143
public RestoreFocusMessageFilter(
ToolStrip
ownerToolStrip) {
5349
private
ToolStrip
owner;
5351
public ToolStripSplitStackDragDropHandler(
ToolStrip
owner) {
5361
Debug.WriteLineIf(
ToolStrip
.ItemReorderDebug.TraceVerbose, "OnDragEnter: " + e.ToString());
5370
Debug.WriteLineIf(
ToolStrip
.ItemReorderDebug.TraceVerbose, "OnDragLeave: " + e.ToString());
5375
Debug.WriteLineIf(
ToolStrip
.ItemReorderDebug.TraceVerbose, "OnDragDrop: " + e.ToString());
5385
Debug.WriteLineIf(
ToolStrip
.ItemReorderDebug.TraceVerbose, "OnDragOver: " + e.ToString());
5476
Debug.WriteLineIf(
ToolStrip
.ItemReorderDebug.TraceVerbose, "Drop relative loc " + relativeLocation);
5477
Debug.WriteLineIf(
ToolStrip
.ItemReorderDebug.TraceVerbose, "Index " + i);
5482
insertionRect = new Rectangle(owner.Margin.Left, item.Bounds.Top, owner.Width - (owner.Margin.Horizontal) -1,
ToolStrip
.insertionBeamWidth);
5485
insertionRect = new Rectangle(owner.Margin.Left, item.Bounds.Bottom, owner.Width - (owner.Margin.Horizontal) -1,
ToolStrip
.insertionBeamWidth);
5488
insertionRect = new Rectangle(item.Bounds.Right, owner.Margin.Top,
ToolStrip
.insertionBeamWidth, owner.Height- (owner.Margin.Vertical)-1);
5491
insertionRect = new Rectangle(item.Bounds.Left, owner.Margin.Top,
ToolStrip
.insertionBeamWidth, owner.Height - (owner.Margin.Vertical) -1);
5500
insertionRect.Width =
ToolStrip
.insertionBeamWidth;
5513
Debug.WriteLineIf(
ToolStrip
.DropTargetDebug.TraceVerbose, "MATCH " + owner.DisplayedItems[i].Text + " Bounds: " + owner.DisplayedItems[i].Bounds.ToString());
winforms\Managed\System\WinForms\ToolStripControlHost.cs (4)
846
protected override void OnParentChanged(
ToolStrip
oldParent,
ToolStrip
newParent) {
851
= GetControlCollection(Control.ParentInternal as
ToolStrip
);
972
private static WindowsFormsUtils.ReadOnlyControlCollection GetControlCollection(
ToolStrip
toolStrip) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (19)
638
ToolStrip
ownerToolStrip = OwnerToolStrip;
648
ToolStrip
ownerToolStrip = OwnerToolStrip;
830
internal
ToolStrip
OwnerToolStrip {
833
ToolStrip
owner = ownerItem.ParentInternal;
1118
ToolStrip
toplevelOwnerToolStrip = GetToplevelOwnerToolStrip();
1283
internal override
ToolStrip
GetToplevelOwnerToolStrip() {
1448
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ToolStripDropDown.OnMouseUp] mouse up outside of the toolstrip - this should dismiss the entire chain");
1505
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ToolStripDropDown.SelectPreviousToolStrip] No previous toolstrip to select - exiting menu mode.");
1519
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[ToolStripDropDown.ProcessArrowKey] MenuTimer.Cancel called");
1542
ToolStrip
toplevelToolStrip = GetToplevelOwnerToolStrip();
1586
ToolStrip
toplevel = GetToplevelOwnerToolStrip();
1588
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ToolStripDropDown ProcessDialogKey]: Got Menu Key, finding toplevel toolstrip, calling RestoreFocus.");
1889
ToolStrip
topLevelToolStrip = GetToplevelOwnerToolStrip();
1890
ToolStrip
parentToolStrip = null;
1924
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose,"[ToolStripDropDown.SetVisibleCore] Exiting menu mode because item clicked");
1980
ToolStrip
toolStrip = GetToplevelOwnerToolStrip();
2139
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ToolStripDropDown.WndProc] got a WM_ACTIVATE " + (((int)m.WParam == NativeMethods.WA_ACTIVE) ? "WA_ACTIVE" : "WA_INACTIVE") + " - checkin if we need to set the active toolstrip");
2153
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ToolStripDropDown.WndProc] activating thingee is " + WindowsFormsUtils.GetControlInformation(m.LParam));
2275
internal static ToolStripDropDown GetFirstDropDown(
ToolStrip
start) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (6)
112
ToolStrip
parent = ParentInternal;
555
Debug.WriteLineIf(
ToolStrip
.SelectionDebug.TraceVerbose, "[SelectDBG ProcessDialogKey] open submenu from toplevel item");
578
Debug.WriteLineIf(
ToolStrip
.SelectionDebug.TraceVerbose, "[SelectDBG ProcessDialogKey] open submenu from NON-toplevel item");
602
Debug.WriteLineIf(
ToolStrip
.SelectionDebug.TraceVerbose, "[SelectDBG ProcessDialogKey] close submenu from NON-toplevel item");
623
Debug.WriteLineIf(
ToolStrip
.SelectionDebug.TraceVerbose, "[SelectDBG ProcessDialogKey] ddi calling base");
913
var toolStripAccessibleObject = owner.DropDown.AccessibilityObject as
ToolStrip
.ToolStripAccessibleObject;
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (2)
27
private
ToolStrip
owner;
44
public ToolStripDropTargetManager(
ToolStrip
owner) {
winforms\Managed\System\WinForms\ToolStripGrip.cs (2)
24
private Point lastEndLocation =
ToolStrip
.InvalidMouseEnter;
82
lastEndLocation =
ToolStrip
.InvalidMouseEnter;
winforms\Managed\System\WinForms\ToolStripGripRenderEventArgs.cs (1)
19
public ToolStripGripRenderEventArgs(Graphics g,
ToolStrip
toolStrip) : base(g, toolStrip) {
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (1)
55
ToolStrip
toolStrip = e.ToolStrip;
winforms\Managed\System\WinForms\ToolStripItem.cs (29)
54
private
ToolStrip
parent = null;
55
private
ToolStrip
owner = null;
1732
public
ToolStrip
Owner {
1820
internal protected
ToolStrip
Parent {
1882
internal
ToolStrip
ParentInternal {
1888
ToolStrip
oldParent = parent;
1917
ToolStrip
ownerToolStrip = Owner;
2700
public
ToolStrip
GetCurrentParent() {
3062
ToolStrip
parent = ParentInternal;
3277
protected virtual void OnParentChanged(
ToolStrip
oldParent,
ToolStrip
newParent) {
3541
Debug.WriteLineIf(
ToolStrip
.SelectionDebug.TraceVerbose, "[Selection DBG] BAILING, selection is currently suspended");
3572
internal void SetOwner(
ToolStrip
newOwner) {
3841
ToolStrip
parent = ParentInternal;
3902
internal
ToolStrip
RootToolStrip {
3927
Debug.WriteLineIf(
ToolStrip
.SelectionDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[Selection DBG] WBI.Unselect: {0}", this.ToString()));
4040
return
ToolStrip
.AreCommonNavigationalKeysDown();
4333
ToolStrip
parent = Owner.ParentInternal;
4485
var toolStripParent = Parent as
ToolStrip
.ToolStripAccessibleObject;
4495
var toolStripGrandParent = toolStripOverflowButtonParent.Parent as
ToolStrip
.ToolStripAccessibleObject;
4510
var toolStripParent = Parent as
ToolStrip
.ToolStripAccessibleObject;
4517
var toolStripGrandParent = toolStripOverflowButtonParent.Parent as
ToolStrip
.ToolStripAccessibleObject;
4532
var toolStripParent = Parent as
ToolStrip
.ToolStripAccessibleObject;
4539
var toolStripGrandParent = toolStripOverflowButtonParent.Parent as
ToolStrip
.ToolStripAccessibleObject;
4558
ToolStrip
root = ownerItem.RootToolStrip;
4646
protected virtual
ToolStrip
ParentInternal {
4771
ToolStrip
parent = ParentInternal;
4805
public ToolStripLayoutData(
ToolStrip
toolStrip) {
4810
public bool IsCurrent(
ToolStrip
toolStrip) {
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (5)
30
private
ToolStrip
owner;
40
internal ToolStripItemCollection(
ToolStrip
owner, bool itemsCollection) : this(owner, itemsCollection, /*isReadOnly=*/false){
47
internal ToolStripItemCollection(
ToolStrip
owner, bool itemsCollection, bool isReadOnly) {
58
public ToolStripItemCollection(
ToolStrip
owner, ToolStripItem[] value) {
427
ToolStrip
parent = null;
winforms\Managed\System\WinForms\ToolStripItemRenderEventArgs.cs (1)
52
public
ToolStrip
ToolStrip {
winforms\Managed\System\WinForms\ToolStripLabel.cs (2)
229
ToolStrip
parent = this.Parent;
241
ToolStrip
parent = this.Parent;
winforms\Managed\System\WinForms\ToolStripManager.cs (89)
160
public static
ToolStrip
FindToolStrip(string toolStripName) {
161
ToolStrip
result = null;
164
if (ToolStrips[i] != null && String.Equals(((
ToolStrip
)ToolStrips[i]).Name, toolStripName, StringComparison.Ordinal)) {
165
result = (
ToolStrip
)ToolStrips[i];
177
internal static
ToolStrip
FindToolStrip(Form owningForm, string toolStripName)
179
ToolStrip
result = null;
183
if (ToolStrips[i] != null && String.Equals(((
ToolStrip
)ToolStrips[i]).Name, toolStripName, StringComparison.Ordinal))
185
result = (
ToolStrip
)ToolStrips[i];
195
private static bool CanChangeSelection(
ToolStrip
start,
ToolStrip
toolStrip) {
219
private static bool ChangeSelection(
ToolStrip
start,
ToolStrip
toolStrip) {
289
ToolStrip
toolStrip = ToolStrips[i] as
ToolStrip
;
332
internal static bool SelectNextToolStrip(
ToolStrip
start, bool forward) {
339
ToolStrip
wrappedControl = null;
340
ToolStrip
nextControl = null;
349
ToolStrip
toolStrip = ToolStrips[index] as
ToolStrip
;
357
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "SELECTNEXTTOOLSTRIP: start: " + startTabIndex.ToString(CultureInfo.CurrentCulture) + " " + start.Name);
364
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "FORWARD considering selection " + toolStrip.Name + " " + toolStrip.TabIndex.ToString(CultureInfo.CurrentCulture));
377
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "\tFORWARD new wrap candidate " + toolStrip.Name);
383
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "\tREVERSE selecting " + toolStrip.Name);
396
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "\tREVERSE new wrap candidate " + toolStrip.Name);
401
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "\tREVERSE skipping wrap candidate " + toolStrip.Name + toolStrip.TabIndex.ToString(CultureInfo.CurrentCulture));
414
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "SELECTING " + nextControl.Name);
419
Debug.WriteLineIf(
ToolStrip
.ControlTabDebug.TraceVerbose, "WRAPPING " + wrappedControl.Name);
735
private List<
ToolStrip
> _inputFilterQueue;
745
private
ToolStrip
_toplevelToolStrip = null;
848
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "___________Entering MenuMode....");
899
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "___________Exiting MenuMode....");
953
internal static
ToolStrip
GetActiveToolStrip() {
958
internal
ToolStrip
GetActiveToolStripInternal() {
966
private
ToolStrip
GetCurrentToplevelToolStrip() {
968
ToolStrip
activeToolStrip = GetActiveToolStripInternal();
984
ToolStrip
toolStrip = Control.FromHandleInternal(m.HWnd) as
ToolStrip
;
1011
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.CloseActiveDropDown] Calling exit because there are no more dropdowns left to activate.");
1040
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.ProcessMouseButtonPressed] Found a mouse down.");
1044
ToolStrip
activeToolStrip = GetActiveToolStripInternal();
1069
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.ProcessMouseButtonPressed] Calling exit because we're a toplevel toolstrip and we've clicked somewhere else.");
1079
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.ProcessMouseButtonPressed] active toolstrip is null.");
1101
internal static void SetActiveToolStrip(
ToolStrip
toolStrip, bool menuKeyPressed) {
1109
internal static void SetActiveToolStrip(
ToolStrip
toolStrip) {
1113
private void SetActiveToolStripCore(
ToolStrip
toolStrip) {
1137
_inputFilterQueue = new List<
ToolStrip
>();
1140
ToolStrip
currentActiveToolStrip = GetActiveToolStripInternal();
1152
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.SetActiveToolStripCore] Detected a new dropdown not in this chain opened, Dismissing everything in the old chain. ");
1167
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.SetActiveToolStripCore] Setting " + WindowsFormsUtils.GetControlInformation(toolStrip.Handle) + " active.");
1180
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter] SuspendMenuMode");
1186
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter] ResumeMenuMode");
1189
internal static void RemoveActiveToolStrip(
ToolStrip
toolStrip) {
1193
private void RemoveActiveToolStripCore(
ToolStrip
toolStrip) {
1238
ToolStrip
activeToolStrip = GetActiveToolStrip();
1254
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] Dismissing because: " + WindowsFormsUtils.GetControlInformation(hwndCurrentActiveWindow.Handle) + " has gotten activation. ");
1260
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] Calling ProcessActivationChange because: " + WindowsFormsUtils.GetControlInformation(hwndCurrentActiveWindow.Handle) + " has gotten activation. ");
1290
ToolStrip
toplevelToolStrip = GetCurrentToplevelToolStrip();
1349
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] MODIFYING Keyboard message " + m.ToString());
1355
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] got Keyboard message " + m.ToString());
1517
ToolStrip
t = ToolStrips[i] as
ToolStrip
;
1591
ToolStrip
toolStrip = ToolStrips[i] as
ToolStrip
;
1639
ToolStrip
topMostToolStrip = toolStrip.GetToplevelOwnerToolStrip();
1696
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] Determining whether we should send focus to MenuStrip");
1714
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[ProcessMenuKey] MenuStripToActivate is: {0}", menuStripToActivate));
1737
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] DETECTED SHIFT+F10" + keyData.ToString());
1742
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] attempting to set focus to menustrip");
1749
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] ToolStripManager call MenuStrip.OnMenuKey");
1754
Debug.WriteLineIf(
ToolStrip
.SnapFocusDebug.TraceVerbose, "[ProcessMenuKey] Resetting MenuKeyToggle");
1855
ToolStrip
candidateTS = (
ToolStrip
)ToolStrips[i];
1870
private static bool IsSpecialMDIStrip(
ToolStrip
toolStrip) {
1878
public static bool Merge(
ToolStrip
sourceToolStrip,
ToolStrip
targetToolStrip) {
2046
public static bool Merge(
ToolStrip
sourceToolStrip, string targetName) {
2054
ToolStrip
target = FindToolStrip(targetName);
2066
internal static bool RevertMergeInternal(
ToolStrip
targetToolStrip,
ToolStrip
sourceToolStrip, bool revertMDIControls) {
2102
Stack<
ToolStrip
> reApply = new Stack<
ToolStrip
>();
2140
ToolStrip
mergeAgain = reApply.Pop();
2159
public static bool RevertMerge(
ToolStrip
targetToolStrip) {
2167
public static bool RevertMerge(
ToolStrip
targetToolStrip,
ToolStrip
sourceToolStrip) {
2179
ToolStrip
target = FindToolStrip(targetName);
2209
private
ToolStrip
mergedToolStrip;
2211
public MergeHistory(
ToolStrip
mergedToolStrip) {
2222
public
ToolStrip
MergedToolStrip {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (11)
42
private
ToolStrip
lastOwner = null;
487
ToolStrip
owner = this.Owner;
913
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[ToolStripMenuItem.OnDropDownHide] MenuTimer.Cancel called");
921
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[ToolStripMenuItem.OnDropDownShow] MenuTimer.Cancel called");
946
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[ToolStripMenuItem.OnMouseDown] MenuTimer.Cancel called");
1010
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[ToolStripMenuItem.OnMouseEnter] MenuTimer.Cancel / MenuTimer.Start called");
1023
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[ToolStripMenuItem.OnMouseLeave] MenuTimer.Cancel called");
1308
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose && currentItem != value, "[MenuTimer.CurrentItem] changed: " + ((value == null) ? "null" : value.ToString()));
1337
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[MenuTimer.Transition] transitioning items " + fromItem.ToString() + " " + toItem.ToString());
1397
internal void HandleToolStripMouseLeave(
ToolStrip
toolStrip) {
1430
Debug.WriteLineIf(
ToolStrip
.MenuAutoExpandDebug.TraceVerbose, "[MenuTimer.OnTick] calling OnMenuAutoExpand");
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
64
private
ToolStrip
ParentToolStrip {
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (3)
24
private
ToolStrip
parentToolStrip;
34
internal ToolStripOverflowButton(
ToolStrip
parentToolStrip) {
77
internal
ToolStrip
ParentToolStrip {
winforms\Managed\System\WinForms\ToolStripPanel.cs (14)
486
private Point GetStartLocation(
ToolStrip
toolStripToDrag) {
530
this.Join(e.Control as
ToolStrip
, e.Control.Location);
598
Join(controls[i] as
ToolStrip
, controlLocations[i]);
692
this.Join(controlArray[i] as
ToolStrip
, controlArray[i].Location);
711
private void GiveToolStripPanelFeedback(
ToolStrip
toolStripToDrag, Point screenLocation) {
910
public void Join(
ToolStrip
toolStripToDrag) {
914
public void Join(
ToolStrip
toolStripToDrag, int row) {
939
public void Join(
ToolStrip
toolStripToDrag, int x, int y) {
946
public void Join(
ToolStrip
toolStripToDrag, Point location) {
966
internal void MoveControl(
ToolStrip
toolStripToDrag, Point screenLocation) {
981
Join(toolStripToDrag as
ToolStrip
, clientLocation);
985
private void MoveInsideContainer(
ToolStrip
toolStripToDrag, Point clientLocation) {
1173
private void MoveOutsideContainer(
ToolStrip
toolStripToDrag, Point screenLocation) {
1541
: base(owner, typeof(
ToolStrip
)) {
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (3)
26
private
ToolStrip
_wrappedToolStrip = null;
53
this._wrappedToolStrip = control as
ToolStrip
;
58
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeof(
ToolStrip
).Name)), control.GetType().Name);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (24)
271
public bool CanMove(
ToolStrip
toolStripToDrag) {
342
internal Size GetMinimumSize(
ToolStrip
toolStrip) {
444
Size minSize = GetMinimumSize(currentCell.Control as
ToolStrip
);
526
Size minSize = GetMinimumSize(currentCell.Control as
ToolStrip
);
718
internal void MoveControl(
ToolStrip
movingControl, Point startClientLocation, Point endClientLocation) {
725
internal void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag) {
729
internal void LeaveRow(
ToolStrip
toolStripToDrag) {
770
public virtual bool CanMove(
ToolStrip
toolStripToDrag) {
905
public virtual void MoveControl(
ToolStrip
movingControl, Point startClientLocation, Point endClientLocation) {
908
public virtual void LeaveRow(
ToolStrip
toolStripToDrag) {
911
public virtual void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag) {
986
public override bool CanMove(
ToolStrip
toolStripToDrag) {
992
totalSize += Row.GetMinimumSize(Row.ControlsInternal[i] as
ToolStrip
);
995
totalSize += Row.GetMinimumSize(toolStripToDrag as
ToolStrip
);
1040
public override void MoveControl(
ToolStrip
movingControl, Point clientStartLocation, Point clientEndLocation) {
1236
public override void LeaveRow(
ToolStrip
toolStripToDrag) {
1268
public override void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag) {
1497
public override bool CanMove(
ToolStrip
toolStripToDrag) {
1503
totalSize += Row.GetMinimumSize(Row.ControlsInternal[i] as
ToolStrip
);
1553
public override void MoveControl(
ToolStrip
movingControl, Point clientStartLocation, Point clientEndLocation) {
1799
public override void JoinRow(
ToolStrip
toolStripToDrag, Point locationToDrag) {
1949
public override void LeaveRow(
ToolStrip
toolStripToDrag) {
2049
throw new NotSupportedException(SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeof(
ToolStrip
).Name));
2190
throw new NotSupportedException(SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeof(
ToolStrip
).Name));
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (8)
118
ToolStrip
toolStrip = e.ToolStrip;
362
ToolStrip
toolStrip = e.ToolStrip;
433
ToolStrip
toolStrip = e.ToolStrip;
725
internal override Region GetTransparentRegion(
ToolStrip
toolStrip) {
790
ToolStrip
toolStrip = e.ToolStrip;
1012
ToolStrip
toolStrip = e.ToolStrip;
1023
ToolStrip
toolStrip = e.ToolStrip;
1156
ToolStrip
toolStrip = e.ToolStrip;
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
656
internal virtual Region GetTransparentRegion(
ToolStrip
toolStrip) {
662
protected internal virtual void Initialize(
ToolStrip
toolStrip){
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (4)
18
private
ToolStrip
toolStrip = null;
27
public ToolStripRenderEventArgs(Graphics g,
ToolStrip
toolStrip) {
39
public ToolStripRenderEventArgs(Graphics g,
ToolStrip
toolStrip, Rectangle affectedBounds, Color backColor) {
94
public
ToolStrip
ToolStrip {
winforms\Managed\System\WinForms\ToolStripSeparator.cs (2)
283
ToolStrip
parent = this.ParentInternal;
409
ToolStrip
parent = this.ParentInternal;
winforms\Managed\System\WinForms\ToolStripSettings.cs (15)
124
foreach (
ToolStrip
toolStrip in FindToolStrips(true, form.Controls)) {
139
foreach (
ToolStrip
toolStrip in FindToolStrips(true, form.Controls)) {
156
internal static string GetItemOrder(
ToolStrip
toolStrip) {
178
Dictionary<string,
ToolStrip
> itemLocationHash = BuildItemOriginationHash();
190
ToolStrip
toolStrip = ToolStripManager.FindToolStrip(form, toolStripSettings.Name);
228
ToolStrip
toolStrip = ToolStripManager.FindToolStrip(form, settings.Name);
241
private void ApplyToolStripSettings(
ToolStrip
toolStrip, SettingsStub settings, Dictionary<string,
ToolStrip
> itemLocationHash) {
266
private Dictionary<string,
ToolStrip
> BuildItemOriginationHash() {
268
Dictionary<string,
ToolStrip
> itemLocationHash = new Dictionary<string,
ToolStrip
>();
271
foreach (
ToolStrip
toolStrip in toolStrips) {
333
return FindControls(typeof(
ToolStrip
), true, form.Controls, new ArrayList());
336
private string GetSettingsKey(
ToolStrip
toolStrip) {
374
public SettingsStub(
ToolStrip
toolStrip) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
762
protected override
ToolStrip
ParentInternal {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (15)
16
private
ToolStrip
toolStrip;
27
internal ToolStripSplitStackLayout(
ToolStrip
owner) {
55
ToolStrip
toolStrip = this.ToolStrip;
86
public
ToolStrip
ToolStrip {
98
ToolStrip
toolStrip = this.ToolStrip;
148
ToolStrip
toolStrip = this.ToolStrip;
195
if (!(container is
ToolStrip
)) {
200
return
ToolStrip
.GetPreferredSizeHorizontal(container, proposedConstraints);
203
return
ToolStrip
.GetPreferredSizeVertical(container, proposedConstraints);
221
if (!(container is
ToolStrip
)) {
245
ToolStrip
toolStrip = ToolStrip;
388
ToolStrip
toolStrip = ToolStrip;
402
toolStripPreferredSize =
ToolStrip
.GetPreferredSizeVertical(toolStrip, Size.Empty) - toolStrip.Padding.Size;
549
ToolStrip
toolStrip = this.ToolStrip;
568
ToolStrip
toolStrip = this.ToolStrip;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
174
ToolStrip
toolStrip = e.ToolStrip;
219
ToolStrip
toolStrip = e.ToolStrip;
588
ToolStrip
parent = item.GetCurrentParent();
System.Workflow.Activities (2)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
244
private System.Windows.Forms.
ToolStrip
rulesToolStrip;
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
385
private System.Windows.Forms.
ToolStrip
rulesToolStrip;
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
189
private System.Windows.Forms.
ToolStrip
operationsToolStrip;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
253
private System.Windows.Forms.
ToolStrip
operationsToolStrip;