1 write to AffectedProperty
System.Windows.Forms (1)
System\Windows\Forms\Layout\LayoutEventArgs.cs (1)
15AffectedProperty = affectedProperty;
709 references to AffectedProperty
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
488LayoutTransaction.DoLayout(draggedControl.ToolStripPanelRow, e.AffectedComponent as IArrangedElement, e.AffectedProperty);
System\Windows\Forms\Layout\TableLayout.cs (1)
69if (ReferenceEquals(args.AffectedProperty, propertyName))
System.Windows.Forms.Tests (706)
System\Windows\Forms\ButtonBaseTests.cs (18)
1150Assert.Equal("FlatStyle", e.AffectedProperty); 1321Assert.Equal("FlatStyle", e.AffectedProperty); 1563Assert.Equal("Image", e.AffectedProperty); 1738Assert.Equal("Image", e.AffectedProperty); 1898Assert.Equal("ImageAlign", e.AffectedProperty); 2010Assert.Equal("ImageAlign", e.AffectedProperty); 3088Assert.Equal("Text", e.AffectedProperty); 3191Assert.Equal("Text", e.AffectedProperty); 3329Assert.Equal("TextAlign", e.AffectedProperty); 3453Assert.Equal("TextAlign", e.AffectedProperty); 3562Assert.Equal("TextImageRelation", e.AffectedProperty); 3679Assert.Equal("TextImageRelation", e.AffectedProperty); 3772Assert.Equal("UseCompatibleTextRendering", e.AffectedProperty); 3876Assert.Equal("UseCompatibleTextRendering", e.AffectedProperty); 3982Assert.Equal("Text", e.AffectedProperty); 4106Assert.Equal("Text", e.AffectedProperty); 7201Assert.Equal("Text", e.AffectedProperty); 7311Assert.Equal("Text", e.AffectedProperty);
System\Windows\Forms\ButtonTests.cs (8)
309Assert.Equal("AutoSize", e.AffectedProperty); 358Assert.Equal("AutoSize", e.AffectedProperty); 457Assert.Equal("AutoSize", e.AffectedProperty); 530Assert.Equal("AutoSize", e.AffectedProperty); 804Assert.Equal("Text", e.AffectedProperty); 907Assert.Equal("Text", e.AffectedProperty); 2935Assert.Equal("Text", e.AffectedProperty); 3045Assert.Equal("Text", e.AffectedProperty);
System\Windows\Forms\ColumnStyleTests.cs (2)
76Assert.Equal("Style", e.AffectedProperty); 113Assert.Equal("Style", e.AffectedProperty);
System\Windows\Forms\ControlTests.ControlCollection.cs (21)
43Assert.Equal("Parent", e.AffectedProperty); 118Assert.Equal(affectedProperty, e.AffectedProperty); 196Assert.Equal(affectedProperty, e.AffectedProperty); 232Assert.Equal(affectedProperty, e.AffectedProperty); 490Assert.Equal(affectedProperty, e.AffectedProperty); 1217Assert.Equal(affectedProperty, e.AffectedProperty); 1300Assert.Equal("Parent", e.AffectedProperty); 1929Assert.Equal("Parent", e.AffectedProperty); 1993Assert.Equal("Parent", e.AffectedProperty); 2056Assert.Equal("Parent", e.AffectedProperty); 2132Assert.Equal("Parent", e.AffectedProperty); 2800Assert.Equal("Parent", e.AffectedProperty); 2862Assert.Equal("Parent", e.AffectedProperty); 2956Assert.Equal("Parent", e.AffectedProperty); 3053Assert.Equal("ChildIndex", e.AffectedProperty); 3121Assert.Equal("ChildIndex", e.AffectedProperty); 3174Assert.Equal("ChildIndex", e.AffectedProperty); 3253Assert.Equal("ChildIndex", e.AffectedProperty); 3347Assert.Equal("ChildIndex", e.AffectedProperty); 3441Assert.Equal(affectedProperty, e.AffectedProperty); 3530Assert.Equal("Parent", e.AffectedProperty);
System\Windows\Forms\ControlTests.Handlers.cs (2)
4850Assert.Equal("Bounds", e.AffectedProperty); 4895Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\ControlTests.Methods.cs (70)
148Assert.Equal("ChildIndex", e.AffectedProperty); 190Assert.Equal("ChildIndex", e.AffectedProperty); 245Assert.Equal("ChildIndex", e.AffectedProperty); 312Assert.Equal("ChildIndex", e.AffectedProperty); 4769Assert.Null(e.AffectedProperty); 4798Assert.Null(e.AffectedProperty); 4827Assert.Null(e.AffectedProperty); 4868Assert.Null(e.AffectedProperty); 4876Assert.Equal("PreferredSize", e.AffectedProperty); 4911Assert.Null(e.AffectedProperty); 4938Assert.Null(e.AffectedProperty); 5022Assert.Equal(affectedProperty, e.AffectedProperty); 5052Assert.Equal(affectedProperty, e.AffectedProperty); 5082Assert.Equal(affectedProperty, e.AffectedProperty); 5133Assert.Equal(affectedProperty, e.AffectedProperty); 5141Assert.Equal("PreferredSize", e.AffectedProperty); 5186Assert.Equal(affectedProperty, e.AffectedProperty); 5212Assert.Equal(affectedProperty, e.AffectedProperty); 6589Assert.Same(affectedProperty, e.AffectedProperty); 6617Assert.Same(affectedProperty, e.AffectedProperty); 6667Assert.Same(affectedProperty, e.AffectedProperty); 6697Assert.Same(affectedProperty, e.AffectedProperty); 6833Assert.Same(affectedProperty, e.AffectedProperty); 7034Assert.Equal("ChildIndex", e.AffectedProperty); 7076Assert.Equal("ChildIndex", e.AffectedProperty); 7131Assert.Equal("ChildIndex", e.AffectedProperty); 7198Assert.Equal("ChildIndex", e.AffectedProperty); 7381Assert.Equal("Bounds", e.AffectedProperty); 7492Assert.Equal("Bounds", e.AffectedProperty); 7590Assert.Equal("Bounds", e.AffectedProperty); 7693Assert.Equal("Bounds", e.AffectedProperty); 7734Assert.Equal("Bounds", e.AffectedProperty); 7824Assert.Equal("Bounds", e.AffectedProperty); 7951Assert.Equal("Bounds", e.AffectedProperty); 7992Assert.Equal("Bounds", e.AffectedProperty); 8168Assert.Equal("Bounds", e.AffectedProperty); 8279Assert.Equal("Bounds", e.AffectedProperty); 8377Assert.Equal("Bounds", e.AffectedProperty); 8550Assert.Equal("Bounds", e.AffectedProperty); 8591Assert.Equal("Bounds", e.AffectedProperty); 8681Assert.Equal("Bounds", e.AffectedProperty); 8808Assert.Equal("Bounds", e.AffectedProperty); 8849Assert.Equal("Bounds", e.AffectedProperty); 8982Assert.Equal("Bounds", e.AffectedProperty); 9124Assert.Equal("Bounds", e.AffectedProperty); 9253Assert.Equal("Bounds", e.AffectedProperty); 9371Assert.Equal("Bounds", e.AffectedProperty); 9412Assert.Equal("Bounds", e.AffectedProperty); 9545Assert.Equal("Bounds", e.AffectedProperty); 9684Assert.Equal("Bounds", e.AffectedProperty); 9725Assert.Equal("Bounds", e.AffectedProperty); 9810Assert.Equal("Bounds", e.AffectedProperty); 9844Assert.Equal("Bounds", e.AffectedProperty); 10511Assert.Equal("Bounds", e.AffectedProperty); 10603Assert.Equal("Bounds", e.AffectedProperty); 10687Assert.Equal("Bounds", e.AffectedProperty); 10951Assert.Equal("Bounds", e.AffectedProperty); 11062Assert.Equal("Bounds", e.AffectedProperty); 11160Assert.Equal("Bounds", e.AffectedProperty); 11250Assert.Equal("Bounds", e.AffectedProperty); 11291Assert.Equal("Bounds", e.AffectedProperty); 11385Assert.Equal("Bounds", e.AffectedProperty); 11489Assert.Equal("Bounds", e.AffectedProperty); 11530Assert.Equal("Bounds", e.AffectedProperty); 11646Assert.Equal("Bounds", e.AffectedProperty); 11736Assert.Equal("Bounds", e.AffectedProperty); 11777Assert.Equal("Bounds", e.AffectedProperty); 11883Assert.Equal("Bounds", e.AffectedProperty); 11987Assert.Equal("Bounds", e.AffectedProperty); 12028Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\ControlTests.Properties.cs (80)
422Assert.Equal("Anchor", e.AffectedProperty); 471Assert.Equal("Anchor", e.AffectedProperty); 569Assert.Equal("Anchor", e.AffectedProperty); 692Assert.Equal("Anchor", e.AffectedProperty); 701Assert.Equal("Anchor", e.AffectedProperty); 832if (e.AffectedProperty == "Dock") 958Assert.Equal("AutoSize", e.AffectedProperty); 1020Assert.Equal("AutoSize", e.AffectedProperty); 1132Assert.Equal("AutoSize", e.AffectedProperty); 2443Assert.Equal("Bounds", e.AffectedProperty); 2532Assert.Equal("Bounds", e.AffectedProperty); 2617Assert.Equal("Bounds", e.AffectedProperty); 2707Assert.Equal("Bounds", e.AffectedProperty); 2748Assert.Equal("Bounds", e.AffectedProperty); 2815Assert.Equal("Bounds", e.AffectedProperty); 2919Assert.Equal("Bounds", e.AffectedProperty); 2960Assert.Equal("Bounds", e.AffectedProperty); 3332Assert.Equal("Bounds", e.AffectedProperty); 3376Assert.Equal("Bounds", e.AffectedProperty); 4195Assert.Equal("Dock", e.AffectedProperty); 4286Assert.Equal("Dock", e.AffectedProperty); 5693Assert.Equal("Bounds", e.AffectedProperty); 5803Assert.Equal("Bounds", e.AffectedProperty); 5891Assert.Equal("Bounds", e.AffectedProperty); 5984Assert.Equal("Bounds", e.AffectedProperty); 6025Assert.Equal("Bounds", e.AffectedProperty); 6104Assert.Equal("Bounds", e.AffectedProperty); 6220Assert.Equal("Bounds", e.AffectedProperty); 6261Assert.Equal("Bounds", e.AffectedProperty); 6774Assert.Equal("Bounds", e.AffectedProperty); 6983Assert.Equal("Bounds", e.AffectedProperty); 7253Assert.Equal("Bounds", e.AffectedProperty); 7466Assert.Equal("Bounds", e.AffectedProperty); 7763Assert.Equal("Padding", e.AffectedProperty); 8006Assert.Equal("Bounds", e.AffectedProperty); 8063Assert.Equal("Bounds", e.AffectedProperty); 8112Assert.Equal("MaximumSize", e.AffectedProperty); 8168Assert.Equal("MaximumSize", e.AffectedProperty); 8321Assert.Equal("MaximumSize", e.AffectedProperty); 8389Assert.Equal("MaximumSize", e.AffectedProperty); 8544Assert.Equal("Bounds", e.AffectedProperty); 8591Assert.Equal("Bounds", e.AffectedProperty); 8644Assert.Equal("Bounds", e.AffectedProperty); 8675Assert.Equal("Bounds", e.AffectedProperty); 8707Assert.Equal("Bounds", e.AffectedProperty); 8754Assert.Equal("Bounds", e.AffectedProperty); 8762Assert.Equal("MinimumSize", e.AffectedProperty); 8816Assert.Equal("Bounds", e.AffectedProperty); 8824Assert.Equal("MinimumSize", e.AffectedProperty); 8876Assert.Equal("Bounds", e.AffectedProperty); 8936Assert.Equal("Bounds", e.AffectedProperty); 9002Assert.Equal("Bounds", e.AffectedProperty); 9062Assert.Equal("Bounds", e.AffectedProperty); 9070Assert.Equal("MinimumSize", e.AffectedProperty); 9151Assert.Equal("Bounds", e.AffectedProperty); 9159Assert.Equal("MinimumSize", e.AffectedProperty); 9419Assert.Equal("Padding", e.AffectedProperty); 9449Assert.Equal("Padding", e.AffectedProperty); 9457Assert.Equal("Padding", e.AffectedProperty); 9504Assert.Equal("Padding", e.AffectedProperty); 9548Assert.Equal("Padding", e.AffectedProperty); 9556Assert.Equal("Padding", e.AffectedProperty); 11077Assert.Equal("Bounds", e.AffectedProperty); 11188Assert.Equal("Bounds", e.AffectedProperty); 11283Assert.Equal("Bounds", e.AffectedProperty); 11383Assert.Equal("Bounds", e.AffectedProperty); 11424Assert.Equal("Bounds", e.AffectedProperty); 11508Assert.Equal("Bounds", e.AffectedProperty); 11629Assert.Equal("Bounds", e.AffectedProperty); 11670Assert.Equal("Bounds", e.AffectedProperty); 12208Assert.Equal("Bounds", e.AffectedProperty); 12415Assert.Equal("Bounds", e.AffectedProperty); 13112Assert.Equal("Bounds", e.AffectedProperty); 13222Assert.Equal("Bounds", e.AffectedProperty); 13310Assert.Equal("Bounds", e.AffectedProperty); 13403Assert.Equal("Bounds", e.AffectedProperty); 13444Assert.Equal("Bounds", e.AffectedProperty); 13523Assert.Equal("Bounds", e.AffectedProperty); 13639Assert.Equal("Bounds", e.AffectedProperty); 13680Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\DataGridViewTests.cs (4)
128Assert.Equal("ColumnHeadersHeight", e.AffectedProperty); 275Assert.Equal("ColumnHeadersHeight", e.AffectedProperty); 1045Assert.Equal("RowHeadersWidth", e.AffectedProperty); 1199Assert.Equal("RowHeadersWidth", e.AffectedProperty);
System\Windows\Forms\FlowLayoutPanelTests.cs (3)
154Assert.Equal("FlowDirection", e.AffectedProperty); 189Assert.Equal("WrapContents", e.AffectedProperty); 369Assert.Equal("FlowBreak", eventArgs.AffectedProperty);
System\Windows\Forms\FlowLayoutSettingsTests.cs (3)
26Assert.Equal("FlowDirection", e.AffectedProperty); 70Assert.Equal("WrapContents", e.AffectedProperty); 188Assert.Equal("FlowBreak", eventArgs.AffectedProperty);
System\Windows\Forms\GroupBoxTests.cs (6)
279Assert.Equal("AutoSize", e.AffectedProperty); 328Assert.Equal("AutoSize", e.AffectedProperty); 427Assert.Equal("AutoSize", e.AffectedProperty); 500Assert.Equal("AutoSize", e.AffectedProperty); 1231Assert.Equal("UseCompatibleTextRendering", e.AffectedProperty); 1335Assert.Equal("UseCompatibleTextRendering", e.AffectedProperty);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (9)
58Assert.Equal("Columns", e.AffectedProperty); 95Assert.Equal("GrowStyle", e.AffectedProperty); 132Assert.Equal("Rows", e.AffectedProperty); 513Assert.Equal("TableIndex", eventArgs.AffectedProperty); 586Assert.Equal("TableIndex", eventArgs.AffectedProperty); 732Assert.Equal("TableIndex", eventArgs.AffectedProperty); 967Assert.Equal("ColumnSpan", eventArgs.AffectedProperty); 1208Assert.Equal("TableIndex", eventArgs.AffectedProperty); 1443Assert.Equal("RowSpan", eventArgs.AffectedProperty);
System\Windows\Forms\LayoutEventArgsTests.cs (2)
25Assert.Equal(affectedProperty, e.AffectedProperty); 42Assert.Equal(affectedProperty, e.AffectedProperty);
System\Windows\Forms\ListBoxTests.cs (1)
942Assert.Equal("DrawMode", e.AffectedProperty);
System\Windows\Forms\MdiClientTests.cs (8)
502Assert.Equal("Bounds", e.AffectedProperty); 597Assert.Equal("Bounds", e.AffectedProperty); 710Assert.Equal("Bounds", e.AffectedProperty); 751Assert.Equal("Bounds", e.AffectedProperty); 862Assert.Equal("Bounds", e.AffectedProperty); 903Assert.Equal("Bounds", e.AffectedProperty); 1024Assert.Equal("Bounds", e.AffectedProperty); 1065Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\MenuStripTests.cs (3)
196Assert.Null(e.AffectedProperty); 248Assert.Equal("GripStyle", e.AffectedProperty); 282Assert.Equal("GripStyle", e.AffectedProperty);
System\Windows\Forms\MonthCalendarTests.cs (2)
1734Assert.Equal("RightToLeftLayout", e.AffectedProperty); 1781Assert.Equal("RightToLeftLayout", e.AffectedProperty);
System\Windows\Forms\PanelTests.cs (7)
267Assert.Equal("AutoSize", e.AffectedProperty); 316Assert.Equal("AutoSize", e.AffectedProperty); 415Assert.Equal("AutoSize", e.AffectedProperty); 488Assert.Equal("AutoSize", e.AffectedProperty); 977Assert.Equal("Bounds", e.AffectedProperty); 1022Assert.Equal("Bounds", e.AffectedProperty); 1104Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\PictureBoxTests.cs (3)
2650Assert.Equal("Bounds", e.AffectedProperty); 2695Assert.Equal("Bounds", e.AffectedProperty); 2751Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\ProgressBarTests.cs (2)
1199Assert.Equal("RightToLeftLayout", e.AffectedProperty); 1246Assert.Equal("RightToLeftLayout", e.AffectedProperty);
System\Windows\Forms\PropertyGridTests.cs (2)
205Assert.Equal("AutoScroll", e.AffectedProperty); 248Assert.Equal("AutoScroll", e.AffectedProperty);
System\Windows\Forms\RichTextBoxTests.cs (6)
2198Assert.Equal("Bounds", e.AffectedProperty); 2975Assert.Equal("ScrollBars", e.AffectedProperty); 3038Assert.Equal("Bounds", e.AffectedProperty); 3103Assert.Equal("Bounds", e.AffectedProperty); 7113Assert.Equal("Text", e.AffectedProperty); 7348Assert.Equal("Text", e.AffectedProperty);
System\Windows\Forms\RowStyleTests.cs (2)
76Assert.Equal("Style", e.AffectedProperty); 113Assert.Equal("Style", e.AffectedProperty);
System\Windows\Forms\ScrollableControlTests.cs (10)
249Assert.Equal("AutoScroll", e.AffectedProperty); 292Assert.Equal("AutoScroll", e.AffectedProperty); 351Assert.Null(e.AffectedProperty); 389Assert.Null(e.AffectedProperty); 798Assert.Equal("Padding", e.AffectedProperty); 1899Assert.Equal("RightToLeft", e.AffectedProperty); 1940if (e.AffectedProperty == "RightToLeft") 1944Assert.Equal("RightToLeft", e.AffectedProperty); 2244Assert.Null(e.AffectedProperty); 2275Assert.Null(e.AffectedProperty);
System\Windows\Forms\SplitterPanelTests.cs (2)
675Assert.Equal("Bounds", e.AffectedProperty); 793Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\SplitterTests.cs (2)
544Assert.Equal("Dock", e.AffectedProperty); 613Assert.Equal("Dock", e.AffectedProperty);
System\Windows\Forms\StatusStripTests.cs (3)
286if (e.AffectedProperty == "Dock") 330Assert.Equal("GripStyle", e.AffectedProperty); 413Assert.Equal("Padding", e.AffectedProperty);
System\Windows\Forms\TabControl.ControlCollectionTests.cs (76)
78Assert.Equal("Parent", events[0].AffectedProperty); 80Assert.Equal("Visible", events[1].AffectedProperty); 101Assert.Equal("Parent", events[0].AffectedProperty); 103Assert.Equal("Visible", events[1].AffectedProperty); 105Assert.Equal("Parent", events[2].AffectedProperty); 107Assert.Equal("Visible", events[3].AffectedProperty); 128Assert.Equal("Parent", events[0].AffectedProperty); 130Assert.Equal("Visible", events[1].AffectedProperty); 132Assert.Equal("Parent", events[2].AffectedProperty); 134Assert.Equal("Visible", events[3].AffectedProperty); 136Assert.Equal("ChildIndex", events[4].AffectedProperty); 208Assert.Equal("Parent", events[0].AffectedProperty); 210Assert.Equal("Visible", events[1].AffectedProperty); 212Assert.Equal("Bounds", events[2].AffectedProperty); 214Assert.Equal("Bounds", events[3].AffectedProperty); 216Assert.Equal("Visible", events[4].AffectedProperty); 240Assert.Equal("Parent", events[0].AffectedProperty); 242Assert.Equal("Visible", events[1].AffectedProperty); 244Assert.Equal("Bounds", events[2].AffectedProperty); 246Assert.Equal("Bounds", events[3].AffectedProperty); 248Assert.Equal("Visible", events[4].AffectedProperty); 250Assert.Equal("Parent", events[5].AffectedProperty); 252Assert.Equal("Visible", events[6].AffectedProperty); 254Assert.Equal("Bounds", events[7].AffectedProperty); 256Assert.Equal("Bounds", events[8].AffectedProperty); 281Assert.Equal("Parent", events[0].AffectedProperty); 283Assert.Equal("Visible", events[1].AffectedProperty); 285Assert.Equal("Bounds", events[2].AffectedProperty); 287Assert.Equal("Bounds", events[3].AffectedProperty); 289Assert.Equal("Visible", events[4].AffectedProperty); 291Assert.Equal("Parent", events[5].AffectedProperty); 293Assert.Equal("Visible", events[6].AffectedProperty); 295Assert.Equal("Bounds", events[7].AffectedProperty); 297Assert.Equal("Bounds", events[8].AffectedProperty); 299Assert.Equal("ChildIndex", events[9].AffectedProperty); 301Assert.Equal("Visible", events[10].AffectedProperty); 303Assert.Equal("Visible", events[11].AffectedProperty); 305Assert.Equal("Visible", events[12].AffectedProperty); 375Assert.Equal("Parent", events[0].AffectedProperty); 377Assert.Equal("Visible", events[1].AffectedProperty); 401Assert.Equal("Parent", events[0].AffectedProperty); 403Assert.Equal("Visible", events[1].AffectedProperty); 405Assert.Equal("Parent", events[2].AffectedProperty); 407Assert.Equal("Visible", events[3].AffectedProperty); 434Assert.Equal("Parent", events[0].AffectedProperty); 436Assert.Equal("Visible", events[1].AffectedProperty); 438Assert.Equal("Parent", events[2].AffectedProperty); 440Assert.Equal("Visible", events[3].AffectedProperty); 442Assert.Equal("ChildIndex", events[4].AffectedProperty); 523Assert.Equal("Parent", events[0].AffectedProperty); 525Assert.Equal("Visible", events[1].AffectedProperty); 527Assert.Equal("Bounds", events[2].AffectedProperty); 529Assert.Equal("Bounds", events[3].AffectedProperty); 531Assert.Equal("Visible", events[4].AffectedProperty); 558Assert.Equal("Parent", events[0].AffectedProperty); 560Assert.Equal("Visible", events[1].AffectedProperty); 562Assert.Equal("Bounds", events[2].AffectedProperty); 564Assert.Equal("Bounds", events[3].AffectedProperty); 566Assert.Equal("Visible", events[4].AffectedProperty); 568Assert.Equal("Parent", events[5].AffectedProperty); 570Assert.Equal("Visible", events[6].AffectedProperty); 572Assert.Equal("Bounds", events[7].AffectedProperty); 574Assert.Equal("Bounds", events[8].AffectedProperty); 605Assert.Equal("Parent", events[0].AffectedProperty); 607Assert.Equal("Visible", events[1].AffectedProperty); 609Assert.Equal("Bounds", events[2].AffectedProperty); 611Assert.Equal("Bounds", events[3].AffectedProperty); 613Assert.Equal("Visible", events[4].AffectedProperty); 615Assert.Equal("Parent", events[5].AffectedProperty); 617Assert.Equal("Visible", events[6].AffectedProperty); 619Assert.Equal("Bounds", events[7].AffectedProperty); 621Assert.Equal("Bounds", events[8].AffectedProperty); 623Assert.Equal("ChildIndex", events[9].AffectedProperty); 625Assert.Equal("Visible", events[10].AffectedProperty); 627Assert.Equal("Visible", events[11].AffectedProperty); 629Assert.Equal("Visible", events[12].AffectedProperty);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (193)
64Assert.Equal("Parent", events[0].AffectedProperty); 66Assert.Equal("Visible", events[1].AffectedProperty); 88Assert.Equal("Parent", events[0].AffectedProperty); 90Assert.Equal("Visible", events[1].AffectedProperty); 92Assert.Equal("Parent", events[2].AffectedProperty); 94Assert.Equal("Visible", events[3].AffectedProperty); 116Assert.Equal("Parent", events[0].AffectedProperty); 118Assert.Equal("Visible", events[1].AffectedProperty); 120Assert.Equal("Parent", events[2].AffectedProperty); 122Assert.Equal("Visible", events[3].AffectedProperty); 124Assert.Equal("ChildIndex", events[4].AffectedProperty); 197Assert.Equal("Parent", events[0].AffectedProperty); 199Assert.Equal("Visible", events[1].AffectedProperty); 201Assert.Equal("Bounds", events[2].AffectedProperty); 203Assert.Equal("Bounds", events[3].AffectedProperty); 205Assert.Equal("Visible", events[4].AffectedProperty); 230Assert.Equal("Parent", events[0].AffectedProperty); 232Assert.Equal("Visible", events[1].AffectedProperty); 234Assert.Equal("Bounds", events[2].AffectedProperty); 236Assert.Equal("Bounds", events[3].AffectedProperty); 238Assert.Equal("Visible", events[4].AffectedProperty); 240Assert.Equal("Parent", events[5].AffectedProperty); 242Assert.Equal("Visible", events[6].AffectedProperty); 244Assert.Equal("Bounds", events[7].AffectedProperty); 246Assert.Equal("Bounds", events[8].AffectedProperty); 272Assert.Equal("Parent", events[0].AffectedProperty); 274Assert.Equal("Visible", events[1].AffectedProperty); 276Assert.Equal("Bounds", events[2].AffectedProperty); 278Assert.Equal("Bounds", events[3].AffectedProperty); 280Assert.Equal("Visible", events[4].AffectedProperty); 282Assert.Equal("Parent", events[5].AffectedProperty); 284Assert.Equal("Visible", events[6].AffectedProperty); 286Assert.Equal("Bounds", events[7].AffectedProperty); 288Assert.Equal("Bounds", events[8].AffectedProperty); 290Assert.Equal("ChildIndex", events[9].AffectedProperty); 292Assert.Equal("Visible", events[10].AffectedProperty); 294Assert.Equal("Visible", events[11].AffectedProperty); 296Assert.Equal("Visible", events[12].AffectedProperty); 367Assert.Equal("Parent", events[0].AffectedProperty); 369Assert.Equal("Visible", events[1].AffectedProperty); 394Assert.Equal("Parent", events[0].AffectedProperty); 396Assert.Equal("Visible", events[1].AffectedProperty); 398Assert.Equal("Parent", events[2].AffectedProperty); 400Assert.Equal("Visible", events[3].AffectedProperty); 428Assert.Equal("Parent", events[0].AffectedProperty); 430Assert.Equal("Visible", events[1].AffectedProperty); 432Assert.Equal("Parent", events[2].AffectedProperty); 434Assert.Equal("Visible", events[3].AffectedProperty); 436Assert.Equal("ChildIndex", events[4].AffectedProperty); 518Assert.Equal("Parent", events[0].AffectedProperty); 520Assert.Equal("Visible", events[1].AffectedProperty); 522Assert.Equal("Bounds", events[2].AffectedProperty); 524Assert.Equal("Bounds", events[3].AffectedProperty); 526Assert.Equal("Visible", events[4].AffectedProperty); 554Assert.Equal("Parent", events[0].AffectedProperty); 556Assert.Equal("Visible", events[1].AffectedProperty); 558Assert.Equal("Bounds", events[2].AffectedProperty); 560Assert.Equal("Bounds", events[3].AffectedProperty); 562Assert.Equal("Visible", events[4].AffectedProperty); 564Assert.Equal("Parent", events[5].AffectedProperty); 566Assert.Equal("Visible", events[6].AffectedProperty); 568Assert.Equal("Bounds", events[7].AffectedProperty); 570Assert.Equal("Bounds", events[8].AffectedProperty); 602Assert.Equal("Parent", events[0].AffectedProperty); 604Assert.Equal("Visible", events[1].AffectedProperty); 606Assert.Equal("Bounds", events[2].AffectedProperty); 608Assert.Equal("Bounds", events[3].AffectedProperty); 610Assert.Equal("Visible", events[4].AffectedProperty); 612Assert.Equal("Parent", events[5].AffectedProperty); 614Assert.Equal("Visible", events[6].AffectedProperty); 616Assert.Equal("Bounds", events[7].AffectedProperty); 618Assert.Equal("Bounds", events[8].AffectedProperty); 620Assert.Equal("ChildIndex", events[9].AffectedProperty); 622Assert.Equal("Visible", events[10].AffectedProperty); 624Assert.Equal("Visible", events[11].AffectedProperty); 626Assert.Equal("Visible", events[12].AffectedProperty); 1011Assert.Equal("Parent", events[0].AffectedProperty); 1013Assert.Equal("Visible", events[1].AffectedProperty); 1034Assert.Equal("Parent", events[0].AffectedProperty); 1036Assert.Equal("Visible", events[1].AffectedProperty); 1038Assert.Equal("Parent", events[2].AffectedProperty); 1040Assert.Equal("Visible", events[3].AffectedProperty); 1061Assert.Equal("Parent", events[0].AffectedProperty); 1063Assert.Equal("Visible", events[1].AffectedProperty); 1065Assert.Equal("Parent", events[2].AffectedProperty); 1067Assert.Equal("Visible", events[3].AffectedProperty); 1069Assert.Equal("ChildIndex", events[4].AffectedProperty); 1350Assert.Equal("Parent", e.AffectedProperty); 1473Assert.Equal("Parent", e.AffectedProperty); 2006Assert.Equal("Parent", events[0].AffectedProperty); 2008Assert.Equal("Visible", events[1].AffectedProperty); 2030Assert.Equal("Parent", events[0].AffectedProperty); 2032Assert.Equal("Visible", events[1].AffectedProperty); 2034Assert.Equal("Parent", events[2].AffectedProperty); 2036Assert.Equal("Visible", events[3].AffectedProperty); 2038Assert.Equal("ChildIndex", events[4].AffectedProperty); 2060Assert.Equal("Parent", events[0].AffectedProperty); 2062Assert.Equal("Visible", events[1].AffectedProperty); 2064Assert.Equal("Parent", events[2].AffectedProperty); 2066Assert.Equal("Visible", events[3].AffectedProperty); 2068Assert.Equal("ChildIndex", events[4].AffectedProperty); 2070Assert.Equal("ChildIndex", events[5].AffectedProperty); 2072Assert.Equal("ChildIndex", events[6].AffectedProperty); 2134Assert.Equal("Parent", events[0].AffectedProperty); 2136Assert.Equal("Visible", events[1].AffectedProperty); 2138Assert.Equal("Bounds", events[2].AffectedProperty); 2140Assert.Equal("Bounds", events[3].AffectedProperty); 2142Assert.Equal("Visible", events[4].AffectedProperty); 2167Assert.Equal("Parent", events[0].AffectedProperty); 2169Assert.Equal("Visible", events[1].AffectedProperty); 2171Assert.Equal("Bounds", events[2].AffectedProperty); 2173Assert.Equal("Bounds", events[3].AffectedProperty); 2175Assert.Equal("Visible", events[4].AffectedProperty); 2177Assert.Equal("Parent", events[5].AffectedProperty); 2179Assert.Equal("Visible", events[6].AffectedProperty); 2181Assert.Equal("Bounds", events[7].AffectedProperty); 2183Assert.Equal("Bounds", events[8].AffectedProperty); 2185Assert.Equal("ChildIndex", events[9].AffectedProperty); 2211Assert.Equal("Parent", events[0].AffectedProperty); 2213Assert.Equal("Visible", events[1].AffectedProperty); 2215Assert.Equal("Bounds", events[2].AffectedProperty); 2217Assert.Equal("Bounds", events[3].AffectedProperty); 2219Assert.Equal("Visible", events[4].AffectedProperty); 2221Assert.Equal("Parent", events[5].AffectedProperty); 2223Assert.Equal("Visible", events[6].AffectedProperty); 2225Assert.Equal("Bounds", events[7].AffectedProperty); 2227Assert.Equal("Bounds", events[8].AffectedProperty); 2229Assert.Equal("ChildIndex", events[9].AffectedProperty); 2231Assert.Equal("ChildIndex", events[10].AffectedProperty); 2233Assert.Equal("Visible", events[11].AffectedProperty); 2235Assert.Equal("Visible", events[12].AffectedProperty); 2237Assert.Equal("Visible", events[13].AffectedProperty); 2239Assert.Equal("ChildIndex", events[14].AffectedProperty); 2310Assert.Equal("Parent", events[0].AffectedProperty); 2312Assert.Equal("Visible", events[1].AffectedProperty); 2337Assert.Equal("Parent", events[0].AffectedProperty); 2339Assert.Equal("Visible", events[1].AffectedProperty); 2341Assert.Equal("Parent", events[2].AffectedProperty); 2343Assert.Equal("Visible", events[3].AffectedProperty); 2345Assert.Equal("ChildIndex", events[4].AffectedProperty); 2373Assert.Equal("Parent", events[0].AffectedProperty); 2375Assert.Equal("Visible", events[1].AffectedProperty); 2377Assert.Equal("Parent", events[2].AffectedProperty); 2379Assert.Equal("Visible", events[3].AffectedProperty); 2381Assert.Equal("ChildIndex", events[4].AffectedProperty); 2383Assert.Equal("ChildIndex", events[5].AffectedProperty); 2385Assert.Equal("ChildIndex", events[6].AffectedProperty); 2467Assert.Equal("Parent", events[0].AffectedProperty); 2469Assert.Equal("Visible", events[1].AffectedProperty); 2471Assert.Equal("Bounds", events[2].AffectedProperty); 2473Assert.Equal("Bounds", events[3].AffectedProperty); 2475Assert.Equal("Visible", events[4].AffectedProperty); 2503Assert.Equal("Parent", events[0].AffectedProperty); 2505Assert.Equal("Visible", events[1].AffectedProperty); 2507Assert.Equal("Bounds", events[2].AffectedProperty); 2509Assert.Equal("Bounds", events[3].AffectedProperty); 2511Assert.Equal("Visible", events[4].AffectedProperty); 2513Assert.Equal("Parent", events[5].AffectedProperty); 2515Assert.Equal("Visible", events[6].AffectedProperty); 2517Assert.Equal("Bounds", events[7].AffectedProperty); 2519Assert.Equal("Bounds", events[8].AffectedProperty); 2521Assert.Equal("ChildIndex", events[9].AffectedProperty); 2553Assert.Equal("Parent", events[0].AffectedProperty); 2555Assert.Equal("Visible", events[1].AffectedProperty); 2557Assert.Equal("Bounds", events[2].AffectedProperty); 2559Assert.Equal("Bounds", events[3].AffectedProperty); 2561Assert.Equal("Visible", events[4].AffectedProperty); 2563Assert.Equal("Parent", events[5].AffectedProperty); 2565Assert.Equal("Visible", events[6].AffectedProperty); 2567Assert.Equal("Bounds", events[7].AffectedProperty); 2569Assert.Equal("Bounds", events[8].AffectedProperty); 2571Assert.Equal("ChildIndex", events[9].AffectedProperty); 2573Assert.Equal("ChildIndex", events[10].AffectedProperty); 2575Assert.Equal("Visible", events[11].AffectedProperty); 2577Assert.Equal("Visible", events[12].AffectedProperty); 2579Assert.Equal("Visible", events[13].AffectedProperty); 2581Assert.Equal("ChildIndex", events[14].AffectedProperty); 3052Assert.Same("Parent", events[0].AffectedProperty); 3054Assert.Same("Visible", events[1].AffectedProperty); 3076Assert.Same("Parent", events[0].AffectedProperty); 3078Assert.Same("Visible", events[1].AffectedProperty); 3080Assert.Same("Parent", events[2].AffectedProperty); 3082Assert.Same("Visible", events[3].AffectedProperty); 3084Assert.Same("ChildIndex", events[4].AffectedProperty); 3106Assert.Same("Parent", events[0].AffectedProperty); 3108Assert.Same("Visible", events[1].AffectedProperty); 3110Assert.Same("Parent", events[2].AffectedProperty); 3112Assert.Same("Visible", events[3].AffectedProperty); 3114Assert.Same("ChildIndex", events[4].AffectedProperty); 3116Assert.Same("ChildIndex", events[5].AffectedProperty); 3118Assert.Same("ChildIndex", events[6].AffectedProperty); 4828Assert.Equal("Parent", e.AffectedProperty); 4922Assert.Equal("Parent", e.AffectedProperty);
System\Windows\Forms\TabControlTests.cs (4)
1843Assert.Equal("RightToLeftLayout", e.AffectedProperty); 1890Assert.Equal("RightToLeftLayout", e.AffectedProperty); 5013Assert.Equal("Parent", e.AffectedProperty); 5128Assert.Equal("Parent", e.AffectedProperty);
System\Windows\Forms\TableLayoutPanelTests.cs (14)
231Assert.Equal("CellBorderStyle", e.AffectedProperty); 267Assert.Equal("CellBorderStyle", e.AffectedProperty); 310Assert.Equal("Columns", e.AffectedProperty); 385Assert.Equal("GrowStyle", e.AffectedProperty); 421Assert.Equal("LayoutSettings", e.AffectedProperty); 457Assert.Equal("LayoutSettings", e.AffectedProperty); 508Assert.Equal("LayoutSettings", e.AffectedProperty); 555Assert.Equal("LayoutSettings", e.AffectedProperty); 602Assert.Equal("Rows", e.AffectedProperty); 1606Assert.Equal("TableIndex", eventArgs.AffectedProperty); 1712Assert.Equal("TableIndex", eventArgs.AffectedProperty); 1821Assert.Equal("ColumnSpan", eventArgs.AffectedProperty); 1939Assert.Equal("TableIndex", eventArgs.AffectedProperty); 2048Assert.Equal("RowSpan", eventArgs.AffectedProperty);
System\Windows\Forms\TableLayoutStyleTests.cs (2)
51Assert.Equal("Style", e.AffectedProperty); 90Assert.Equal("Style", e.AffectedProperty);
System\Windows\Forms\TabPageTests.cs (9)
1979Assert.Equal("Bounds", e.AffectedProperty); 2204Assert.Equal("Bounds", e.AffectedProperty); 2455Assert.Equal("Bounds", e.AffectedProperty); 4310Assert.Equal("Bounds", e.AffectedProperty); 4428Assert.Equal("Bounds", e.AffectedProperty); 4469Assert.Equal("Bounds", e.AffectedProperty); 4602Assert.Equal("Bounds", e.AffectedProperty); 4761Assert.Equal("Bounds", e.AffectedProperty); 4802Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\TabPageTests.TabPageControlCollection.cs (1)
37Assert.Equal(affectedProperty, e.AffectedProperty);
System\Windows\Forms\ToolStripContentPanelTests.cs (5)
154Assert.Equal("AutoScroll", e.AffectedProperty); 197Assert.Equal("AutoScroll", e.AffectedProperty); 256Assert.Null(e.AffectedProperty); 294Assert.Null(e.AffectedProperty); 1074Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\ToolStripDropDownTests.cs (8)
601Assert.Equal("Anchor", e.AffectedProperty); 674Assert.Equal("AutoSize", e.AffectedProperty); 712Assert.Equal("AutoSize", e.AffectedProperty); 1014Assert.Null(e.AffectedProperty); 1783Assert.Equal("GripStyle", e.AffectedProperty); 2387Assert.Equal("RightToLeft", e.AffectedProperty); 2760Assert.Equal("TextDirection", e.AffectedProperty); 2796Assert.Equal("TextDirection", e.AffectedProperty);
System\Windows\Forms\ToolStripItemTests.cs (59)
446Assert.Null(e.AffectedProperty); 902Assert.Equal("AutoSize", e.AffectedProperty); 955Assert.Equal("AutoSize", e.AffectedProperty); 2143Assert.Equal("DisplayStyle", e.AffectedProperty); 2191Assert.Equal("DisplayStyle", e.AffectedProperty); 3017Assert.Equal("Font", e.AffectedProperty); 3064Assert.Equal("Font", e.AffectedProperty); 3578Assert.Equal("Bounds", e.AffectedProperty); 3631Assert.Equal("Bounds", e.AffectedProperty); 3907if (e.AffectedProperty != "ImageIndex") 3911Assert.Equal("Image", e.AffectedProperty); 3959if (e.AffectedProperty != "ImageIndex") 3963Assert.Equal("Image", e.AffectedProperty); 4207Assert.Equal("ImageAlign", e.AffectedProperty); 4261Assert.Equal("ImageAlign", e.AffectedProperty); 4465Assert.Equal("ImageIndex", e.AffectedProperty); 4514Assert.Equal("ImageIndex", e.AffectedProperty); 4566Assert.Equal("ImageIndex", e.AffectedProperty); 4965Assert.Equal("ImageKey", e.AffectedProperty); 5016Assert.Equal("ImageKey", e.AffectedProperty); 5066Assert.Equal("ImageKey", e.AffectedProperty); 5434Assert.Equal("ImageScaling", e.AffectedProperty); 5481Assert.Equal("ImageScaling", e.AffectedProperty); 5926Assert.Equal("Margin", e.AffectedProperty); 5972Assert.Equal("Margin", e.AffectedProperty); 6017Assert.Equal("Margin", e.AffectedProperty); 6063Assert.Equal("Margin", e.AffectedProperty); 6258Assert.Equal("Overflow", e.AffectedProperty); 6310Assert.Equal("Overflow", e.AffectedProperty); 6755Assert.Equal("Padding", e.AffectedProperty); 6801Assert.Equal("Padding", e.AffectedProperty); 7192Assert.Equal("RightToLeft", e.AffectedProperty); 7241Assert.Equal("RightToLeft", e.AffectedProperty); 7545Assert.Equal("RightToLeftAutoMirrorImage", e.AffectedProperty); 7962Assert.Equal("Bounds", e.AffectedProperty); 8012Assert.Equal("Bounds", e.AffectedProperty); 8093Assert.Equal("Text", e.AffectedProperty); 8142Assert.Equal("Text", e.AffectedProperty); 8323Assert.Equal("TextAlign", e.AffectedProperty); 8377Assert.Equal("TextAlign", e.AffectedProperty); 8598Assert.Equal("TextDirection", e.AffectedProperty); 8647Assert.Equal("TextDirection", e.AffectedProperty); 8850Assert.Equal("TextImageRelation", e.AffectedProperty); 8900Assert.Equal("TextImageRelation", e.AffectedProperty); 9745Assert.Equal("Bounds", e.AffectedProperty); 9798Assert.Equal("Bounds", e.AffectedProperty); 10856Assert.Equal("Bounds", e.AffectedProperty); 10894Assert.Equal("Bounds", e.AffectedProperty); 11372Assert.Equal("Font", e.AffectedProperty); 11417Assert.Equal("Font", e.AffectedProperty); 12282Assert.Equal("Font", e.AffectedProperty); 12336Assert.Equal("Font", e.AffectedProperty); 12749Assert.Equal("RightToLeft", e.AffectedProperty); 12806Assert.Equal("RightToLeft", e.AffectedProperty); 12985Assert.Equal("Text", e.AffectedProperty); 13042Assert.Equal("Text", e.AffectedProperty); 13324Assert.Equal("Items", e.AffectedProperty); 14709Assert.Equal("Bounds", e.AffectedProperty); 14770Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
1531Assert.Equal("Bounds", e.AffectedProperty); 1585Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\ToolStripTests.cs (24)
780Assert.Equal("Anchor", e.AffectedProperty); 825Assert.Null(e.AffectedProperty); 924if (e.AffectedProperty != "AutoSize") 926Assert.Equal("Bounds", e.AffectedProperty); 982Assert.Equal("AutoSize", e.AffectedProperty); 1238Assert.Null(e.AffectedProperty); 2379if (e.AffectedProperty == "Dock") 2464if (e.AffectedProperty == "Dock") 2481if (e.AffectedProperty is "Dock" or "Orientation") 2570if (e.AffectedProperty == "Dock") 2587if (e.AffectedProperty is "Dock" or "Orientation") 2770Assert.Equal("GripStyle", e.AffectedProperty); 2801Assert.Equal("GripStyle", e.AffectedProperty); 2837Assert.Equal("GripStyle", e.AffectedProperty); 3455Assert.Equal("RightToLeft", e.AffectedProperty); 3827Assert.Equal("TextDirection", e.AffectedProperty); 3863Assert.Equal("TextDirection", e.AffectedProperty); 3902Assert.Equal("TextDirection", e.AffectedProperty); 3945Assert.Equal("TextDirection", e.AffectedProperty); 3989Assert.Equal("TextDirection", e.AffectedProperty); 4054Assert.Equal("TextDirection", e.AffectedProperty); 6317Assert.Equal("RightToLeft", e.AffectedProperty); 6358if (e.AffectedProperty == "RightToLeft") 6362Assert.Equal("RightToLeft", e.AffectedProperty);
System\Windows\Forms\TreeViewTests.cs (2)
3085Assert.Equal("RightToLeftLayout", e.AffectedProperty); 3132Assert.Equal("RightToLeftLayout", e.AffectedProperty);
System\Windows\Forms\UpDownBaseTests.cs (5)
298Assert.Null(e.AffectedProperty); 336Assert.Null(e.AffectedProperty); 1108Assert.Equal("Bounds", e.AffectedProperty); 1152Assert.Equal("Bounds", e.AffectedProperty); 2717Assert.Equal("Bounds", e.AffectedProperty);
System\Windows\Forms\UserControlTests.cs (11)
247Assert.Equal("AutoSize", e.AffectedProperty); 289Assert.Equal("AutoSize", e.AffectedProperty); 324Assert.Equal("AutoSize", e.AffectedProperty); 381Assert.Equal("AutoSize", e.AffectedProperty); 431Assert.Equal("AutoSize", e.AffectedProperty); 530Assert.Equal("AutoSize", e.AffectedProperty); 603Assert.Equal("AutoSize", e.AffectedProperty); 1071Assert.Equal("Bounds", e.AffectedProperty); 1111Assert.Equal("Bounds", e.AffectedProperty); 1156Assert.Equal("Bounds", e.AffectedProperty); 1210Assert.Equal("Bounds", e.AffectedProperty);
TextBoxBaseTests.cs (5)
590Assert.Equal("BorderStyle", e.AffectedProperty); 3737Assert.Equal("WordWrap", e.AffectedProperty); 6501Assert.Equal("Bounds", e.AffectedProperty); 6635Assert.Equal("Bounds", e.AffectedProperty); 6751Assert.Equal("Bounds", e.AffectedProperty);
TrackBarTests.cs (3)
1565Assert.Equal("RightToLeftLayout", e.AffectedProperty); 1612Assert.Equal("RightToLeftLayout", e.AffectedProperty); 2961Assert.Equal("Bounds", e.AffectedProperty);
WebBrowserBaseTests.cs (2)
40Assert.Equal("Bounds", e.AffectedProperty); 149Assert.Equal("Bounds", e.AffectedProperty);
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
1056Debug.WriteLineIf(WindowsFormsHost._traceLayout.TraceInfo, String.Format(CultureInfo.CurrentCulture, "WindowsFormsHost({0}): Layout invalidated (control='{1}',property='{2}')", _host.Name, compName, e.AffectedProperty));