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