96 references to ContainsObject
System.Windows.Forms (96)
winforms\Managed\System\WinForms\ComboBox.cs (1)
791if (value != null || this.Properties.ContainsObject(PropMatchingText)) {
winforms\Managed\System\WinForms\Control.cs (10)
994if (Properties.ContainsObject(PropAutoScrollOffset)) { 1038if (!Properties.ContainsObject(PropBackColor)) { 1119if (!value.IsEmpty || Properties.ContainsObject(PropBackColor)) { 1191bool found = Properties.ContainsObject(PropBackgroundImageLayout); 2309if (Properties.ContainsObject(PropFontHandleWrapper)) { 2743if (!value.IsEmpty || Properties.ContainsObject(PropForeColor)) { 3832bool checkFont = !Properties.ContainsObject(PropFont); 3833bool checkBackColor = !Properties.ContainsObject(PropBackColor); 3834bool checkForeColor = !Properties.ContainsObject(PropForeColor); 3835bool checkCursor = !Properties.ContainsObject(PropCursor);
winforms\Managed\System\WinForms\DataGridViewBand.cs (7)
145if (value != null || this.Properties.ContainsObject(PropDefaultCellStyle)) 187if (value != null || this.Properties.ContainsObject(PropDefaultHeaderCellType)) 318return this.Properties.ContainsObject(PropDefaultCellStyle) && this.Properties.GetObject(PropDefaultCellStyle) != null; 326return this.Properties.ContainsObject(PropDefaultHeaderCellType) && this.Properties.GetObject(PropDefaultHeaderCellType) != null; 334return this.Properties.ContainsObject(PropHeaderCell) && this.Properties.GetObject(PropHeaderCell) != null; 379if (value != null || this.Properties.ContainsObject(PropHeaderCell)) 753if (value != null || this.Properties.ContainsObject(PropUserData))
winforms\Managed\System\WinForms\DataGridViewCell.cs (12)
328if (!string.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropCellErrorText)) 416return this.Properties.ContainsObject(PropCellErrorText) && this.Properties.GetObject(PropCellErrorText) != null; 428return this.Properties.ContainsObject(PropCellStyle) && this.Properties.GetObject(PropCellStyle) != null; 436return this.Properties.ContainsObject(PropCellToolTipText) && this.Properties.GetObject(PropCellToolTipText) != null; 444return this.Properties.ContainsObject(PropCellValue) && this.Properties.GetObject(PropCellValue) != null; 452return this.Properties.ContainsObject(PropCellValueType) && this.Properties.GetObject(PropCellValueType) != null; 819if (value != null || this.Properties.ContainsObject(PropCellStyle)) 853if (value != null || this.Properties.ContainsObject(PropCellTag)) 887if (!String.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropCellToolTipText)) 934if (value != null || this.Properties.ContainsObject(PropCellValueType)) 4628if (value != null || this.Properties.ContainsObject(PropCellValue)) 4669if (value != null || this.Properties.ContainsObject(PropCellValue))
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (13)
154if (!value.IsEmpty || this.Properties.ContainsObject(PropBackColor)) 175if (this.Properties.ContainsObject(PropDataSourceNullValue)) 192this.Properties.ContainsObject(PropDataSourceNullValue)) 222if (value != null || this.Properties.ContainsObject(PropFont)) 248if (!value.IsEmpty || this.Properties.ContainsObject(PropForeColor)) 283if ((value != null && value.Length > 0) || this.Properties.ContainsObject(PropFormat)) 333if (!this.Properties.ContainsObject(PropDataSourceNullValue)) 363if (!this.Properties.ContainsObject(PropNullValue)) 382if (this.Properties.ContainsObject(PropNullValue)) 400this.Properties.ContainsObject(PropNullValue)) 497if (!value.IsEmpty || this.Properties.ContainsObject(PropSelectionBackColor)) 521if (!value.IsEmpty || this.Properties.ContainsObject(PropSelectionForeColor)) 545if (value != null || this.Properties.ContainsObject(PropTag))
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (6)
245if (value != null || this.Properties.ContainsObject(PropFalseValue)) 267if (value != null || this.Properties.ContainsObject(PropFalseValue)) 341if (value != null || this.Properties.ContainsObject(PropIndeterminateValue)) 363if (value != null || this.Properties.ContainsObject(PropIndeterminateValue)) 426if (value != null || this.Properties.ContainsObject(PropTrueValue)) 448if (value != null || this.Properties.ContainsObject(PropTrueValue))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
67return this.Properties.ContainsObject(PropCellValue);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (7)
162if (value != null || this.Properties.ContainsObject(PropComboBoxCellDataManager)) 283if ((value != null && value.Length > 0) || this.Properties.ContainsObject(PropComboBoxCellDisplayMember)) 298if (value != null || this.Properties.ContainsObject(PropComboBoxCellDisplayMemberProp)) 468if (value != null || this.Properties.ContainsObject(PropComboBoxCellEditingComboBox)) 538return this.Properties.ContainsObject(PropComboBoxCellItems) && this.Properties.GetObject(PropComboBoxCellItems) != null; 684if ((value != null && value.Length > 0) || this.Properties.ContainsObject(PropComboBoxCellValueMember)) 699if (value != null || this.Properties.ContainsObject(PropComboBoxCellValueMemberProp))
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (3)
118if (value != null || this.Properties.ContainsObject(PropFlipXPThemesBitmap)) 169return this.Properties.ContainsObject(PropValueType) && this.Properties.GetObject(PropValueType) != null; 247if (value != null || this.Properties.ContainsObject(PropValueType))
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
88if (!string.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropImageCellDescription))
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (6)
63if (this.Properties.ContainsObject(PropLinkCellActiveLinkColor)) 196if (this.Properties.ContainsObject(PropLinkCellLinkColor)) 400if (this.Properties.ContainsObject(PropLinkCellVisitedLinkColor)) 498if (this.Properties.ContainsObject(PropLinkCellActiveLinkColor)) 513if (this.Properties.ContainsObject(PropLinkCellLinkColor)) 523if (this.Properties.ContainsObject(PropLinkCellVisitedLinkColor))
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
221if (!string.IsNullOrEmpty(value) || this.Properties.ContainsObject(PropRowErrorText)) 260return this.Properties.ContainsObject(PropRowErrorText) && this.Properties.GetObject(PropRowErrorText) != null;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1151if (value != null || this.Properties.ContainsObject(PropCellValue))
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
77if (value != null || this.Properties.ContainsObject(PropTextBoxCellEditingTextBox))
winforms\Managed\System\WinForms\Form.cs (10)
536if (Properties.ContainsObject(PropOpacity)) { 539if (Properties.ContainsObject(PropTransparencyKey)) { 1385if (this.Properties.ContainsObject(PropMdiChildFocusable)) { 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); 4519if (Properties.ContainsObject(PropMergedMenu)) { 4570if (ctl is Form && ctl.Properties.ContainsObject(PropMergedMenu)) { 6514if (curMenu != null || Properties.ContainsObject(PropCurMenu)) {
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (2)
79if (element.Properties.ContainsObject(_maximumSizeProperty)) { 297if(element.Properties.ContainsObject(_specifiedBoundsProperty)) {
winforms\Managed\System\WinForms\ToolStrip.cs (3)
1586if (Properties.ContainsObject(ToolStrip.PropToolStripPanelCell)) { 1854if (!Properties.ContainsObject(ToolStrip.PropToolTip)) { 1874if (Properties.ContainsObject(ToolStrip.PropTextDirection)) {
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
166if (Properties.ContainsObject(PropOpacity)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (8)
512bool found = Properties.ContainsObject(PropBackgroundImageLayout); 555if (!value.IsEmpty || Properties.ContainsObject(PropBackColor)) { 1028if (!value.IsEmpty || Properties.ContainsObject(PropForeColor)) { 2244if (Properties.ContainsObject(ToolStripItem.PropTag)) { 2265if (Properties.ContainsObject(ToolStripItem.PropText)) { 2329if (Properties.ContainsObject(ToolStripItem.PropTextDirection)) { 3356if (Properties.ContainsObject(ToolStripItem.PropTextDirection)) { 3754if (Properties.ContainsObject(ToolStripItem.PropTextDirection)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
600if (Properties.ContainsObject(PropMdiForm)) {