1 write to Properties
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
713
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);
77
if (!
Properties
.TryGetValue(s_propDefaultCellStyle, out DataGridViewCellStyle? style))
81
Properties
.AddValue(s_propDefaultCellStyle, style);
96
Properties
.AddOrRemoveValue(s_propDefaultCellStyle, value);
112
if (
Properties
.TryGetValue(s_propDefaultHeaderCellType, out Type? type))
131
Properties
.AddOrRemoveValue(s_propDefaultHeaderCellType, value);
165
get =>
Properties
.GetValueOrDefault<int>(s_propDividerThickness);
173
Properties
.AddValue(s_propDividerThickness, value);
207
public bool HasDefaultCellStyle =>
Properties
.ContainsKey(s_propDefaultCellStyle);
209
internal bool HasDefaultHeaderCellType =>
Properties
.ContainsKey(s_propDefaultHeaderCellType);
211
internal bool HasHeaderCell =>
Properties
.ContainsKey(s_propHeaderCell);
220
if (
Properties
.TryGetValue(s_propHeaderCell, out DataGridViewHeaderCell? headerCell))
233
Properties
.AddValue(s_propHeaderCell, headerCell);
241
Properties
.AddValue(s_propHeaderCell, headerCell);
254
DataGridViewHeaderCell? priorValue =
Properties
.GetValueOrDefault<DataGridViewHeaderCell?>(s_propHeaderCell);
314
Properties
.AddOrRemoveValue(s_propHeaderCell, value);
588
get =>
Properties
.GetValueOrDefault<object?>(s_propUserData);
589
set =>
Properties
.AddOrRemoveValue(s_propUserData, value);
844
private bool ShouldSerializeDefaultHeaderCellType() =>
Properties
.ContainsKey(s_propDefaultHeaderCellType);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
791
get =>
Properties
.GetValueOrDefault<Type>(s_propDataGridViewColumnValueType);
792
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);
1747
Properties
.RemoveValue(s_propRowAccessibilityObject);