1 write to Properties
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
727
dataGridViewBand.
Properties
= new PropertyStore();
29 references to Properties
System.Windows.Forms (29)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (20)
58
get =>
Properties
.GetValueOrDefault<ContextMenuStrip>(s_propContextMenuStrip);
61
ContextMenuStrip? oldValue =
Properties
.AddOrRemoveValue(s_propContextMenuStrip, value);
85
if (!
Properties
.TryGetValue(s_propDefaultCellStyle, out DataGridViewCellStyle? style))
89
Properties
.AddValue(s_propDefaultCellStyle, style);
104
Properties
.AddOrRemoveValue(s_propDefaultCellStyle, value);
120
if (
Properties
.TryGetValue(s_propDefaultHeaderCellType, out Type? type))
139
Properties
.AddOrRemoveValue(s_propDefaultHeaderCellType, value);
173
get =>
Properties
.GetValueOrDefault<int>(s_propDividerThickness);
181
Properties
.AddValue(s_propDividerThickness, value);
215
public bool HasDefaultCellStyle =>
Properties
.ContainsKey(s_propDefaultCellStyle);
217
internal bool HasDefaultHeaderCellType =>
Properties
.ContainsKey(s_propDefaultHeaderCellType);
219
internal bool HasHeaderCell =>
Properties
.ContainsKey(s_propHeaderCell);
228
if (
Properties
.TryGetValue(s_propHeaderCell, out DataGridViewHeaderCell? headerCell))
241
Properties
.AddValue(s_propHeaderCell, headerCell);
249
Properties
.AddValue(s_propHeaderCell, headerCell);
262
DataGridViewHeaderCell? priorValue =
Properties
.GetValueOrDefault<DataGridViewHeaderCell?>(s_propHeaderCell);
328
Properties
.AddOrRemoveValue(s_propHeaderCell, value);
602
get =>
Properties
.GetValueOrDefault<object?>(s_propUserData);
603
set =>
Properties
.AddOrRemoveValue(s_propUserData, value);
861
private bool ShouldSerializeDefaultHeaderCellType() =>
Properties
.ContainsKey(s_propDefaultHeaderCellType);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
789
get =>
Properties
.GetValueOrDefault<Type>(s_propDataGridViewColumnValueType);
790
set =>
Properties
.AddOrRemoveValue(s_propDataGridViewColumnValueType, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (7)
41
if (!
Properties
.TryGetValue(s_propRowAccessibilityObject, out AccessibleObject? result))
44
Properties
.AddValue(s_propRowAccessibilityObject, result);
166
get =>
Properties
.GetStringOrEmptyString(s_propRowErrorText);
169
if (
Properties
.AddOrRemoveString(s_propRowErrorText, value))
199
private bool HasErrorText =>
Properties
.ContainsKey(s_propRowErrorText);
242
internal bool IsAccessibilityObjectCreated =>
Properties
.ContainsKey(s_propRowAccessibilityObject);
1744
Properties
.RemoveValue(s_propRowAccessibilityObject);