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