76 references to Properties
System.Windows.Forms (76)
winforms\Managed\System\WinForms\ToolStripItem.cs (68)
227AccessibleObject accessibleObject = (AccessibleObject)Properties.GetObject(PropAccessibility); 230Properties.SetObject(PropAccessibility, accessibleObject); 250return (string)Properties.GetObject(PropAccessibleDefaultActionDescription); 253Properties.SetObject(PropAccessibleDefaultActionDescription, value); 269return (string)Properties.GetObject(PropAccessibleDescription); 272Properties.SetObject(PropAccessibleDescription, value); 289return (string)Properties.GetObject(PropAccessibleName); 293Properties.SetObject(PropAccessibleName, value); 311int role = Properties.GetInteger(PropAccessibleRole, out found); 325Properties.SetInteger(PropAccessibleRole, (int)value); 481return Properties.GetObject(PropBackgroundImage) as Image; 486Properties.SetObject(PropBackgroundImage, value); 512bool found = Properties.ContainsObject(PropBackgroundImageLayout); 517return ((ImageLayout)Properties.GetObject(PropBackgroundImageLayout)); 527Properties.SetObject(PropBackgroundImageLayout, value); 555if (!value.IsEmpty || Properties.ContainsObject(PropBackColor)) { 556Properties.SetColor(PropBackColor, value); 1014Color foreColor = Properties.GetColor(PropForeColor); 1028if (!value.IsEmpty || Properties.ContainsObject(PropForeColor)) { 1029Properties.SetColor(PropForeColor, value); 1063Font font = (Font)Properties.GetObject(PropFont); 1079Font local = (Font)Properties.GetObject(PropFont); 1081Properties.SetObject(PropFont, value); 1177return this.Properties; 1243Image image = (Image)Properties.GetObject(PropImage); 1250Properties.SetObject(PropImage, image); 1272Properties.SetObject(PropImage, value); 1337Properties.SetObject(PropImage, null); 1375Properties.SetObject(PropImage, null); 1424Color color = Properties.GetColor(PropForeColor); 1541int action = Properties.GetInteger(PropMergeAction, out found); 1557Properties.SetInteger(PropMergeAction, (int)value); 1573int index = Properties.GetInteger(PropMergeIndex, out found); 1584Properties.SetInteger(PropMergeIndex, value); 1711return WindowsFormsUtils.GetComponentName(this, (string)Properties.GetObject(ToolStripItem.PropName)); 1718Properties.SetObject(ToolStripItem.PropName, value); 1913Image image = (Image)Properties.GetObject(PropImage); 2001return Properties.GetColor(PropBackColor); 2029int rightToLeft = Properties.GetInteger(PropRightToLeft, out found); 2058if (Properties.ContainsInteger(PropRightToLeft) || value != RightToLeft.Inherit) { 2059Properties.SetInteger(PropRightToLeft, (int)value); 2103Properties.SetObject(PropMirroredImage, mirroredImage); 2111return Properties.GetObject(PropMirroredImage) as Image; 2244if (Properties.ContainsObject(ToolStripItem.PropTag)) { 2251Properties.SetObject(ToolStripItem.PropTag, value); 2265if (Properties.ContainsObject(ToolStripItem.PropText)) { 2266return (string)Properties.GetObject(ToolStripItem.PropText); 2273Properties.SetObject(ToolStripItem.PropText, value); 2329if (Properties.ContainsObject(ToolStripItem.PropTextDirection)) { 2330textDirection= (ToolStripTextDirection)Properties.GetObject(ToolStripItem.PropTextDirection); 2351Properties.SetObject(ToolStripItem.PropTextDirection, value); 2546Properties.SetObject(PropMirroredImage, null); 2547Properties.SetObject(PropImage, null); 2775Properties.SetObject(PropImage, null); 3268Color backColor = Properties.GetColor(PropBackColor); 3304if (Properties.GetObject(PropFont) == null) { 3315Color foreColor = Properties.GetColor(PropForeColor); 3327if (!Properties.ContainsInteger(PropRightToLeft) || ((RightToLeft)Properties.GetInteger(PropRightToLeft)) == RightToLeft.Inherit) { 3343int rightToLeft = Properties.GetInteger(PropRightToLeft, out found); 3356if (Properties.ContainsObject(ToolStripItem.PropTextDirection)) { 3357textDirection= (ToolStripTextDirection)Properties.GetObject(ToolStripItem.PropTextDirection); 3667Color backColor = Properties.GetColor(PropBackColor); 3683Color foreColor = Properties.GetColor(PropForeColor); 3693object font = Properties.GetObject(PropFont, out found); 3745int rightToLeft = Properties.GetInteger(PropRightToLeft, out found); 3754if (Properties.ContainsObject(ToolStripItem.PropTextDirection)) { 3755textDirection= (ToolStripTextDirection)Properties.GetObject(ToolStripItem.PropTextDirection);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (8)
101Properties.SetObject(PropMdiForm,mdiForm); 391object checkState = Properties.GetInteger(PropCheckState, out found); 403Properties.SetInteger(PropCheckState, (int)value); 476object shortcutKeys = Properties.GetInteger(PropShortcutKeys, out found ); 501Properties.SetInteger(PropShortcutKeys, (int)value); 600if (Properties.ContainsObject(PropMdiForm)) { 601return Properties.GetObject(PropMdiForm) as Form; 694Properties.SetObject(PropMdiForm,null);