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)
435Properties.AddValue(s_accessibilityProperty, accessibleObject); 454Properties.AddValue(s_ncAccessibilityProperty, ncAccessibleObject); 577Properties.AddValue(s_ambientPropertiesServiceProperty, ambientProperties); 754Properties.AddValue(s_dataContextProperty, value); 1536bindings = Properties.AddValue(s_bindingsProperty, new ControlBindingsCollection(this)); 1849Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 1924fontHandle = Properties.AddValue(s_fontHandleWrapperProperty, new FontHandleWrapper(font)); 1945Properties.AddValue(s_currentAmbientFontProperty, ambientFont); 1948fontHandle ??= Properties.AddValue(s_fontHandleWrapperProperty, new FontHandleWrapper(ambientFont)); 1969return Properties.AddValue(s_fontHeightProperty, font.Height); 1984Properties.AddValue(s_fontHeightProperty, localFontHeight); 1989set => Properties.AddValue(s_fontHeightProperty, value); 2873Properties.AddValue(s_rightToLeftProperty, value); 2922Properties.AddValue(s_fontHeightProperty, (value is null) ? -1 : value.Height); 2974Properties.AddValue(s_ambientPropertiesServiceProperty, newAmbients); 3396Properties.AddValue(s_useCompatibleTextRenderingProperty, value); 3423Properties.AddValue(s_controlVersionInfoProperty, info); 6808Properties.AddValue(s_fontHeightProperty, -1); 10704Properties.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); 3851Properties.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)
2355Properties.AddValue(s_propDelayedUpdateItems, new List<ListViewItem>());
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
1405toolStripPanelCell = Properties.AddValue(s_propToolStripPanelCell, new ToolStripPanelCell(this)); 1680toolTip = 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); 1672Properties.AddValue(s_rightToLeftProperty, value); 1720Properties.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)
188element.Properties.AddValue(s_marginProperty, value); 203element.Properties.AddValue(s_maximumSizeProperty, value); 225element.Properties.AddValue(s_minimumSizeProperty, value); 254element.Properties.AddValue(s_paddingProperty, value); 319element.Properties.AddValue(s_specifiedBoundsProperty, originalBounds); 328element.Properties.AddValue(s_specifiedBoundsProperty, LayoutUtils.s_maxRectangle); 337element.Properties.AddValue(s_specifiedBoundsProperty, bounds); 347element.Properties.AddValue(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize); 393element.Properties.AddValue(s_preferredSizeCacheProperty, value); 699element.Properties.AddValue(s_layoutBoundsProperty, value); 726element.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)
287container.Properties.AddValue(s_wrapContentsProperty, value); 299container.Properties.AddValue(s_flowDirectionProperty, value);
System\Windows\Forms\Layout\TableLayout.cs (1)
1379containerInfo = container.Properties.AddValue(s_containerInfoProperty, new ContainerInfo(container));