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)
434
Properties.
AddValue
(s_accessibilityProperty, accessibleObject);
453
Properties.
AddValue
(s_ncAccessibilityProperty, ncAccessibleObject);
576
Properties.
AddValue
(s_ambientPropertiesServiceProperty, ambientProperties);
753
Properties.
AddValue
(s_dataContextProperty, value);
1535
bindings = Properties.
AddValue
(s_bindingsProperty, new ControlBindingsCollection(this));
1848
Properties.
AddValue
(s_fontHeightProperty, (value is null) ? -1 : value.Height);
1923
fontHandle = Properties.
AddValue
(s_fontHandleWrapperProperty, new FontHandleWrapper(font));
1944
Properties.
AddValue
(s_currentAmbientFontProperty, ambientFont);
1947
fontHandle ??= Properties.
AddValue
(s_fontHandleWrapperProperty, new FontHandleWrapper(ambientFont));
1968
return Properties.
AddValue
(s_fontHeightProperty, font.Height);
1983
Properties.
AddValue
(s_fontHeightProperty, localFontHeight);
1988
set => Properties.
AddValue
(s_fontHeightProperty, value);
2872
Properties.
AddValue
(s_rightToLeftProperty, value);
2921
Properties.
AddValue
(s_fontHeightProperty, (value is null) ? -1 : value.Height);
2973
Properties.
AddValue
(s_ambientPropertiesServiceProperty, newAmbients);
3395
Properties.
AddValue
(s_useCompatibleTextRenderingProperty, value);
3422
Properties.
AddValue
(s_controlVersionInfoProperty, info);
6767
Properties.
AddValue
(s_fontHeightProperty, -1);
10671
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);
3850
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)
2351
Properties.
AddValue
(s_propDelayedUpdateItems, new List<ListViewItem>());
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1407
toolStripPanelCell = Properties.
AddValue
(s_propToolStripPanelCell, new ToolStripPanelCell(this));
1682
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);
1680
Properties.
AddValue
(s_rightToLeftProperty, value);
1728
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)
193
element.Properties.
AddValue
(s_marginProperty, value);
208
element.Properties.
AddValue
(s_maximumSizeProperty, value);
230
element.Properties.
AddValue
(s_minimumSizeProperty, value);
259
element.Properties.
AddValue
(s_paddingProperty, value);
324
element.Properties.
AddValue
(s_specifiedBoundsProperty, originalBounds);
333
element.Properties.
AddValue
(s_specifiedBoundsProperty, LayoutUtils.s_maxRectangle);
342
element.Properties.
AddValue
(s_specifiedBoundsProperty, bounds);
352
element.Properties.
AddValue
(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize);
398
element.Properties.
AddValue
(s_preferredSizeCacheProperty, value);
704
element.Properties.
AddValue
(s_layoutBoundsProperty, value);
731
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)
286
container.Properties.
AddValue
(s_wrapContentsProperty, value);
298
container.Properties.
AddValue
(s_flowDirectionProperty, value);
System\Windows\Forms\Layout\TableLayout.cs (1)
1380
containerInfo = container.Properties.
AddValue
(s_containerInfoProperty, new ContainerInfo(container));