5 types derived from ToolStripItem
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
19
public class ToolStripButton :
ToolStripItem
{
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
24
public class ToolStripControlHost :
ToolStripItem
{
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
22
public abstract class ToolStripDropDownItem :
ToolStripItem
{
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
25
public class ToolStripLabel :
ToolStripItem
{
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
22
public class ToolStripSeparator :
ToolStripItem
{
326 references to ToolStripItem
System.Windows.Forms (322)
winforms\Managed\System\WinForms\BindingNavigator.cs (23)
30
private
ToolStripItem
moveFirstItem;
31
private
ToolStripItem
movePreviousItem;
32
private
ToolStripItem
moveNextItem;
33
private
ToolStripItem
moveLastItem;
34
private
ToolStripItem
addNewItem;
35
private
ToolStripItem
deleteItem;
36
private
ToolStripItem
positionItem;
37
private
ToolStripItem
countItem;
237
Items.AddRange(new
ToolStripItem
[] {
282
public
ToolStripItem
MoveFirstItem {
304
public
ToolStripItem
MovePreviousItem {
328
public
ToolStripItem
MoveNextItem {
350
public
ToolStripItem
MoveLastItem {
372
public
ToolStripItem
AddNewItem {
398
public
ToolStripItem
DeleteItem {
425
public
ToolStripItem
PositionItem {
447
public
ToolStripItem
CountItem {
771
private void WireUpButton(ref
ToolStripItem
oldButton,
ToolStripItem
newButton, EventHandler clickHandler) {
792
private void WireUpTextBox(ref
ToolStripItem
oldTextBox,
ToolStripItem
newTextBox, KeyEventHandler keyUpHandler, EventHandler lostFocusHandler) {
816
private void WireUpLabel(ref
ToolStripItem
oldLabel,
ToolStripItem
newLabel) {
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
75
ToolStripItem
item = Items[i];
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
55
this.Items.AddRange(new
ToolStripItem
[] { minimize, restore,close, system });
57
foreach (
ToolStripItem
item in this.Items) {
winforms\Managed\System\WinForms\MdiWindowListItemConverter.cs (2)
31
ToolStripItem
currentItem = values[i] as
ToolStripItem
;
winforms\Managed\System\WinForms\MenuStrip.cs (5)
182
protected internal override
ToolStripItem
CreateDefaultItem(string text, Image image, EventHandler onClick) {
191
internal override
ToolStripItem
GetNextItem(
ToolStripItem
start, ArrowDirection direction, bool rtlAware) {
192
ToolStripItem
nextItem = base.GetNextItem(start, direction, rtlAware);
272
ToolStripItem
item = GetItemAt(pt);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (4)
1318
this.toolStrip1.Items.AddRange(new System.Windows.Forms.
ToolStripItem
[] {
1345
this.zoomToolStripSplitButton.DropDownItems.AddRange(new System.Windows.Forms.
ToolStripItem
[] {
1731
ToolStripItem
item = sender as
ToolStripItem
;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4515
toolStrip.Items.Add(buttonList[j] as
ToolStripItem
);
winforms\Managed\System\WinForms\StatusStrip.cs (5)
264
protected internal override
ToolStripItem
CreateDefaultItem(string text, Image image, EventHandler onClick) {
336
ToolStripItem
item = levent.AffectedComponent as
ToolStripItem
;
383
ToolStripItem
lastItem = null;
385
ToolStripItem
item = Items[i];
winforms\Managed\System\WinForms\ToolStrip.cs (102)
61
private
ToolStripItem
lastMouseActiveItem = null;
62
private
ToolStripItem
lastMouseDownedItem = null;
74
private
ToolStripItem
currentlyActiveTooltipItem;
229
public ToolStrip(params
ToolStripItem
[] items) : this() {
1011
foreach(
ToolStripItem
item in Items) {
1067
foreach (
ToolStripItem
item in this.Items) {
1108
foreach (
ToolStripItem
item in Items) {
1301
internal
ToolStripItem
LastMouseDownedItem {
1797
foreach (
ToolStripItem
item in this.Items) {
1920
internal virtual void ChangeSelection(
ToolStripItem
nextItem) {
1967
protected internal virtual
ToolStripItem
CreateDefaultItem(string text, Image image, EventHandler onClick) {
1988
private void ClearAllSelectionsExcept(
ToolStripItem
item) {
2060
ToolStripItem
lastItem = lastMouseDownedItem;
2208
internal virtual
ToolStripItem
GetNextItem(
ToolStripItem
start, ArrowDirection direction, bool rtlAware) {
2228
public virtual
ToolStripItem
GetNextItem(
ToolStripItem
start, ArrowDirection direction)
2252
private
ToolStripItem
GetNextItemHorizontal(
ToolStripItem
start, bool forward) {
2301
private
ToolStripItem
GetStartItem(bool forward) {
2319
private
ToolStripItem
GetNextItemVertical(
ToolStripItem
selectedItem, bool down) {
2321
ToolStripItem
tanWinner = null;
2322
ToolStripItem
hypotenuseWinner = null;
2330
ToolStripItem
item = GetNextItemHorizontal(selectedItem, down);
2338
ToolStripItem
item = GetNextItemHorizontal(selectedItem, down);
2350
ToolStripItem
otherItem = DisplayedItems[i];
2488
ToolStripItem
item = toolStrip.Items[j];
2543
ToolStripItem
item = toolStrip.Items[j];
2589
private static Size GetPreferredItemSize(
ToolStripItem
item) {
2602
internal
ToolStripItem
GetSelectedItem() {
2603
ToolStripItem
selectedItem = null;
2641
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, "firing mouse leave on " + lastMouseActiveItem.ToString());
2645
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, "setting last active item to null");
2655
internal void HandleItemClick(
ToolStripItem
dismissingItem) {
2665
internal virtual void HandleItemClicked(
ToolStripItem
dismissingItem) {
2737
ToolStripItem
item = this.GetSelectedItem();
2749
ToolStripItem
item = this.GetSelectedItem();
2770
internal void InvokePaintItem(
ToolStripItem
item) {
2875
ToolStripItem
selectedItem = this.GetSelectedItem();
2882
foreach (
ToolStripItem
item in this.Items) {
2927
ToolStripItem
item = this.GetSelectedItem();
2987
internal virtual void ProcessDuplicateMnemonic(
ToolStripItem
item, char charCode) {
3041
ToolStripItem
startingItem = GetSelectedItem();
3048
ToolStripItem
firstMatch = null;
3054
ToolStripItem
currentItem = DisplayedItems[index];
3103
ToolStripItem
currentItem = DisplayedItems[index];
3193
ToolStripItem
currentSel = GetSelectedItem();
3195
ToolStripItem
nextItem = GetNextItem(currentSel, ArrowDirection.Down);
3202
ToolStripItem
nextItem = GetNextItem(currentSel, ArrowDirection.Up);
3220
ToolStripItem
selectedItem = GetSelectedItem();
3221
ToolStripItem
nextItem = SelectNextToolStripItem(GetSelectedItem(), right);
3229
internal void NotifySelectionChange(
ToolStripItem
item) {
3488
ToolStripItem
item = GetItemAt(mea.X, mea.Y);
3518
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose,"OnMouseMove called");
3520
ToolStripItem
item = GetItemAt(mea.X, mea.Y);
3531
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Item to get mouse move: {0}", (item == null) ? "null" : item.ToString()));
3533
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "This is a new item - last item to get was {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString()));
3542
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseEnter on: {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString()));
3559
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (item == null) ? "null" : item.ToString()));
3568
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (this == null) ? "null" : this.ToString()));
3605
ToolStripItem
item = (Grip.MovingToolStrip) ? Grip : GetItemAt(mea.X, mea.Y);
3683
ToolStripItem
item = DisplayedItems[i];
4014
public
ToolStripItem
GetItemAt(int x, int y) {
4024
public
ToolStripItem
GetItemAt(Point point) {
4155
foreach (
ToolStripItem
item in this.Items) {
4172
protected internal void SetItemLocation(
ToolStripItem
item, Point location) {
4186
protected static void SetItemParent(
ToolStripItem
item, ToolStrip parent) {
4220
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, "[TS: ShouldSelectItem] MouseEnter already reset.");
4226
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, "[TS: ShouldSelectItem] Mouse position has changed - call Select().");
4230
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, "[TS: ShouldSelectItem] Mouse hasnt actually moved yet.");
4262
internal
ToolStripItem
SelectNextToolStripItem(
ToolStripItem
start, bool forward) {
4264
ToolStripItem
nextItem = GetNextItem(start, (forward) ? ArrowDirection.Right : ArrowDirection.Left, /*RTLAware=*/true);
4379
ToolStripItem
item = Items[j];
4438
ToolStripItem
item = Items[j];
4589
internal void UpdateToolTip(
ToolStripItem
item) {
4803
internal void OnItemAddedInternal(
ToolStripItem
item) {
4811
internal void OnItemRemovedInternal(
ToolStripItem
item) {
4839
ToolStripItem
item = owner.GetItemAt(clientHit);
4864
ToolStripItem
item = null;
4943
var
item = items[index];
4955
var
item = owner.Items[index];
4985
internal int GetChildFragmentIndex(
ToolStripItem
.ToolStripItemAccessibleObject child) {
5012
var
item = items[index];
5020
var
item = items[index];
5029
internal int GetChildIndex(
ToolStripItem
.ToolStripItemAccessibleObject child) {
5124
private class ToolStripAccessibleObjectWrapperForItemsOnOverflow :
ToolStripItem
.ToolStripItemAccessibleObject {
5125
public ToolStripAccessibleObjectWrapperForItemsOnOverflow(
ToolStripItem
item)
5195
ToolStripItem
item = this.Items[i];
5287
private
ToolStripItem
currentItem = null;
5299
public void Start(
ToolStripItem
item) {
5317
public void Cancel(
ToolStripItem
item) {
5362
if (e.Data.GetDataPresent(typeof(
ToolStripItem
))) {
5378
if (e.Data.GetDataPresent(typeof(
ToolStripItem
))) {
5379
ToolStripItem
item = (
ToolStripItem
)e.Data.GetData(typeof(
ToolStripItem
));
5387
if (e.Data.GetDataPresent(typeof(
ToolStripItem
))) {
5408
private void OnDropItem(
ToolStripItem
droppedItem, Point ownerClientAreaRelativeDropPoint) {
5413
ToolStripItem
item = owner.Items[toolStripItemIndex];
5473
ToolStripItem
item = owner.Items[i];
winforms\Managed\System\WinForms\ToolStripArrowRenderEventArgs.cs (3)
19
private
ToolStripItem
item = null;
23
public ToolStripArrowRenderEventArgs(Graphics g,
ToolStripItem
toolStripItem, Rectangle arrowRectangle, Color arrowColor, ArrowDirection arrowDirection) {
83
public
ToolStripItem
Item {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (8)
683
RaiseMouseEvent(
ToolStripItem
.EventMouseDown, e);
687
RaiseEvent(
ToolStripItem
.EventMouseEnter, e);
691
RaiseEvent(
ToolStripItem
.EventMouseLeave, e);
695
RaiseEvent(
ToolStripItem
.EventMouseHover, e);
699
RaiseMouseEvent(
ToolStripItem
.EventMouseMove, e);
703
RaiseMouseEvent(
ToolStripItem
.EventMouseUp, e);
707
RaisePaintEvent(
ToolStripItem
.EventPaint, e);
710
QueryAccessibilityHelpEventHandler handler = (QueryAccessibilityHelpEventHandler)Events[
ToolStripItem
.EventQueryAccessibilityHelp];
winforms\Managed\System\WinForms\ToolStripDropDown.cs (10)
34
private
ToolStripItem
ownerItem = null;
122
internal ToolStripDropDown(
ToolStripItem
ownerItem): this() {
125
internal ToolStripDropDown(
ToolStripItem
ownerItem, bool isAutoGenerated) : this(ownerItem) {
806
public
ToolStripItem
OwnerItem {
1288
internal
ToolStripItem
GetToplevelOwnerItem() {
1293
internal override void HandleItemClicked(
ToolStripItem
dismissingItem) {
1476
ToolStripItem
itemOnPreviousMenuToSelect = this.OwnerItem;
1543
ToolStripItem
rootItem = GetToplevelOwnerItem();
1630
internal override void ProcessDuplicateMnemonic(
ToolStripItem
item, char charCode) {
1917
ToolStripItem
rootOwnerItem = GetToplevelOwnerItem();
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
53
public ToolStripDropDownButton(string text, Image image, params
ToolStripItem
[] dropDownItems):base(text,image,dropDownItems) {
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (6)
46
protected ToolStripDropDownItem(string text, Image image, params
ToolStripItem
[] dropDownItems) : this(text, image, (EventHandler)null) {
295
internal virtual void AutoHide(
ToolStripItem
otherItemBeingSelected) {
747
foreach (
ToolStripItem
childItem in item.DropDown.Items) {
777
public class ToolStripDropDownItemAccessibleObject :
ToolStripItem
.ToolStripItemAccessibleObject {
879
internal int GetChildFragmentIndex(
ToolStripItem
.ToolStripItemAccessibleObject child) {
958
var
item = dropDown.Items[index];
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (12)
80
internal ToolStripDropDownMenu(
ToolStripItem
ownerItem, bool isAutoGenerated) : base(ownerItem, isAutoGenerated) {
283
ToolStripItem
itemToAdd;
342
ToolStripItem
item = Items[i];
517
internal override void ChangeSelection(
ToolStripItem
nextItem) {
556
protected internal override
ToolStripItem
CreateDefaultItem(string text, Image image, EventHandler onClick) {
565
internal override
ToolStripItem
GetNextItem(
ToolStripItem
start, ArrowDirection direction, bool rtlAware) {
736
ToolStripItem
itemTop = this.Items[this.indexOfFirstDisplayedItem - 1];
737
ToolStripItem
itemBottom = this.Items[this.indexOfFirstDisplayedItem];
748
ToolStripItem
itemTop = this.Items[this.indexOfFirstDisplayedItem];
749
ToolStripItem
itemBottom = this.Items[this.indexOfFirstDisplayedItem + 1];
802
ToolStripItem
item = this.Items[i];
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (5)
87
private
ToolStripItem
FindItemAtPoint(int x, int y) {
99
if (owner.AllowItemReorder && e.Data.GetDataPresent(typeof(
ToolStripItem
))) {
105
ToolStripItem
item = FindItemAtPoint(e.X, e.Y);
155
if (owner.AllowItemReorder && e.Data.GetDataPresent(typeof(
ToolStripItem
))) {
160
ToolStripItem
item = FindItemAtPoint(e.X, e.Y);
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (2)
182
ToolStripItem
item = e.Item;
359
ToolStripItem
item = e.Item;
winforms\Managed\System\WinForms\ToolStripItem.cs (42)
1132
return
ToolStripItem
.EmptyChildCollection;
1711
return WindowsFormsUtils.GetComponentName(this, (string)Properties.GetObject(
ToolStripItem
.PropName));
1718
Properties.SetObject(
ToolStripItem
.PropName, value);
1755
public
ToolStripItem
OwnerItem {
2244
if (Properties.ContainsObject(
ToolStripItem
.PropTag)) {
2245
return propertyStore.GetObject(
ToolStripItem
.PropTag);
2251
Properties.SetObject(
ToolStripItem
.PropTag, value);
2265
if (Properties.ContainsObject(
ToolStripItem
.PropText)) {
2266
return (string)Properties.GetObject(
ToolStripItem
.PropText);
2273
Properties.SetObject(
ToolStripItem
.PropText, value);
2329
if (Properties.ContainsObject(
ToolStripItem
.PropTextDirection)) {
2330
textDirection= (ToolStripTextDirection)Properties.GetObject(
ToolStripItem
.PropTextDirection);
2351
Properties.SetObject(
ToolStripItem
.PropTextDirection, value);
2496
ToolStripItem
item = this as
ToolStripItem
;
2582
else if (data is
ToolStripItem
) {
2591
iwdata.SetData(typeof(
ToolStripItem
).ToString(), data);
3083
/// <para>Raises the <see cref='System.Windows.Forms.
ToolStripItem
.Enter'/> event.</para>
3356
if (Properties.ContainsObject(
ToolStripItem
.PropTextDirection)) {
3357
textDirection= (ToolStripTextDirection)Properties.GetObject(
ToolStripItem
.PropTextDirection);
3698
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Padding'/> property needs to be persisted.</para>
3705
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Margin'/> property needs to be persisted.</para>
3712
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Visible'/> property needs to be persisted.</para>
3719
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Image'/> property needs to be persisted.</para>
3726
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Image'/> property needs to be persisted.</para>
3733
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Image'/> property needs to be persisted.</para>
3740
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.RightToLeft'/> property needs to be persisted.</para>
3754
if (Properties.ContainsObject(
ToolStripItem
.PropTextDirection)) {
3755
textDirection= (ToolStripTextDirection)Properties.GetObject(
ToolStripItem
.PropTextDirection);
3904
ToolStripItem
item = this;
4052
private
ToolStripItem
ownerItem = null; // The associated ToolStripItem for this AccessibleChild (if any)
4063
public ToolStripItemAccessibleObject(
ToolStripItem
ownerItem) {
4108
QueryAccessibilityHelpEventHandler handler = (QueryAccessibilityHelpEventHandler)Owner.Events[
ToolStripItem
.EventQueryAccessibilityHelp];
4223
internal
ToolStripItem
Owner {
4293
((
ToolStripItem
)Owner).PerformClick();
4303
QueryAccessibilityHelpEventHandler handler = (QueryAccessibilityHelpEventHandler)Owner.Events[
ToolStripItem
.EventQueryAccessibilityHelp];
4330
ToolStripItem
nextItem = null;
4570
private
ToolStripItem
item;
4572
public ToolStripItemImageIndexer(
ToolStripItem
item) {
4599
private
ToolStripItem
ownerItem;
4609
public ToolStripItemInternalLayout(
ToolStripItem
ownerItem) {
4618
protected virtual
ToolStripItem
Owner {
winforms\Managed\System\WinForms\ToolStripItemClickedEventArgs.cs (3)
11
private
ToolStripItem
clickedItem = null;
17
public ToolStripItemClickedEventArgs(
ToolStripItem
clickedItem) {
27
public
ToolStripItem
ClickedItem {
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (31)
58
public ToolStripItemCollection(ToolStrip owner,
ToolStripItem
[] value) {
71
public new virtual
ToolStripItem
this[int index] {
73
return (
ToolStripItem
)(InnerList[index]);
81
public virtual
ToolStripItem
this[string key] {
91
return (
ToolStripItem
)InnerList[index];
101
public
ToolStripItem
Add(string text) {
104
public
ToolStripItem
Add(Image image) {
107
public
ToolStripItem
Add(string text, Image image) {
110
public
ToolStripItem
Add(string text, Image image, EventHandler onClick) {
111
ToolStripItem
item = owner.CreateDefaultItem(text,image,onClick);
120
public int Add(
ToolStripItem
value) {
137
public void AddRange(
ToolStripItem
[] toolStripItems) {
181
public bool Contains(
ToolStripItem
value) {
229
private void CheckCanAddOrInsertItem(
ToolStripItem
value) {
263
public
ToolStripItem
[] Find(string key, bool searchAllChildren) {
271
ToolStripItem
[] stronglyTypedFoundItems = new
ToolStripItem
[foundItems.Count];
344
void IList.Remove(object value) { Remove(value as
ToolStripItem
); }
345
int IList.Add(object value) { return Add(value as
ToolStripItem
); }
346
int IList.IndexOf(object value) { return IndexOf(value as
ToolStripItem
); }
347
void IList.Insert(int index, object value) { Insert(index, value as
ToolStripItem
); }
359
public void Insert(int index,
ToolStripItem
value) {
381
public int IndexOf(
ToolStripItem
value) {
425
private void OnAfterRemove(
ToolStripItem
item) {
456
public void Remove(
ToolStripItem
value) {
472
ToolStripItem
item = null;
474
item = (
ToolStripItem
)(InnerList[index]);
498
public void CopyTo(
ToolStripItem
[] array, int index) {
503
internal void MoveItem(
ToolStripItem
value) {
514
internal void MoveItem(int index,
ToolStripItem
value) {
537
private void SetOwner(
ToolStripItem
item) {
winforms\Managed\System\WinForms\ToolStripItemEventArgs.cs (3)
12
private
ToolStripItem
item;
15
public ToolStripItemEventArgs(
ToolStripItem
item) {
20
public
ToolStripItem
Item {
winforms\Managed\System\WinForms\ToolStripItemImageRenderEventArgs.cs (2)
21
public ToolStripItemImageRenderEventArgs(Graphics g,
ToolStripItem
item, Rectangle imageRectangle) : base(g, item) {
30
public ToolStripItemImageRenderEventArgs(Graphics g,
ToolStripItem
item, Image image, Rectangle imageRectangle) : base(g, item) {
winforms\Managed\System\WinForms\ToolStripItemRenderEventArgs.cs (3)
15
private
ToolStripItem
item = null;
22
public ToolStripItemRenderEventArgs(Graphics g,
ToolStripItem
item) {
42
public
ToolStripItem
Item {
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (2)
33
public ToolStripItemTextRenderEventArgs(Graphics g,
ToolStripItem
item, string text, Rectangle textRectangle, Color textColor, Font textFont, TextFormatFlags format) : base(g, item) {
49
public ToolStripItemTextRenderEventArgs(Graphics g,
ToolStripItem
item, string text, Rectangle textRectangle, Color textColor, Font textFont, ContentAlignment textAlign) : base(g, item) {
winforms\Managed\System\WinForms\ToolStripManager.cs (10)
210
foreach (
ToolStripItem
item in toolStrip.Items) {
1828
private static
ToolStripItem
FindMatch(
ToolStripItem
source, ToolStripItemCollection destinationItems) {
1831
ToolStripItem
result = null;
1834
ToolStripItem
candidateItem = destinationItems[i];
1914
ToolStripItem
item = sourceToolStrip.Items[itemToLookAt];
1944
private static void MergeRecursive(
ToolStripItem
source, ToolStripItemCollection destinationItems, Stack<MergeHistoryItem> history) {
1951
ToolStripItem
item = FindMatch(source, destinationItems);
2231
private
ToolStripItem
targetItem;
2245
public
ToolStripItem
TargetItem {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
92
public ToolStripMenuItem(string text, Image image, params
ToolStripItem
[] dropDownItems):base(text,image,dropDownItems) {
150
internal override void AutoHide(
ToolStripItem
otherItemBeingSelected) {
1008
Debug.WriteLineIf(
ToolStripItem
.MouseDebugging.TraceVerbose, "received mouse enter - calling drop down");
winforms\Managed\System\WinForms\ToolStripOverflow.cs (2)
39
public ToolStripOverflow (
ToolStripItem
parentItem) : base(parentItem) {
153
ToolStripItem
item = DisplayedItems[j];
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (7)
147
ToolStripItem
item = e.Item;
490
ToolStripItem
item = e.Item;
592
ToolStripItem
item = e.Item;
791
ToolStripItem
item = toolStrip.OverflowButton;
957
ToolStripItem
item = e.Item;
1256
private void RenderSeparatorInternal(Graphics g,
ToolStripItem
item, Rectangle bounds, bool vertical) {
1370
ToolStripItem
item = e.Item;
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
675
protected internal virtual void InitializeItem (
ToolStripItem
item){
924
ToolStripItem
item = e.Item;
winforms\Managed\System\WinForms\ToolStripSettings.cs (1)
272
foreach (
ToolStripItem
item in toolStrip.Items) {
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (6)
31
private
ToolStripItem
defaultItem = null;
74
public ToolStripSplitButton(string text, Image image, params
ToolStripItem
[] dropDownItems):base(text,image,dropDownItems) {
170
public
ToolStripItem
DefaultItem {
644
/// <para>Determines if the <see cref='System.Windows.Forms.
ToolStripItem
.Size'/> property needs to be persisted.</para>
758
protected override
ToolStripItem
Owner {
788
public class ToolStripSplitButtonAccessibleObject :
ToolStripItem
.ToolStripItemAccessibleObject {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (7)
104
ToolStripItem
item = toolStrip.Items[ForwardsWalkingIndex];
154
ToolStripItem
item = toolStrip.Items[ForwardsWalkingIndex];
275
ToolStripItem
item = null;
411
ToolStripItem
item = null;
511
private void SetItemLocation(
ToolStripItem
item, Point itemLocation, Size itemSize) {
552
ToolStripItem
item = toolStrip.Items[i];
593
ToolStripItem
item = ToolStrip.Items[BackwardsWalkingIndex];
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (6)
95
private static int GetItemState(
ToolStripItem
item) {
143
private static ToolBarState GetToolBarState(
ToolStripItem
item) {
333
ToolStripItem
item = e.Item;
564
ToolStripItem
item = e.Item;
599
private void RenderSeparatorInternal(Graphics g,
ToolStripItem
item, Rectangle bounds, bool vertical) {
699
ToolStripItem
item = e.Item;
System.Workflow.Activities (2)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
111
this.rulesToolStrip.Items.AddRange(new System.Windows.Forms.
ToolStripItem
[] {
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
154
this.rulesToolStrip.Items.AddRange(new System.Windows.Forms.
ToolStripItem
[] {
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
55
this.operationsToolStrip.Items.AddRange(new System.Windows.Forms.
ToolStripItem
[] {
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
120
this.operationsToolStrip.Items.AddRange(new System.Windows.Forms.
ToolStripItem
[] {