108 references to UITypeEditorEditStyle
System.Windows.Forms (21)
System\Drawing\Design\UITypeEditor.cs (4)
97
/// Gets the <see cref="
UITypeEditorEditStyle
"/> of the Edit method.
99
public
UITypeEditorEditStyle
GetEditStyle() => GetEditStyle(null);
120
public virtual
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.None;
System\Windows\Forms\ActiveX\AxHost.AxPropertyTypeEditor.cs (2)
49
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
51
return
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (2)
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\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (2)
77
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
62
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2956
dropDown = editor.GetEditStyle() ==
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
430
case
UITypeEditorEditStyle
.Modal:
438
case
UITypeEditorEditStyle
.DropDown:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.Flags.cs (2)
27
/// The current <see cref="UITypeEditor.GetEditStyle()"/> is <see cref="
UITypeEditorEditStyle
.Modal"/>.
32
/// The current <see cref="UITypeEditor.GetEditStyle()"/> is <see cref="
UITypeEditorEditStyle
.DropDown"/>.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionEditor.cs (2)
51
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
52
=>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
196
if (ute is not null && ute.GetEditStyle() ==
UITypeEditorEditStyle
.DropDown)
System.Windows.Forms.Design (57)
System\ComponentModel\Design\BinaryEditor.cs (2)
124
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\ComponentModel\Design\CollectionEditor.cs (2)
293
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\ComponentModel\Design\DateTimeEditor.cs (2)
32
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
234
_button.Ellipsis = (_editor.GetEditStyle(TypeDescriptorContext) ==
UITypeEditorEditStyle
.Modal);
System\ComponentModel\Design\MultilineStringEditor.cs (2)
36
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\ComponentModel\Design\ObjectSelectorEditor.cs (2)
73
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Drawing\Design\ColorEditor.cs (2)
41
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Drawing\Design\ContentAlignmentEditor.cs (2)
37
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
38
=>
UITypeEditorEditStyle
.DropDown;
System\Drawing\Design\CursorEditor.cs (2)
40
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Drawing\Design\FontEditor.cs (2)
57
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Drawing\Design\IconEditor.cs (2)
97
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
98
=>
UITypeEditorEditStyle
.Modal;
System\Drawing\Design\ImageEditor.cs (2)
122
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\AnchorEditor.cs (2)
35
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\BorderSidesEditor.cs (2)
39
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (2)
49
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\DataGridViewColumnCollectionEditor.cs (2)
45
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\DataGridViewColumnDataPropertyNameEditor.cs (2)
69
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (2)
48
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\DataMemberFieldEditor.cs (2)
58
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\DataMemberListEditor.cs (2)
45
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\DataSourceListEditor.cs (2)
43
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
45
return
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\DockEditor.cs (2)
34
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\FileNameEditor.cs (2)
44
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\FolderNameEditor.cs (2)
34
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\FormatStringEditor.cs (2)
87
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
88
=>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\LinkAreaEditor.cs (2)
65
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
66
=>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (2)
37
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context)
41
return
UITypeEditorEditStyle
.DropDown;
System\Windows\Forms\Design\MaskPropertyEditor.cs (2)
81
public override
UITypeEditorEditStyle
GetEditStyle(System.ComponentModel.ITypeDescriptorContext? context)
82
=>
UITypeEditorEditStyle
.Modal;
System\Windows\Forms\Design\ShortcutKeysEditor.cs (2)
46
public override
UITypeEditorEditStyle
GetEditStyle(ITypeDescriptorContext? context) =>
UITypeEditorEditStyle
.DropDown;
System.Windows.Forms.Design.Tests (27)
DataMemberFieldEditorTests.cs (1)
18
public void GetEditStyle_ContextIsNull_ReturnsDropDown() => _editor.GetEditStyle(null).Should().Be(
UITypeEditorEditStyle
.DropDown);
System\ComponentModel\Design\ArrayEditorTests.cs (1)
133
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\ComponentModel\Design\CollectionEditorTests.cs (1)
716
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\ComponentModel\Design\MultilineStringEditorTests.cs (1)
66
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\ComponentModel\Design\ObjectSelectorEditorTests.cs (1)
76
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\Drawing\Design\BitmapEditorTests.cs (1)
34
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\Drawing\Design\ColorEditorTests.cs (1)
68
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\Drawing\Design\CursorEditorTests.cs (1)
67
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\Drawing\Design\FontEditorTests.cs (1)
33
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\Drawing\Design\FontNameEditorTests.cs (1)
68
Assert.Equal(
UITypeEditorEditStyle
.None, editor.GetEditStyle(context));
System\Drawing\Design\ImageEditorTests.cs (1)
69
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\Drawing\Design\MetafileEditorTests.cs (1)
27
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\Windows\Forms\Design\AnchorEditorTests.cs (1)
69
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\Windows\Forms\Design\BorderSidesEditorTests.cs (1)
67
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\Windows\Forms\Design\DataGridViewCellStyleEditorTests.cs (1)
23
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(null));
System\Windows\Forms\Design\DataGridViewColumnCollectionEditorTests.cs (1)
14
new DataGridViewColumnCollectionEditor().GetEditStyle().Should().Be(
UITypeEditorEditStyle
.Modal);
System\Windows\Forms\Design\DataGridViewColumnDataPropertyNameEditorTests.cs (1)
17
new DataGridViewColumnDataPropertyNameEditor().GetEditStyle().Should().Be(
UITypeEditorEditStyle
.DropDown);
System\Windows\Forms\Design\DataMemberListEditorTests.cs (1)
17
new DataMemberListEditor().GetEditStyle().Should().Be(
UITypeEditorEditStyle
.DropDown);
System\Windows\Forms\Design\DockEditorTests.cs (1)
67
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System\Windows\Forms\Design\FileNameEditorTests.cs (1)
34
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\Windows\Forms\Design\FolderNameEditorTests.cs (1)
26
Assert.Equal(
UITypeEditorEditStyle
.Modal, editor.GetEditStyle(context));
System\Windows\Forms\Design\FormatStringEditorTests.cs (1)
46
_editor.GetEditStyle(context).Should().Be(
UITypeEditorEditStyle
.Modal);
System\Windows\Forms\Design\MaskedTextBoxTextEditorTests.cs (2)
168
UITypeEditorEditStyle
result = editor.GetEditStyle(mockContext.Object);
178
result.Should().Be(
UITypeEditorEditStyle
.DropDown);
System\Windows\Forms\Design\MaskPropertyEditorTests.cs (2)
49
var
result = _editor.GetEditStyle(null);
50
result.Should().Be(
UITypeEditorEditStyle
.Modal);
System\Windows\Forms\Design\ShortcutKeysEditorTests.cs (1)
67
Assert.Equal(
UITypeEditorEditStyle
.DropDown, editor.GetEditStyle(context));
System.Windows.Forms.Tests (3)
System\Drawing\Design\UITypeEditorTests.cs (3)
64
Assert.Equal(
UITypeEditorEditStyle
.None, editor.GetEditStyle(context));
73
.Returns(
UITypeEditorEditStyle
.Modal)
75
Assert.Equal(
UITypeEditorEditStyle
.Modal, mockEditor.Object.GetEditStyle());