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