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