184 references to SetObject
System.Windows.Forms (184)
winforms\Managed\System\WinForms\ComboBox.cs (2)
792Properties.SetObject(PropMatchingText, value); 5898Properties.SetObject(PropFlatComboAdapter, comboAdapter);
winforms\Managed\System\WinForms\ContainerControl.cs (1)
628Properties.SetObject(PropAxContainer, aXContainer);
winforms\Managed\System\WinForms\Control.cs (34)
620Properties.SetObject(PropAccessibility, accessibleObject); 637Properties.SetObject(PropNcAccessibility, ncAccessibleObject); 699Properties.SetObject(PropAccessibleDefaultActionDescription, value); 718Properties.SetObject(PropAccessibleDescription, value); 738Properties.SetObject(PropAccessibleName, value); 847Properties.SetObject(PropActiveXImpl, activeXImpl); 913Properties.SetObject(PropAmbientPropertiesService, props); 1001Properties.SetObject(PropAutoScrollOffset, value); 1065Properties.SetObject(PropBackBrush, backBrush); 1159Properties.SetObject(PropBackgroundImage, value); 1214Properties.SetObject(PropBackgroundImageLayout, value); 1302Properties.SetObject(PropBindingManager, newContext); 1558Properties.SetObject(PropCacheTextField, text); 1714Properties.SetObject(PropContextMenu, value); 1769Properties.SetObject(PropContextMenuStrip, value); 1809Properties.SetObject(PropControlsCollection, controlsCollection); 2077Properties.SetObject(PropCursor, value); 2134Properties.SetObject(PropBindings, bindings); 2314Properties.SetObject(PropFontHandleWrapper, null); 2547Properties.SetObject(PropFont, value); 2588Properties.SetObject(PropFont, newFont); 2623Properties.SetObject(PropFontHandleWrapper, fontHandle); 2645Properties.SetObject(PropCurrentAmbientFont, ambient.Font); 2652Properties.SetObject(PropFontHandleWrapper, fontHandle); 3412Properties.SetObject(PropName, null); 3415Properties.SetObject(PropName, value); 3574Properties.SetObject(PropRegion, value); 3858Properties.SetObject(PropAmbientPropertiesService, newAmbients); 4023Properties.SetObject(PropUserData, value); 4358Properties.SetObject(PropControlVersionInfo, info); 6002Properties.SetObject(PropBackBrush, null); 6050Properties.SetObject(PropControlsCollection, null); 7974Properties.SetObject(PropBackBrush, null); 8878Properties.SetObject(PropBackBrush, null);
winforms\Managed\System\WinForms\DataGridViewBand.cs (8)
106this.Properties.SetObject(PropContextMenuStrip, value); 133this.Properties.SetObject(PropDefaultCellStyle, dgvcs); 152this.Properties.SetObject(PropDefaultCellStyle, value); 191this.Properties.SetObject(PropDefaultHeaderCellType, value); 357this.Properties.SetObject(PropHeaderCell, headerCell); 365this.Properties.SetObject(PropHeaderCell, headerCell); 431this.Properties.SetObject(PropHeaderCell, value); 755Properties.SetObject(PropUserData, value);
winforms\Managed\System\WinForms\DataGridViewCell.cs (10)
113this.Properties.SetObject(PropCellAccessibilityObject, result); 180this.Properties.SetObject(PropCellContextMenuStrip, value); 330this.Properties.SetObject(PropCellErrorText, value); 807this.Properties.SetObject(PropCellStyle, dgvcs); 825this.Properties.SetObject(PropCellStyle, value); 855this.Properties.SetObject(PropCellTag, value); 889this.Properties.SetObject(PropCellToolTipText, value); 936this.Properties.SetObject(PropCellValueType, value); 4630this.Properties.SetObject(PropCellValue, value); 4671this.Properties.SetObject(PropCellValue, value);
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (6)
198this.Properties.SetObject(PropDataSourceNullValue, value); 224this.Properties.SetObject(PropFont, value); 285this.Properties.SetObject(PropFormat, value); 316this.Properties.SetObject(PropFormatProvider, value); 406this.Properties.SetObject(PropNullValue, value); 547Properties.SetObject(PropTag, value);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (6)
247this.Properties.SetObject(PropFalseValue, value); 269this.Properties.SetObject(PropFalseValue, value); 343this.Properties.SetObject(PropIndeterminateValue, value); 365this.Properties.SetObject(PropIndeterminateValue, value); 428this.Properties.SetObject(PropTrueValue, value); 450this.Properties.SetObject(PropTrueValue, value);
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
1058this.Properties.SetObject(PropDataGridViewColumnValueType, value);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1208this.Properties.SetObject(PropCellValue, value);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (9)
164this.Properties.SetObject(PropComboBoxCellDataManager, value); 191this.Properties.SetObject(PropComboBoxCellDataSource, value); 285this.Properties.SetObject(PropComboBoxCellDisplayMember, value); 300this.Properties.SetObject(PropComboBoxCellDisplayMemberProp, value); 470this.Properties.SetObject(PropComboBoxCellEditingComboBox, value); 643this.Properties.SetObject(PropComboBoxCellColumnTemplate, value); 686this.Properties.SetObject(PropComboBoxCellValueMember, value); 701this.Properties.SetObject(PropComboBoxCellValueMemberProp, value); 1290this.Properties.SetObject(PropComboBoxCellItems, items);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (2)
120this.Properties.SetObject(PropFlipXPThemesBitmap, value); 249this.Properties.SetObject(PropValueType, value);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
90this.Properties.SetObject(PropImageCellDescription, value);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (6)
81this.Properties.SetObject(PropLinkCellActiveLinkColor, value); 103this.Properties.SetObject(PropLinkCellActiveLinkColor, value); 214this.Properties.SetObject(PropLinkCellLinkColor, value); 236this.Properties.SetObject(PropLinkCellLinkColor, value); 418this.Properties.SetObject(PropLinkCellVisitedLinkColor, value); 440this.Properties.SetObject(PropLinkCellVisitedLinkColor, value);
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
63this.Properties.SetObject(PropRowAccessibilityObject, result); 223this.Properties.SetObject(PropRowErrorText, value);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1153this.Properties.SetObject(PropCellValue, value);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
79this.Properties.SetObject(PropTextBoxCellEditingTextBox, value);
winforms\Managed\System\WinForms\Form.cs (40)
352Properties.SetObject(PropAcceptButton, value); 490Properties.SetObject(PropActiveMdiChild, value); 505Properties.SetObject(PropFormerlyActiveMdiChild, value); 537Properties.SetObject(PropOpacity, (object)1.0f); 540Properties.SetObject(PropTransparencyKey, Color.Empty); 927Properties.SetObject(PropCancelButton, value); 1392this.Properties.SetObject(PropMdiChildFocusable, value); 1641Properties.SetObject(PropMainMenuStrip, value); 1701Properties.SetObject(PropMainMenu, value); 1930Properties.SetObject(PropFormMdiParent, value); 1957set { Properties.SetObject(PropMdiWindowListStrip, value); } 1962set { Properties.SetObject(PropMdiControlStrip, value); } 2004Properties.SetObject(PropMergedMenu, mergedMenu); 2087Properties.SetObject(PropOpacity, value); 2173Properties.SetObject(PropOwner, null); 2179Properties.SetObject(PropOwner, value); 2607Properties.SetObject(PropTransparencyKey, value); 3171Properties.SetObject(PropOwnedForms, ownedForms); 3177Properties.SetObject(PropOwnedForms, ownedForms); 3488Properties.SetObject(PropFormMdiParent, null); 3799if (Properties.ContainsObject(PropAcceptButton)) Properties.SetObject(PropAcceptButton, null); 3800if (Properties.ContainsObject(PropCancelButton)) Properties.SetObject(PropCancelButton, null); 3801if (Properties.ContainsObject(PropDefaultButton)) Properties.SetObject(PropDefaultButton, null); 3802if (Properties.ContainsObject(PropActiveMdiChild)) Properties.SetObject(PropActiveMdiChild, null); 3822Properties.SetObject(PropOwner, null); 3850Properties.SetObject(PropMainMenu, null); 3854Properties.SetObject(PropCurMenu, null); 3863Properties.SetObject(PropDummyMenu, null); 3872Properties.SetObject(PropMergedMenu, null); 4524Properties.SetObject(PropMergedMenu, null); 4575ctl.Properties.SetObject(PropMergedMenu, null); 5620Properties.SetObject(PropSecurityTip, null); 5710Properties.SetObject(PropSecurityTip, secTip); 6015Properties.SetObject(PropDefaultButton, button); 6100Properties.SetObject(PropDialogOwner, owner); 6177Properties.SetObject(PropDialogOwner, owner); 6259Properties.SetObject(PropDialogOwner, null); 6481Properties.SetObject(PropCurMenu, null); 6515Properties.SetObject(PropCurMenu, curMenu); 6545Properties.SetObject(PropDummyMenu, dummyMenu);
winforms\Managed\System\WinForms\Label.cs (8)
472Properties.SetObject(PropImage, value); 523Properties.SetObject(PropImage, null); 561Properties.SetObject(PropImage, null); 583Properties.SetObject(PropImageIndex, value); 621Properties.SetObject(PropImage, null); // Image.set calls ImageList = null 624Properties.SetObject(PropImageList, value); 1170Properties.SetObject(PropImageList, null); 1173Properties.SetObject(PropImage, null);
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (3)
773container.Properties.SetObject(_cachedBoundsProperty, null); 781element.Container.Properties.SetObject(_cachedBoundsProperty, dictionary); 792element.Properties.SetObject(_layoutInfoProperty, value);
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
1317element.Properties.SetObject(_layoutInfoProperty, value); 1449container.Properties.SetObject(_containerInfoProperty, containerInfo);
winforms\Managed\System\WinForms\ListView.cs (2)
2219Properties.SetObject(PropDelayedUpdateItems, null); 2297Properties.SetObject(PropDelayedUpdateItems, new ArrayList());
winforms\Managed\System\WinForms\PropertyStore.cs (8)
623SetObject(key, new ColorWrapper(value)); 633SetObject(key, new ColorWrapper(value)); 643SetObject(key, new PaddingWrapper(value)); 653SetObject(key, new PaddingWrapper(value)); 664SetObject(key, new RectangleWrapper(value)); 674SetObject(key, new RectangleWrapper(value)); 686SetObject(key, new SizeWrapper(value)); 696SetObject(key, new SizeWrapper(value));
winforms\Managed\System\WinForms\ToolStrip.cs (4)
492this.Properties.SetObject(PropBindingContext, value); 1591Properties.SetObject(ToolStrip.PropToolStripPanelCell, toolStripPanelCell); 1856Properties.SetObject(ToolStrip.PropToolTip,toolTip ); 1889Properties.SetObject(ToolStrip.PropTextDirection, value);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
167Properties.SetObject(PropOpacity, (object)1.0f); 765Properties.SetObject(PropOpacity, value); 940Properties.SetObject(PropSourceControl, value);
winforms\Managed\System\WinForms\ToolStripItem.cs (19)
230Properties.SetObject(PropAccessibility, accessibleObject); 253Properties.SetObject(PropAccessibleDefaultActionDescription, value); 272Properties.SetObject(PropAccessibleDescription, value); 293Properties.SetObject(PropAccessibleName, value); 486Properties.SetObject(PropBackgroundImage, value); 527Properties.SetObject(PropBackgroundImageLayout, value); 1081Properties.SetObject(PropFont, value); 1250Properties.SetObject(PropImage, image); 1272Properties.SetObject(PropImage, value); 1337Properties.SetObject(PropImage, null); 1375Properties.SetObject(PropImage, null); 1718Properties.SetObject(ToolStripItem.PropName, value); 2103Properties.SetObject(PropMirroredImage, mirroredImage); 2251Properties.SetObject(ToolStripItem.PropTag, value); 2273Properties.SetObject(ToolStripItem.PropText, value); 2351Properties.SetObject(ToolStripItem.PropTextDirection, value); 2546Properties.SetObject(PropMirroredImage, null); 2547Properties.SetObject(PropImage, null); 2775Properties.SetObject(PropImage, null);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
101Properties.SetObject(PropMdiForm,mdiForm); 694Properties.SetObject(PropMdiForm,null);
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
324Properties.SetObject(PropToolStripPanelRowCollection, rowCollection);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
113Properties.SetObject(PropControlsCollection, controlsCollection);