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