37 references to Properties
System.Windows.Forms (37)
winforms\Managed\System\WinForms\DataGridViewBand.cs (28)
94
return (ContextMenuStrip)this.
Properties
.GetObject(PropContextMenuStrip);
98
ContextMenuStrip oldValue = (ContextMenuStrip)this.
Properties
.GetObject(PropContextMenuStrip);
106
this.
Properties
.SetObject(PropContextMenuStrip, value);
127
DataGridViewCellStyle dgvcs = (DataGridViewCellStyle)this.
Properties
.GetObject(PropDefaultCellStyle);
133
this.
Properties
.SetObject(PropDefaultCellStyle, dgvcs);
145
if (value != null || this.
Properties
.ContainsObject(PropDefaultCellStyle))
152
this.
Properties
.SetObject(PropDefaultCellStyle, value);
171
Type dhct = (Type)this.
Properties
.GetObject(PropDefaultHeaderCellType);
187
if (value != null || this.
Properties
.ContainsObject(PropDefaultHeaderCellType))
191
this.
Properties
.SetObject(PropDefaultHeaderCellType, value);
243
int dividerThickness = this.
Properties
.GetInteger(PropDividerThickness, out found);
272
this.
Properties
.SetInteger(PropDividerThickness, (int)value);
318
return this.
Properties
.ContainsObject(PropDefaultCellStyle) && this.
Properties
.GetObject(PropDefaultCellStyle) != null;
326
return this.
Properties
.ContainsObject(PropDefaultHeaderCellType) && this.
Properties
.GetObject(PropDefaultHeaderCellType) != null;
334
return this.
Properties
.ContainsObject(PropHeaderCell) && this.
Properties
.GetObject(PropHeaderCell) != null;
347
DataGridViewHeaderCell headerCell = (DataGridViewHeaderCell)this.
Properties
.GetObject(PropHeaderCell);
357
this.
Properties
.SetObject(PropHeaderCell, headerCell);
365
this.
Properties
.SetObject(PropHeaderCell, headerCell);
378
DataGridViewHeaderCell headerCell = (DataGridViewHeaderCell)this.
Properties
.GetObject(PropHeaderCell);
379
if (value != null || this.
Properties
.ContainsObject(PropHeaderCell))
431
this.
Properties
.SetObject(PropHeaderCell, value);
749
return
Properties
.GetObject(PropUserData);
753
if (value != null || this.
Properties
.ContainsObject(PropUserData))
755
Properties
.SetObject(PropUserData, value);
1036
Type dhct = (Type)this.
Properties
.GetObject(PropDefaultHeaderCellType);
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
1053
return (Type) this.
Properties
.GetObject(PropDataGridViewColumnValueType);
1058
this.
Properties
.SetObject(PropDataGridViewColumnValueType, value);
winforms\Managed\System\WinForms\DataGridViewRow.cs (7)
58
AccessibleObject result = (AccessibleObject) this.
Properties
.GetObject(PropRowAccessibilityObject);
63
this.
Properties
.SetObject(PropRowAccessibilityObject, result);
215
object errorText = this.
Properties
.GetObject(PropRowErrorText);
221
if (!string.IsNullOrEmpty(value) || this.
Properties
.ContainsObject(PropRowErrorText))
223
this.
Properties
.SetObject(PropRowErrorText, value);
260
return this.
Properties
.ContainsObject(PropRowErrorText) && this.
Properties
.GetObject(PropRowErrorText) != null;