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)
30
Assert.Null(tab.
GetDefaultProperty
(new ClassWithoutDefaultProperty()));
37
Assert.Equal("Name", tab.
GetDefaultProperty
(new ClassWithNameProperty()).Name);
44
Assert.Equal("Value", tab.
GetDefaultProperty
(new ClassWithDefaultProperty()).Name);
51
Assert.Null(tab.
GetDefaultProperty
(new ClassWithNameProperty()));
58
Assert.Null(tab.
GetDefaultProperty
(null));