3 overrides of GetEditor
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
111public override object? GetEditor(Type editorBaseType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
564public override object? GetEditor(Type editorBaseType)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
192public override object? GetEditor(Type editorBaseType) => _descriptors[0].GetEditor(editorBaseType);
27 references to GetEditor
System.Windows.Forms (6)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
122: base.GetEditor(editorBaseType);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
549return base.GetEditor(editorBaseType); 591_editor = base.GetEditor(editorBaseType);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
192public override object? GetEditor(Type editorBaseType) => _descriptors[0].GetEditor(editorBaseType);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
292Editor = (UITypeEditor?)PropertyDescriptor.GetEditor(typeof(UITypeEditor));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
190var editor = entry.PropertyDescriptor.GetEditor(typeof(InstanceCreationEditor)) as InstanceCreationEditor;
System.Windows.Forms.Design.Tests (1)
EnsureEditorsTests.cs (1)
156object editor = propertyDescriptor.GetEditor(typeof(UITypeEditor));
System.Windows.Forms.Primitives (2)
System\ComponentModel\PropertyDescriptorExtensions.cs (2)
32public static T? GetEditor<T>(this PropertyDescriptor descriptor) => (T?)descriptor.GetEditor(typeof(T)); 36value = (T?)descriptor.GetEditor(typeof(T));
System.Windows.Forms.Tests (18)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (18)
368Assert.Null(property.GetEditor(typeof(UITypeEditor))); 379Assert.IsType<CustomEditor>(property.GetEditor(typeof(object))); 380Assert.Null(property.GetEditor(typeof(CustomEditor))); 381Assert.Null(property.GetEditor(typeof(UITypeEditor))); 382Assert.Null(property.GetEditor(typeof(int))); 393Assert.Null(property.GetEditor(typeof(object))); 394Assert.Null(property.GetEditor(typeof(CustomUITypeEditor))); 395Assert.IsType<CustomUITypeEditor>(property.GetEditor(typeof(UITypeEditor))); 396Assert.Null(property.GetEditor(typeof(int))); 416Assert.Null(property.GetEditor(typeof(UITypeEditor))); 439Assert.IsType<CustomEditor>(property.GetEditor(typeof(object))); 440Assert.Null(property.GetEditor(typeof(CustomEditor))); 441Assert.Null(property.GetEditor(typeof(UITypeEditor))); 442Assert.Null(property.GetEditor(typeof(int))); 465Assert.Null(property.GetEditor(typeof(object))); 466Assert.Null(property.GetEditor(typeof(CustomUITypeEditor))); 467Assert.IsType<CustomUITypeEditor>(property.GetEditor(typeof(UITypeEditor))); 468Assert.Null(property.GetEditor(typeof(int)));