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