28 overrides of GetEditStyle
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.AxPropertyTypeEditor.cs (1)
49public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (1)
40public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedUITypeEditor.cs (1)
37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (1)
51public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System.Windows.Forms.Design (24)
System\ComponentModel\Design\BinaryEditor.cs (1)
124public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\ComponentModel\Design\CollectionEditor.cs (1)
293public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\ComponentModel\Design\DateTimeEditor.cs (1)
32public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\ComponentModel\Design\MultilineStringEditor.cs (1)
36public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\ComponentModel\Design\ObjectSelectorEditor.cs (1)
73public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\ColorEditor.cs (1)
41public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\ContentAlignmentEditor.cs (1)
37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Drawing\Design\CursorEditor.cs (1)
40public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\FontEditor.cs (1)
57public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Drawing\Design\IconEditor.cs (1)
97public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Drawing\Design\ImageEditor.cs (1)
122public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\AnchorEditor.cs (1)
35public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\BorderSidesEditor.cs (1)
39public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (1)
49public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (1)
48public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\DataSourceListEditor.cs (1)
43public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\DockEditor.cs (1)
34public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\FileNameEditor.cs (1)
44public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\FolderNameEditor.cs (1)
34public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\FormatStringEditor.cs (1)
87public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\LinkAreaEditor.cs (1)
65public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (1)
37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context)
System\Windows\Forms\Design\MaskPropertyEditor.cs (1)
81public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext? context)
System\Windows\Forms\Design\ShortcutKeysEditor.cs (1)
46public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
15 references to GetEditStyle
System.Windows.Forms (4)
System\Drawing\Design\UITypeEditor.cs (1)
99public UITypeEditorEditStyle GetEditStyle() => GetEditStyle(null);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedUITypeEditor.cs (2)
39? _innerEditor.GetEditStyle(context) 40: base.GetEditStyle(context);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
428switch (editor.GetEditStyle(this))
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
234_button.Ellipsis = (_editor.GetEditStyle(TypeDescriptorContext) == UITypeEditorEditStyle.Modal);
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (1)
44return base.GetEditStyle(context);
System.Windows.Forms.Design.Tests (6)
System\Drawing\Design\FontNameEditorTests.cs (1)
66Assert.Equal(UITypeEditorEditStyle.None, editor.GetEditStyle(context));
System\Windows\Forms\Design\DataGridViewCellStyleEditorTests.cs (1)
21Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(null));
System\Windows\Forms\Design\FormatStringEditorTests.cs (1)
48_editor.GetEditStyle(context).Should().Be(UITypeEditorEditStyle.Modal);
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (2)
170UITypeEditorEditStyle result = editor.GetEditStyle(mockContext.Object); 175result.Should().Be(editor.GetEditStyle(mockContext.Object));
System\Windows\Forms\Design\MaskPropertyEditorTests.cs (1)
51var result = _editor.GetEditStyle(null);
System.Windows.Forms.Tests (3)
System\Drawing\Design\UITypeEditorTests.cs (3)
62Assert.Equal(UITypeEditorEditStyle.None, editor.GetEditStyle(context)); 70.Setup(e => e.GetEditStyle(null)) 74mockEditor.Verify(e => e.GetEditStyle(null), Times.Once());