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