Base:
method
GetDefaultProperty
System.Windows.Forms.Design.PropertyTab.GetDefaultProperty(System.Object)
5 references to GetDefaultProperty
System.Windows.Forms.Tests (5)
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (5)
28
Assert.Null(tab.
GetDefaultProperty
(new ClassWithoutDefaultProperty()));
35
Assert.Equal("Name", tab.
GetDefaultProperty
(new ClassWithNameProperty()).Name);
42
Assert.Equal("Value", tab.
GetDefaultProperty
(new ClassWithDefaultProperty()).Name);
49
Assert.Null(tab.
GetDefaultProperty
(new ClassWithNameProperty()));
56
Assert.Null(tab.
GetDefaultProperty
(null));