2 overrides of GetDefaultProperty
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
16
public override PropertyDescriptor?
GetDefaultProperty
(object obj)
System\Windows\Forms\Design\EventsTab.cs (1)
33
public override PropertyDescriptor?
GetDefaultProperty
(object obj)
5 references to GetDefaultProperty
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1304
defaultProperty = ownerTab.
GetDefaultProperty
(value);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
19
PropertyDescriptor? defaultProperty = base.
GetDefaultProperty
(obj);
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\PropertyTabTests.cs (3)
124
Assert.Null(tab.
GetDefaultProperty
(new ClassWithoutDefaultProperty()));
131
Assert.Equal("Value", tab.
GetDefaultProperty
(new ClassWithDefaultProperty()).Name);
138
Assert.Null(tab.
GetDefaultProperty
(null));