162 references to Properties
System.Windows.Forms (162)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (8)
54
int buttonState = this.
Properties
.GetInteger(PropButtonCellState, out found);
68
this.
Properties
.SetInteger(PropButtonCellState, (int)value);
92
int flatStyle = this.
Properties
.GetInteger(PropButtonCellFlatStyle, out found);
108
this.
Properties
.SetInteger(PropButtonCellFlatStyle, (int)value);
121
this.
Properties
.SetInteger(PropButtonCellFlatStyle, (int)value);
143
int useColumnTextForButtonValue = this.
Properties
.GetInteger(PropButtonCellUseColumnTextForButtonValue, out found);
154
this.
Properties
.SetInteger(PropButtonCellUseColumnTextForButtonValue, value ? 1 : 0);
166
this.
Properties
.SetInteger(PropButtonCellUseColumnTextForButtonValue, value ? 1 : 0);
winforms\Managed\System\WinForms\DataGridViewCell.cs (38)
109
AccessibleObject result = (AccessibleObject) this.
Properties
.GetObject(PropCellAccessibilityObject);
113
this.
Properties
.SetObject(PropCellAccessibilityObject, result);
168
return (ContextMenuStrip)this.
Properties
.GetObject(PropCellContextMenuStrip);
172
ContextMenuStrip oldValue = (ContextMenuStrip)this.
Properties
.GetObject(PropCellContextMenuStrip);
180
this.
Properties
.SetObject(PropCellContextMenuStrip, value);
322
object errorText = this.
Properties
.GetObject(PropCellErrorText);
328
if (!string.IsNullOrEmpty(value) || this.
Properties
.ContainsObject(PropCellErrorText))
330
this.
Properties
.SetObject(PropCellErrorText, value);
416
return this.
Properties
.ContainsObject(PropCellErrorText) && this.
Properties
.GetObject(PropCellErrorText) != null;
428
return this.
Properties
.ContainsObject(PropCellStyle) && this.
Properties
.GetObject(PropCellStyle) != null;
436
return this.
Properties
.ContainsObject(PropCellToolTipText) && this.
Properties
.GetObject(PropCellToolTipText) != null;
444
return this.
Properties
.ContainsObject(PropCellValue) && this.
Properties
.GetObject(PropCellValue) != null;
452
return this.
Properties
.ContainsObject(PropCellValueType) && this.
Properties
.GetObject(PropCellValueType) != null;
802
DataGridViewCellStyle dgvcs = (DataGridViewCellStyle)this.
Properties
.GetObject(PropCellStyle);
807
this.
Properties
.SetObject(PropCellStyle, dgvcs);
819
if (value != null || this.
Properties
.ContainsObject(PropCellStyle))
825
this.
Properties
.SetObject(PropCellStyle, value);
849
return this.
Properties
.GetObject(PropCellTag);
853
if (value != null || this.
Properties
.ContainsObject(PropCellTag))
855
this.
Properties
.SetObject(PropCellTag, value);
881
object toolTipText = this.
Properties
.GetObject(PropCellToolTipText);
887
if (!String.IsNullOrEmpty(value) || this.
Properties
.ContainsObject(PropCellToolTipText))
889
this.
Properties
.SetObject(PropCellToolTipText, value);
924
Type cellValueType = (Type) this.
Properties
.GetObject(PropCellValueType);
934
if (value != null || this.
Properties
.ContainsObject(PropCellValueType))
936
this.
Properties
.SetObject(PropCellValueType, value);
1847
object objErrorText = this.
Properties
.GetObject(PropCellErrorText);
2686
return this.
Properties
.GetObject(PropCellValue);
2697
return this.
Properties
.GetObject(PropCellValue);
4628
if (value != null || this.
Properties
.ContainsObject(PropCellValue))
4630
this.
Properties
.SetObject(PropCellValue, value);
4669
if (value != null || this.
Properties
.ContainsObject(PropCellValue))
4671
this.
Properties
.SetObject(PropCellValue, value);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (20)
205
int buttonState = this.
Properties
.GetInteger(PropButtonCellState, out found);
219
this.
Properties
.SetInteger(PropButtonCellState, (int)value);
241
return this.
Properties
.GetObject(PropFalseValue);
245
if (value != null || this.
Properties
.ContainsObject(PropFalseValue))
247
this.
Properties
.SetObject(PropFalseValue, value);
267
if (value != null || this.
Properties
.ContainsObject(PropFalseValue))
269
this.
Properties
.SetObject(PropFalseValue, value);
281
int flatStyle = this.
Properties
.GetInteger(PropFlatStyle, out found);
297
this.
Properties
.SetInteger(PropFlatStyle, (int)value);
310
this.
Properties
.SetInteger(PropFlatStyle, (int)value);
337
return this.
Properties
.GetObject(PropIndeterminateValue);
341
if (value != null || this.
Properties
.ContainsObject(PropIndeterminateValue))
343
this.
Properties
.SetObject(PropIndeterminateValue, value);
363
if (value != null || this.
Properties
.ContainsObject(PropIndeterminateValue))
365
this.
Properties
.SetObject(PropIndeterminateValue, value);
422
return this.
Properties
.GetObject(PropTrueValue);
426
if (value != null || this.
Properties
.ContainsObject(PropTrueValue))
428
this.
Properties
.SetObject(PropTrueValue, value);
448
if (value != null || this.
Properties
.ContainsObject(PropTrueValue))
450
this.
Properties
.SetObject(PropTrueValue, value);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
67
return this.
Properties
.ContainsObject(PropCellValue);
722
return this.
Properties
.GetObject(PropCellValue);
1208
this.
Properties
.SetObject(PropCellValue, value);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (39)
162
if (value != null || this.
Properties
.ContainsObject(PropComboBoxCellDataManager))
164
this.
Properties
.SetObject(PropComboBoxCellDataManager, value);
174
return this.
Properties
.GetObject(PropComboBoxCellDataSource);
191
this.
Properties
.SetObject(PropComboBoxCellDataSource, value);
252
object displayMember = this.
Properties
.GetObject(PropComboBoxCellDisplayMember);
283
if ((value != null && value.Length > 0) || this.
Properties
.ContainsObject(PropComboBoxCellDisplayMember))
285
this.
Properties
.SetObject(PropComboBoxCellDisplayMember, value);
294
return (PropertyDescriptor)this.
Properties
.GetObject(PropComboBoxCellDisplayMemberProp);
298
if (value != null || this.
Properties
.ContainsObject(PropComboBoxCellDisplayMemberProp))
300
this.
Properties
.SetObject(PropComboBoxCellDisplayMemberProp, value);
312
int displayStyle = this.
Properties
.GetInteger(PropComboBoxCellDisplayStyle, out found);
328
this.
Properties
.SetInteger(PropComboBoxCellDisplayStyle, (int)value);
351
this.
Properties
.SetInteger(PropComboBoxCellDisplayStyle, (int)value);
363
int displayStyleForCurrentCellOnly = this.
Properties
.GetInteger(PropComboBoxCellDisplayStyleForCurrentCellOnly, out found);
374
this.
Properties
.SetInteger(PropComboBoxCellDisplayStyleForCurrentCellOnly, value ? 1 : 0);
396
this.
Properties
.SetInteger(PropComboBoxCellDisplayStyleForCurrentCellOnly, value ? 1 : 0);
442
int dropDownWidth = this.
Properties
.GetInteger(PropComboBoxCellDropDownWidth, out found);
452
this.
Properties
.SetInteger(PropComboBoxCellDropDownWidth, (int)value);
464
return (DataGridViewComboBoxEditingControl)this.
Properties
.GetObject(PropComboBoxCellEditingComboBox);
468
if (value != null || this.
Properties
.ContainsObject(PropComboBoxCellEditingComboBox))
470
this.
Properties
.SetObject(PropComboBoxCellEditingComboBox, value);
491
int flatStyle = this.
Properties
.GetInteger(PropComboBoxCellFlatStyle, out found);
507
this.
Properties
.SetInteger(PropComboBoxCellFlatStyle, (int)value);
520
this.
Properties
.SetInteger(PropComboBoxCellFlatStyle, (int)value);
538
return this.
Properties
.ContainsObject(PropComboBoxCellItems) && this.
Properties
.GetObject(PropComboBoxCellItems) != null;
559
int maxDropDownItems = this.
Properties
.GetInteger(PropComboBoxCellMaxDropDownItems, out found);
573
this.
Properties
.SetInteger(PropComboBoxCellMaxDropDownItems, (int)value);
639
return (DataGridViewComboBoxColumn) this.
Properties
.GetObject(PropComboBoxCellColumnTemplate);
643
this.
Properties
.SetObject(PropComboBoxCellColumnTemplate, value);
653
object valueMember = this.
Properties
.GetObject(PropComboBoxCellValueMember);
684
if ((value != null && value.Length > 0) || this.
Properties
.ContainsObject(PropComboBoxCellValueMember))
686
this.
Properties
.SetObject(PropComboBoxCellValueMember, value);
695
return (PropertyDescriptor)this.
Properties
.GetObject(PropComboBoxCellValueMemberProp);
699
if (value != null || this.
Properties
.ContainsObject(PropComboBoxCellValueMemberProp))
701
this.
Properties
.SetObject(PropComboBoxCellValueMemberProp, value);
1019
CurrencyManager cm = (CurrencyManager)this.
Properties
.GetObject(PropComboBoxCellDataManager);
1286
ObjectCollection items = (ObjectCollection)this.
Properties
.GetObject(PropComboBoxCellItems);
1290
this.
Properties
.SetObject(PropComboBoxCellItems, items);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (11)
46
int buttonState = this.
Properties
.GetInteger(PropButtonState, out found);
65
this.
Properties
.SetInteger(PropButtonState, (int) value);
114
return (Bitmap)this.
Properties
.GetObject(PropFlipXPThemesBitmap);
118
if (value != null || this.
Properties
.ContainsObject(PropFlipXPThemesBitmap))
120
this.
Properties
.SetObject(PropFlipXPThemesBitmap, value);
169
return this.
Properties
.ContainsObject(PropValueType) && this.
Properties
.GetObject(PropValueType) != null;
238
Type valueType = (Type) this.
Properties
.GetObject(PropValueType);
247
if (value != null || this.
Properties
.ContainsObject(PropValueType))
249
this.
Properties
.SetObject(PropValueType, value);
525
return this.
Properties
.GetObject(PropCellValue);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (6)
78
object description = this.
Properties
.GetObject(PropImageCellDescription);
88
if (!string.IsNullOrEmpty(value) || this.
Properties
.ContainsObject(PropImageCellDescription))
90
this.
Properties
.SetObject(PropImageCellDescription, value);
154
int imageLayout = this.
Properties
.GetInteger(PropImageCellLayout, out found);
170
this.
Properties
.SetInteger(PropImageCellLayout, (int)value);
183
this.
Properties
.SetInteger(PropImageCellLayout, (int)value);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (29)
63
if (this.
Properties
.ContainsObject(PropLinkCellActiveLinkColor))
65
return (Color)this.
Properties
.GetObject(PropLinkCellActiveLinkColor);
81
this.
Properties
.SetObject(PropLinkCellActiveLinkColor, value);
103
this.
Properties
.SetObject(PropLinkCellActiveLinkColor, value);
144
int linkBehavior = this.
Properties
.GetInteger(PropLinkCellLinkBehavior, out found);
160
this.
Properties
.SetInteger(PropLinkCellLinkBehavior, (int)value);
183
this.
Properties
.SetInteger(PropLinkCellLinkBehavior, (int)value);
196
if (this.
Properties
.ContainsObject(PropLinkCellLinkColor))
198
return (Color)this.
Properties
.GetObject(PropLinkCellLinkColor);
214
this.
Properties
.SetObject(PropLinkCellLinkColor, value);
236
this.
Properties
.SetObject(PropLinkCellLinkColor, value);
256
int linkState = this.
Properties
.GetInteger(PropLinkCellLinkState, out found);
267
this.
Properties
.SetInteger(PropLinkCellLinkState, (int) value);
318
int trackVisitedState = this.
Properties
.GetInteger(PropLinkCellTrackVisitedState, out found);
329
this.
Properties
.SetInteger(PropLinkCellTrackVisitedState, value ? 1 : 0);
351
this.
Properties
.SetInteger(PropLinkCellTrackVisitedState, value ? 1 : 0);
363
int useColumnTextForLinkValue = this.
Properties
.GetInteger(PropLinkCellUseColumnTextForLinkValue, out found);
374
this.
Properties
.SetInteger(PropLinkCellUseColumnTextForLinkValue, value ? 1 : 0);
387
this.
Properties
.SetInteger(PropLinkCellUseColumnTextForLinkValue, value ? 1 : 0);
400
if (this.
Properties
.ContainsObject(PropLinkCellVisitedLinkColor))
402
return (Color)this.
Properties
.GetObject(PropLinkCellVisitedLinkColor);
418
this.
Properties
.SetObject(PropLinkCellVisitedLinkColor, value);
440
this.
Properties
.SetObject(PropLinkCellVisitedLinkColor, value);
498
if (this.
Properties
.ContainsObject(PropLinkCellActiveLinkColor))
503
if (this.
Properties
.ContainsInteger(PropLinkCellUseColumnTextForLinkValue))
508
if (this.
Properties
.ContainsInteger(PropLinkCellLinkBehavior))
513
if (this.
Properties
.ContainsObject(PropLinkCellLinkColor))
518
if (this.
Properties
.ContainsInteger(PropLinkCellTrackVisitedState))
523
if (this.
Properties
.ContainsObject(PropLinkCellVisitedLinkColor))
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
706
return this.
Properties
.GetObject(PropCellValue);
1151
if (value != null || this.
Properties
.ContainsObject(PropCellValue))
1153
this.
Properties
.SetObject(PropCellValue, value);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (5)
73
return (DataGridViewTextBoxEditingControl) this.
Properties
.GetObject(PropTextBoxCellEditingTextBox);
77
if (value != null || this.
Properties
.ContainsObject(PropTextBoxCellEditingTextBox))
79
this.
Properties
.SetObject(PropTextBoxCellEditingTextBox, value);
101
int maxInputLength = this.
Properties
.GetInteger(PropTextBoxCellMaxInputLength, out found);
119
this.
Properties
.SetInteger(PropTextBoxCellMaxInputLength, value);