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