82 references to AddValue
System.Windows.Forms (82)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
94activeXImpl = Properties.AddValue(s_activeXImplProperty, new ActiveXImpl(this));
System\Windows\Forms\Control.cs (19)
434Properties.AddValue(s_accessibilityProperty, accessibleObject); 453Properties.AddValue(s_ncAccessibilityProperty, ncAccessibleObject); 576Properties.AddValue(s_ambientPropertiesServiceProperty, ambientProperties); 753Properties.AddValue(s_dataContextProperty, value); 1535bindings = Properties.AddValue(s_bindingsProperty, new ControlBindingsCollection(this)); 1848Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 1923fontHandle = Properties.AddValue(s_fontHandleWrapperProperty, new FontHandleWrapper(font)); 1944Properties.AddValue(s_currentAmbientFontProperty, ambientFont); 1947fontHandle ??= Properties.AddValue(s_fontHandleWrapperProperty, new FontHandleWrapper(ambientFont)); 1968return Properties.AddValue(s_fontHeightProperty, font.Height); 1983Properties.AddValue(s_fontHeightProperty, localFontHeight); 1988set => Properties.AddValue(s_fontHeightProperty, value); 2872Properties.AddValue(s_rightToLeftProperty, value); 2921Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 2973Properties.AddValue(s_ambientPropertiesServiceProperty, newAmbients); 3395Properties.AddValue(s_useCompatibleTextRenderingProperty, value); 3422Properties.AddValue(s_controlVersionInfoProperty, info); 6767Properties.AddValue(s_fontHeightProperty, -1); 10671Properties.AddValue(s_fontHeightProperty, scaledFont.Height);
System\Windows\Forms\Control.Ime.cs (4)
63Properties.AddValue(s_imeModeProperty, value); 114set => Properties.AddValue(s_disableImeModeChangedCountProperty, value); 238Properties.AddValue(s_imeWmCharsToIgnoreProperty, value); 627Properties.AddValue(s_imeWmCharsToIgnoreProperty, ImeCharsToIgnoreEnabled);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
438Properties.AddValue(s_propDropDownWidth, value); 464Properties.AddValue(s_propDropDownHeight, value); 601Properties.AddValue(s_propItemHeight, value); 695Properties.AddValue(s_propMaxLength, value); 3850Properties.AddValue(s_propFlatComboAdapter, comboAdapter);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2952toolTip = Properties.AddValue(
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (4)
89Properties.AddValue(s_propDefaultCellStyle, style); 181Properties.AddValue(s_propDividerThickness, value); 241Properties.AddValue(s_propHeaderCell, headerCell); 249Properties.AddValue(s_propHeaderCell, headerCell);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (3)
79Properties.AddValue(s_propButtonCellFlatStyle, value); 96Properties.AddValue(s_propButtonCellUseColumnTextForButtonValue, value); 108Properties.AddValue(s_propButtonCellUseColumnTextForButtonValue, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
92Properties.AddValue(s_propCellAccessibilityObject, result); 626Properties.AddValue(s_propCellStyle, dataGridViewCellStyle);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (1)
296Properties.AddValue(s_propPadding, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
1193Properties.AddValue(s_propCellValue, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1092Properties.AddValue(s_propComboBoxCellItems, items);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (7)
65Properties.AddValue(s_propLinkCellActiveLinkColor, value); 87Properties.AddValue(s_propLinkCellActiveLinkColor, value); 173Properties.AddValue(s_propLinkCellLinkColor, value); 195Properties.AddValue(s_propLinkCellLinkColor, value); 277Properties.AddValue(s_propLinkCellUseColumnTextForLinkValue, value); 313Properties.AddValue(s_propLinkCellVisitedLinkColor, value); 334Properties.AddValue(s_propLinkCellVisitedLinkColor, value);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
44Properties.AddValue(s_propRowAccessibilityObject, result);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2351Properties.AddValue(s_propDelayedUpdateItems, new List<ListViewItem>());
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1407toolStripPanelCell = Properties.AddValue(s_propToolStripPanelCell, new ToolStripPanelCell(this)); 1682toolTip = Properties.AddValue(s_propToolTip, new ToolTip());
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
197accessibleObject = Properties.AddValue(s_accessibilityProperty, CreateAccessibilityInstance()); 1034Properties.AddValue(s_imageProperty, image); 1680Properties.AddValue(s_rightToLeftProperty, value); 1728Properties.AddValue(s_mirroredImageProperty, mirroredImage);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
276rowCollection = Properties.AddValue(s_propToolStripPanelRowCollection, CreateToolStripPanelRowCollection());
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
94controlsCollection = Properties.AddValue(s_propControlsCollection, CreateControlsInstance());
System\Windows\Forms\Form.cs (7)
377Properties.AddValue(s_propTransparencyKey, Color.Empty); 1167Properties.AddValue(s_propMaximizedBounds, value); 1210Properties.AddValue(s_propMaxTrackSize, value); 1231Properties.AddValue(s_propMinTrackSize, minimumSize); 1327Properties.AddValue(s_propMinTrackSize, value); 1348Properties.AddValue(s_propMaxTrackSize, maximumSize); 2834Properties.AddValue(s_propOwnedForms, ownedForms);
System\Windows\Forms\Layout\CommonProperties.cs (11)
193element.Properties.AddValue(s_marginProperty, value); 208element.Properties.AddValue(s_maximumSizeProperty, value); 230element.Properties.AddValue(s_minimumSizeProperty, value); 259element.Properties.AddValue(s_paddingProperty, value); 324element.Properties.AddValue(s_specifiedBoundsProperty, originalBounds); 333element.Properties.AddValue(s_specifiedBoundsProperty, LayoutUtils.s_maxRectangle); 342element.Properties.AddValue(s_specifiedBoundsProperty, bounds); 352element.Properties.AddValue(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize); 398element.Properties.AddValue(s_preferredSizeCacheProperty, value); 704element.Properties.AddValue(s_layoutBoundsProperty, value); 731element.Properties.AddValue(s_layoutStateProperty, state);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
589container = Properties.AddValue(s_propAxContainer, new AxHost.AxContainer(this));
System\Windows\Forms\Layout\DefaultLayout.cs (1)
1078dictionary = container.Properties.AddValue(s_cachedBoundsProperty, new HybridDictionary());
System\Windows\Forms\Layout\FlowLayout.cs (2)
286container.Properties.AddValue(s_wrapContentsProperty, value); 298container.Properties.AddValue(s_flowDirectionProperty, value);
System\Windows\Forms\Layout\TableLayout.cs (1)
1380containerInfo = container.Properties.AddValue(s_containerInfoProperty, new ContainerInfo(container));