82 references to AddValue
System.Windows.Forms (82)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
94
activeXImpl = Properties.
AddValue
(s_activeXImplProperty, new ActiveXImpl(this));
System\Windows\Forms\Control.cs (19)
435
Properties.
AddValue
(s_accessibilityProperty, accessibleObject);
454
Properties.
AddValue
(s_ncAccessibilityProperty, ncAccessibleObject);
577
Properties.
AddValue
(s_ambientPropertiesServiceProperty, ambientProperties);
754
Properties.
AddValue
(s_dataContextProperty, value);
1536
bindings = Properties.
AddValue
(s_bindingsProperty, new ControlBindingsCollection(this));
1849
Properties.
AddValue
(s_fontHeightProperty, (value is null) ? -1 : value.Height);
1924
fontHandle = Properties.
AddValue
(s_fontHandleWrapperProperty, new FontHandleWrapper(font));
1945
Properties.
AddValue
(s_currentAmbientFontProperty, ambientFont);
1948
fontHandle ??= Properties.
AddValue
(s_fontHandleWrapperProperty, new FontHandleWrapper(ambientFont));
1969
return Properties.
AddValue
(s_fontHeightProperty, font.Height);
1984
Properties.
AddValue
(s_fontHeightProperty, localFontHeight);
1989
set => Properties.
AddValue
(s_fontHeightProperty, value);
2873
Properties.
AddValue
(s_rightToLeftProperty, value);
2922
Properties.
AddValue
(s_fontHeightProperty, (value is null) ? -1 : value.Height);
2974
Properties.
AddValue
(s_ambientPropertiesServiceProperty, newAmbients);
3396
Properties.
AddValue
(s_useCompatibleTextRenderingProperty, value);
3423
Properties.
AddValue
(s_controlVersionInfoProperty, info);
6808
Properties.
AddValue
(s_fontHeightProperty, -1);
10704
Properties.
AddValue
(s_fontHeightProperty, scaledFont.Height);
System\Windows\Forms\Control.Ime.cs (4)
63
Properties.
AddValue
(s_imeModeProperty, value);
114
set => Properties.
AddValue
(s_disableImeModeChangedCountProperty, value);
238
Properties.
AddValue
(s_imeWmCharsToIgnoreProperty, value);
627
Properties.
AddValue
(s_imeWmCharsToIgnoreProperty, ImeCharsToIgnoreEnabled);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
438
Properties.
AddValue
(s_propDropDownWidth, value);
464
Properties.
AddValue
(s_propDropDownHeight, value);
601
Properties.
AddValue
(s_propItemHeight, value);
695
Properties.
AddValue
(s_propMaxLength, value);
3851
Properties.
AddValue
(s_propFlatComboAdapter, comboAdapter);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2952
toolTip = Properties.
AddValue
(
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (4)
89
Properties.
AddValue
(s_propDefaultCellStyle, style);
181
Properties.
AddValue
(s_propDividerThickness, value);
241
Properties.
AddValue
(s_propHeaderCell, headerCell);
249
Properties.
AddValue
(s_propHeaderCell, headerCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (3)
79
Properties.
AddValue
(s_propButtonCellFlatStyle, value);
96
Properties.
AddValue
(s_propButtonCellUseColumnTextForButtonValue, value);
108
Properties.
AddValue
(s_propButtonCellUseColumnTextForButtonValue, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
92
Properties.
AddValue
(s_propCellAccessibilityObject, result);
626
Properties.
AddValue
(s_propCellStyle, dataGridViewCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (1)
296
Properties.
AddValue
(s_propPadding, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
1193
Properties.
AddValue
(s_propCellValue, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1092
Properties.
AddValue
(s_propComboBoxCellItems, items);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (7)
65
Properties.
AddValue
(s_propLinkCellActiveLinkColor, value);
87
Properties.
AddValue
(s_propLinkCellActiveLinkColor, value);
173
Properties.
AddValue
(s_propLinkCellLinkColor, value);
195
Properties.
AddValue
(s_propLinkCellLinkColor, value);
277
Properties.
AddValue
(s_propLinkCellUseColumnTextForLinkValue, value);
313
Properties.
AddValue
(s_propLinkCellVisitedLinkColor, value);
334
Properties.
AddValue
(s_propLinkCellVisitedLinkColor, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
44
Properties.
AddValue
(s_propRowAccessibilityObject, result);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2355
Properties.
AddValue
(s_propDelayedUpdateItems, new List<ListViewItem>());
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1405
toolStripPanelCell = Properties.
AddValue
(s_propToolStripPanelCell, new ToolStripPanelCell(this));
1680
toolTip = Properties.
AddValue
(s_propToolTip, new ToolTip());
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
197
accessibleObject = Properties.
AddValue
(s_accessibilityProperty, CreateAccessibilityInstance());
1034
Properties.
AddValue
(s_imageProperty, image);
1672
Properties.
AddValue
(s_rightToLeftProperty, value);
1720
Properties.
AddValue
(s_mirroredImageProperty, mirroredImage);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
276
rowCollection = Properties.
AddValue
(s_propToolStripPanelRowCollection, CreateToolStripPanelRowCollection());
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
94
controlsCollection = Properties.
AddValue
(s_propControlsCollection, CreateControlsInstance());
System\Windows\Forms\Form.cs (7)
377
Properties.
AddValue
(s_propTransparencyKey, Color.Empty);
1167
Properties.
AddValue
(s_propMaximizedBounds, value);
1210
Properties.
AddValue
(s_propMaxTrackSize, value);
1231
Properties.
AddValue
(s_propMinTrackSize, minimumSize);
1327
Properties.
AddValue
(s_propMinTrackSize, value);
1348
Properties.
AddValue
(s_propMaxTrackSize, maximumSize);
2834
Properties.
AddValue
(s_propOwnedForms, ownedForms);
System\Windows\Forms\Layout\CommonProperties.cs (11)
188
element.Properties.
AddValue
(s_marginProperty, value);
203
element.Properties.
AddValue
(s_maximumSizeProperty, value);
225
element.Properties.
AddValue
(s_minimumSizeProperty, value);
254
element.Properties.
AddValue
(s_paddingProperty, value);
319
element.Properties.
AddValue
(s_specifiedBoundsProperty, originalBounds);
328
element.Properties.
AddValue
(s_specifiedBoundsProperty, LayoutUtils.s_maxRectangle);
337
element.Properties.
AddValue
(s_specifiedBoundsProperty, bounds);
347
element.Properties.
AddValue
(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize);
393
element.Properties.
AddValue
(s_preferredSizeCacheProperty, value);
699
element.Properties.
AddValue
(s_layoutBoundsProperty, value);
726
element.Properties.
AddValue
(s_layoutStateProperty, state);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
589
container = Properties.
AddValue
(s_propAxContainer, new AxHost.AxContainer(this));
System\Windows\Forms\Layout\DefaultLayout.cs (1)
1078
dictionary = container.Properties.
AddValue
(s_cachedBoundsProperty, new HybridDictionary());
System\Windows\Forms\Layout\FlowLayout.cs (2)
287
container.Properties.
AddValue
(s_wrapContentsProperty, value);
299
container.Properties.
AddValue
(s_flowDirectionProperty, value);
System\Windows\Forms\Layout\TableLayout.cs (1)
1379
containerInfo = container.Properties.
AddValue
(s_containerInfoProperty, new ContainerInfo(container));