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