9 instantiations of PropertyStore
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (1)
309
Properties = new
PropertyStore
();
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (2)
393
private protected PropertyStore Properties { get; private set; } =
new
();
727
dataGridViewBand.Properties = new
PropertyStore
();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
73
Properties = new
PropertyStore
();
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (2)
35
Properties = new
PropertyStore
();
43
Properties = new
PropertyStore
();
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1587
internal PropertyStore Properties => _propertyStore ??= new
PropertyStore
();
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
234
internal PropertyStore Properties { get; } =
new
();
System\Windows\Forms\Layout\ArrangedElement.cs (1)
16
private readonly PropertyStore _propertyStore =
new
(); // Contains all properties that are not always set.
200 references to PropertyStore
System.Windows.Forms (200)
System\Windows\Forms\Control.cs (37)
182
private static readonly int s_namePropertyProperty =
PropertyStore
.CreateKey();
183
private static readonly int s_backBrushProperty =
PropertyStore
.CreateKey();
184
private static readonly int s_fontHeightProperty =
PropertyStore
.CreateKey();
185
private static readonly int s_currentAmbientFontProperty =
PropertyStore
.CreateKey();
187
private static readonly int s_backColorProperty =
PropertyStore
.CreateKey();
188
private static readonly int s_foreColorProperty =
PropertyStore
.CreateKey();
189
private static readonly int s_fontProperty =
PropertyStore
.CreateKey();
191
private static readonly int s_backgroundImageProperty =
PropertyStore
.CreateKey();
192
private static readonly int s_fontHandleWrapperProperty =
PropertyStore
.CreateKey();
193
private static readonly int s_userDataProperty =
PropertyStore
.CreateKey();
195
private static readonly int s_cursorProperty =
PropertyStore
.CreateKey();
196
private static readonly int s_regionProperty =
PropertyStore
.CreateKey();
197
private static readonly int s_rightToLeftProperty =
PropertyStore
.CreateKey();
199
private static readonly int s_bindingsProperty =
PropertyStore
.CreateKey();
200
private static readonly int s_bindingManagerProperty =
PropertyStore
.CreateKey();
201
private static readonly int s_accessibleDefaultActionProperty =
PropertyStore
.CreateKey();
202
private static readonly int s_accessibleDescriptionProperty =
PropertyStore
.CreateKey();
204
private static readonly int s_accessibilityProperty =
PropertyStore
.CreateKey();
205
private static readonly int s_ncAccessibilityProperty =
PropertyStore
.CreateKey();
206
private static readonly int s_accessibleNameProperty =
PropertyStore
.CreateKey();
207
private static readonly int s_accessibleRoleProperty =
PropertyStore
.CreateKey();
209
private static readonly int s_activeXImplProperty =
PropertyStore
.CreateKey();
210
private static readonly int s_controlVersionInfoProperty =
PropertyStore
.CreateKey();
211
private static readonly int s_backgroundImageLayoutProperty =
PropertyStore
.CreateKey();
213
private static readonly int s_contextMenuStripProperty =
PropertyStore
.CreateKey();
214
private static readonly int s_autoScrollOffsetProperty =
PropertyStore
.CreateKey();
215
private static readonly int s_useCompatibleTextRenderingProperty =
PropertyStore
.CreateKey();
217
private static readonly int s_imeWmCharsToIgnoreProperty =
PropertyStore
.CreateKey();
218
private static readonly int s_imeModeProperty =
PropertyStore
.CreateKey();
219
private static readonly int s_disableImeModeChangedCountProperty =
PropertyStore
.CreateKey();
220
private static readonly int s_lastCanEnableImeProperty =
PropertyStore
.CreateKey();
222
private static readonly int s_cacheTextCountProperty =
PropertyStore
.CreateKey();
223
private static readonly int s_cacheTextFieldProperty =
PropertyStore
.CreateKey();
224
private static readonly int s_ambientPropertiesServiceProperty =
PropertyStore
.CreateKey();
226
private static readonly int s_dataContextProperty =
PropertyStore
.CreateKey();
2662
internal
PropertyStore
Properties { get; }
12576
PropertyStore
IArrangedElement.Properties
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (8)
38
private static readonly int s_propMaxLength =
PropertyStore
.CreateKey();
39
private static readonly int s_propItemHeight =
PropertyStore
.CreateKey();
40
private static readonly int s_propDropDownWidth =
PropertyStore
.CreateKey();
41
private static readonly int s_propDropDownHeight =
PropertyStore
.CreateKey();
42
private static readonly int s_propStyle =
PropertyStore
.CreateKey();
43
private static readonly int s_propDrawMode =
PropertyStore
.CreateKey();
44
private static readonly int s_propMatchingText =
PropertyStore
.CreateKey();
45
private static readonly int s_propFlatComboAdapter =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
364
private static readonly int s_propToolTip =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (7)
14
private static readonly int s_propContextMenuStrip =
PropertyStore
.CreateKey();
15
private static readonly int s_propDefaultCellStyle =
PropertyStore
.CreateKey();
16
private static readonly int s_propDefaultHeaderCellType =
PropertyStore
.CreateKey();
17
private static readonly int s_propDividerThickness =
PropertyStore
.CreateKey();
18
private static readonly int s_propHeaderCell =
PropertyStore
.CreateKey();
19
private static readonly int s_propUserData =
PropertyStore
.CreateKey();
393
private protected
PropertyStore
Properties { get; private set; } = new();
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (3)
17
private static readonly int s_propButtonCellFlatStyle =
PropertyStore
.CreateKey();
18
private static readonly int s_propButtonCellState =
PropertyStore
.CreateKey();
19
private static readonly int s_propButtonCellUseColumnTextForButtonValue =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (9)
38
private protected static readonly int s_propCellValue =
PropertyStore
.CreateKey();
39
private static readonly int s_propCellContextMenuStrip =
PropertyStore
.CreateKey();
40
private static readonly int s_propCellErrorText =
PropertyStore
.CreateKey();
41
private static readonly int s_propCellStyle =
PropertyStore
.CreateKey();
42
private static readonly int s_propCellValueType =
PropertyStore
.CreateKey();
43
private static readonly int s_propCellTag =
PropertyStore
.CreateKey();
44
private static readonly int s_propCellToolTipText =
PropertyStore
.CreateKey();
45
private static readonly int s_propCellAccessibilityObject =
PropertyStore
.CreateKey();
424
internal
PropertyStore
Properties { get; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (14)
15
private static readonly int s_propAlignment =
PropertyStore
.CreateKey();
16
private static readonly int s_propBackColor =
PropertyStore
.CreateKey();
17
private static readonly int s_propDataSourceNullValue =
PropertyStore
.CreateKey();
18
private static readonly int s_propFont =
PropertyStore
.CreateKey();
19
private static readonly int s_propForeColor =
PropertyStore
.CreateKey();
20
private static readonly int s_propFormat =
PropertyStore
.CreateKey();
21
private static readonly int s_propFormatProvider =
PropertyStore
.CreateKey();
22
private static readonly int s_propNullValue =
PropertyStore
.CreateKey();
23
private static readonly int s_propPadding =
PropertyStore
.CreateKey();
24
private static readonly int s_propSelectionBackColor =
PropertyStore
.CreateKey();
25
private static readonly int s_propSelectionForeColor =
PropertyStore
.CreateKey();
26
private static readonly int s_propTag =
PropertyStore
.CreateKey();
27
private static readonly int s_propWrapMode =
PropertyStore
.CreateKey();
302
internal
PropertyStore
Properties { get; }
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (5)
24
private static readonly int s_propButtonCellState =
PropertyStore
.CreateKey();
25
private static readonly int s_propTrueValue =
PropertyStore
.CreateKey();
26
private static readonly int s_propFalseValue =
PropertyStore
.CreateKey();
27
private static readonly int s_propFlatStyle =
PropertyStore
.CreateKey();
28
private static readonly int s_propIndeterminateValue =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
39
private static readonly int s_propDataGridViewColumnValueType =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (14)
15
private static readonly int s_propComboBoxCellDataSource =
PropertyStore
.CreateKey();
16
private static readonly int s_propComboBoxCellDisplayMember =
PropertyStore
.CreateKey();
17
private static readonly int s_propComboBoxCellValueMember =
PropertyStore
.CreateKey();
18
private static readonly int s_propComboBoxCellItems =
PropertyStore
.CreateKey();
19
private static readonly int s_propComboBoxCellDropDownWidth =
PropertyStore
.CreateKey();
20
private static readonly int s_propComboBoxCellMaxDropDownItems =
PropertyStore
.CreateKey();
21
private static readonly int s_propComboBoxCellEditingComboBox =
PropertyStore
.CreateKey();
22
private static readonly int s_propComboBoxCellValueMemberProp =
PropertyStore
.CreateKey();
23
private static readonly int s_propComboBoxCellDisplayMemberProp =
PropertyStore
.CreateKey();
24
private static readonly int s_propComboBoxCellDataManager =
PropertyStore
.CreateKey();
25
private static readonly int s_propComboBoxCellColumnTemplate =
PropertyStore
.CreateKey();
26
private static readonly int s_propComboBoxCellFlatStyle =
PropertyStore
.CreateKey();
27
private static readonly int s_propComboBoxCellDisplayStyle =
PropertyStore
.CreateKey();
28
private static readonly int s_propComboBoxCellDisplayStyleForCurrentCellOnly =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (3)
20
private static readonly int s_propValueType =
PropertyStore
.CreateKey();
21
private static readonly int s_propButtonState =
PropertyStore
.CreateKey();
22
private static readonly int s_propFlipXPThemesBitmap =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (2)
13
private static readonly int s_propImageCellDescription =
PropertyStore
.CreateKey();
14
private static readonly int s_propImageCellLayout =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (7)
20
private static readonly int s_propLinkCellActiveLinkColor =
PropertyStore
.CreateKey();
21
private static readonly int s_propLinkCellLinkBehavior =
PropertyStore
.CreateKey();
22
private static readonly int s_propLinkCellLinkColor =
PropertyStore
.CreateKey();
23
private static readonly int s_propLinkCellLinkState =
PropertyStore
.CreateKey();
24
private static readonly int s_propLinkCellTrackVisitedState =
PropertyStore
.CreateKey();
25
private static readonly int s_propLinkCellUseColumnTextForLinkValue =
PropertyStore
.CreateKey();
26
private static readonly int s_propLinkCellVisitedLinkColor =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
17
private static readonly int s_propRowErrorText =
PropertyStore
.CreateKey();
18
private static readonly int s_propRowAccessibilityObject =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (2)
14
private static readonly int s_propTextBoxCellMaxInputLength =
PropertyStore
.CreateKey();
15
private static readonly int s_propTextBoxCellEditingTextBox =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\Labels\Label.cs (5)
38
private static readonly int s_propImageList =
PropertyStore
.CreateKey();
39
private static readonly int s_propImage =
PropertyStore
.CreateKey();
41
private static readonly int s_propTextAlign =
PropertyStore
.CreateKey();
42
private static readonly int s_propImageAlign =
PropertyStore
.CreateKey();
43
private static readonly int s_propImageIndex =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\ListView\ListView.cs (1)
144
private static readonly int s_propDelayedUpdateItems =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
87
private static readonly int s_propBindingContext =
PropertyStore
.CreateKey();
88
private static readonly int s_propTextDirection =
PropertyStore
.CreateKey();
89
private static readonly int s_propToolTip =
PropertyStore
.CreateKey();
90
private static readonly int s_propToolStripPanelCell =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
27
private static readonly int s_propOpacity =
PropertyStore
.CreateKey();
28
private static readonly int s_propSourceControl =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (22)
30
private
PropertyStore
? _propertyStore;
96
private static readonly int s_nameProperty =
PropertyStore
.CreateKey();
97
private static readonly int s_textProperty =
PropertyStore
.CreateKey();
98
private static readonly int s_backColorProperty =
PropertyStore
.CreateKey();
99
private static readonly int s_foreColorProperty =
PropertyStore
.CreateKey();
101
private static readonly int s_imageProperty =
PropertyStore
.CreateKey();
102
private static readonly int s_fontProperty =
PropertyStore
.CreateKey();
103
private static readonly int s_rightToLeftProperty =
PropertyStore
.CreateKey();
104
private static readonly int s_tagProperty =
PropertyStore
.CreateKey();
106
private static readonly int s_accessibilityProperty =
PropertyStore
.CreateKey();
107
private static readonly int s_accessibleNameProperty =
PropertyStore
.CreateKey();
108
private static readonly int s_accessibleRoleProperty =
PropertyStore
.CreateKey();
110
private static readonly int s_accessibleDefaultActionDescriptionProperty =
PropertyStore
.CreateKey();
111
private static readonly int s_accessibleDescriptionProperty =
PropertyStore
.CreateKey();
112
private static readonly int s_textDirectionProperty =
PropertyStore
.CreateKey();
113
private static readonly int s_mirroredImageProperty =
PropertyStore
.CreateKey();
115
private static readonly int s_backgroundImageProperty =
PropertyStore
.CreateKey();
116
private static readonly int s_backgroundImageLayoutProperty =
PropertyStore
.CreateKey();
118
private static readonly int s_mergeActionProperty =
PropertyStore
.CreateKey();
119
private static readonly int s_mergeIndexProperty =
PropertyStore
.CreateKey();
980
PropertyStore
IArrangedElement.Properties => Properties;
1587
internal
PropertyStore
Properties => _propertyStore ??= new PropertyStore();
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
24
private static readonly int s_propShortcutKeys =
PropertyStore
.CreateKey();
25
private static readonly int s_propCheckState =
PropertyStore
.CreateKey();
26
private static readonly int s_propMdiForm =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflow.cs (1)
70
PropertyStore
IArrangedElement.Properties
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
21
private static readonly int s_propToolStripPanelRowCollection =
PropertyStore
.CreateKey();
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (3)
31
private static readonly int s_propControlsCollection =
PropertyStore
.CreateKey();
234
internal
PropertyStore
Properties { get; } = new();
662
PropertyStore
IArrangedElement.Properties
System\Windows\Forms\Form.cs (23)
111
private static readonly int s_propAcceptButton =
PropertyStore
.CreateKey();
112
private static readonly int s_propCancelButton =
PropertyStore
.CreateKey();
113
private static readonly int s_propDefaultButton =
PropertyStore
.CreateKey();
114
private static readonly int s_propDialogOwner =
PropertyStore
.CreateKey();
116
private static readonly int s_propOwner =
PropertyStore
.CreateKey();
117
private static readonly int s_propOwnedForms =
PropertyStore
.CreateKey();
118
private static readonly int s_propMaximizedBounds =
PropertyStore
.CreateKey();
120
private static readonly int s_propMinTrackSize =
PropertyStore
.CreateKey();
121
private static readonly int s_propMaxTrackSize =
PropertyStore
.CreateKey();
123
private static readonly int s_propFormMdiParent =
PropertyStore
.CreateKey();
124
private static readonly int s_propActiveMdiChild =
PropertyStore
.CreateKey();
125
private static readonly int s_propFormerlyActiveMdiChild =
PropertyStore
.CreateKey();
126
private static readonly int s_propMdiChildFocusable =
PropertyStore
.CreateKey();
128
private static readonly int s_propDummyMdiMenu =
PropertyStore
.CreateKey();
129
private static readonly int s_propMainMenuStrip =
PropertyStore
.CreateKey();
130
private static readonly int s_propMdiWindowListStrip =
PropertyStore
.CreateKey();
131
private static readonly int s_propMdiControlStrip =
PropertyStore
.CreateKey();
133
private static readonly int s_propOpacity =
PropertyStore
.CreateKey();
134
private static readonly int s_propTransparencyKey =
PropertyStore
.CreateKey();
135
private static readonly int s_propFormCornerPreference =
PropertyStore
.CreateKey();
136
private static readonly int s_propFormBorderColor =
PropertyStore
.CreateKey();
138
private static readonly int s_propFormCaptionTextColor =
PropertyStore
.CreateKey();
139
private static readonly int s_propFormCaptionBackColor =
PropertyStore
.CreateKey();
System\Windows\Forms\Layout\ArrangedElement.cs (3)
16
private readonly
PropertyStore
_propertyStore = new(); // Contains all properties that are not always set.
113
PropertyStore
IArrangedElement.Properties
121
private
PropertyStore
Properties
System\Windows\Forms\Layout\CommonProperties.cs (8)
16
private static readonly int s_layoutStateProperty =
PropertyStore
.CreateKey();
17
private static readonly int s_specifiedBoundsProperty =
PropertyStore
.CreateKey();
18
private static readonly int s_preferredSizeCacheProperty =
PropertyStore
.CreateKey();
19
private static readonly int s_paddingProperty =
PropertyStore
.CreateKey();
21
private static readonly int s_marginProperty =
PropertyStore
.CreateKey();
22
private static readonly int s_minimumSizeProperty =
PropertyStore
.CreateKey();
23
private static readonly int s_maximumSizeProperty =
PropertyStore
.CreateKey();
24
private static readonly int s_layoutBoundsProperty =
PropertyStore
.CreateKey();
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
75
private static readonly int s_propAxContainer =
PropertyStore
.CreateKey();
System\Windows\Forms\Layout\DefaultLayout.cs (2)
16
private static readonly int s_layoutInfoProperty =
PropertyStore
.CreateKey();
17
private static readonly int s_cachedBoundsProperty =
PropertyStore
.CreateKey();
System\Windows\Forms\Layout\FlowLayout.cs (2)
12
private static readonly int s_wrapContentsProperty =
PropertyStore
.CreateKey();
13
private static readonly int s_flowDirectionProperty =
PropertyStore
.CreateKey();
System\Windows\Forms\Layout\IArrangedElement.cs (1)
48
PropertyStore
Properties { get; }
System\Windows\Forms\Layout\TableLayout.cs (2)
39
private static readonly int s_containerInfoProperty =
PropertyStore
.CreateKey();
40
private static readonly int s_layoutInfoProperty =
PropertyStore
.CreateKey();
System\Windows\Forms\PropertyStore.cs (1)
24
/// Returns <see langword="true"/> if the current key has a value in the <see cref="
PropertyStore
"/>.