96 references to UITypeEditorEditStyle
System.Windows.Forms (21)
System\Drawing\Design\UITypeEditor.cs (4)
97/// Gets the <see cref="UITypeEditorEditStyle"/> of the Edit method. 99public UITypeEditorEditStyle GetEditStyle() => GetEditStyle(null); 120public virtual UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.None;
System\Windows\Forms\ActiveX\AxHost.AxPropertyTypeEditor.cs (2)
49public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 51return UITypeEditorEditStyle.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\Com2AboutBoxPropertyDescriptor.AboutBoxUITypeEditor.cs (2)
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\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (2)
77public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
62public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2956dropDown = editor.GetEditStyle() == UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
430case UITypeEditorEditStyle.Modal: 438case 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)
51public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 52=> UITypeEditorEditStyle.Modal;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
196if (ute is not null && ute.GetEditStyle() == UITypeEditorEditStyle.DropDown)
System.Windows.Forms.Design (49)
System\ComponentModel\Design\BinaryEditor.cs (2)
124public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\ComponentModel\Design\CollectionEditor.cs (2)
293public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\ComponentModel\Design\DateTimeEditor.cs (2)
32public 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)
36public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\ComponentModel\Design\ObjectSelectorEditor.cs (2)
73public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\ColorEditor.cs (2)
41public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\ContentAlignmentEditor.cs (2)
37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 38=> UITypeEditorEditStyle.DropDown;
System\Drawing\Design\CursorEditor.cs (2)
40public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Drawing\Design\FontEditor.cs (2)
57public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Drawing\Design\IconEditor.cs (2)
97public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 98=> UITypeEditorEditStyle.Modal;
System\Drawing\Design\ImageEditor.cs (2)
122public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\AnchorEditor.cs (2)
35public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\BorderSidesEditor.cs (2)
39public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (2)
49public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (2)
48public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\DataSourceListEditor.cs (2)
43public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 45return UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\DockEditor.cs (2)
34public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\FileNameEditor.cs (2)
44public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\FolderNameEditor.cs (2)
34public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\FormatStringEditor.cs (2)
87public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 88=> UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\LinkAreaEditor.cs (2)
65public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 66=> UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (2)
37public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) 41return UITypeEditorEditStyle.DropDown;
System\Windows\Forms\Design\MaskPropertyEditor.cs (2)
81public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext? context) 82=> UITypeEditorEditStyle.Modal;
System\Windows\Forms\Design\ShortcutKeysEditor.cs (2)
46public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext? context) => UITypeEditorEditStyle.DropDown;
System.Windows.Forms.Design.Tests (23)
System\ComponentModel\Design\ArrayEditorTests.cs (1)
139Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\ComponentModel\Design\CollectionEditorTests.cs (1)
762Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\ComponentModel\Design\MultilineStringEditorTests.cs (1)
64Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\ComponentModel\Design\ObjectSelectorEditorTests.cs (1)
74Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\Drawing\Design\BitmapEditorTests.cs (1)
32Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\Drawing\Design\ColorEditorTests.cs (1)
66Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\Drawing\Design\CursorEditorTests.cs (1)
65Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\Drawing\Design\FontEditorTests.cs (1)
31Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\Drawing\Design\FontNameEditorTests.cs (1)
66Assert.Equal(UITypeEditorEditStyle.None, editor.GetEditStyle(context));
System\Drawing\Design\ImageEditorTests.cs (1)
67Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\Drawing\Design\MetafileEditorTests.cs (1)
25Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\Windows\Forms\Design\AnchorEditorTests.cs (1)
67Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\Windows\Forms\Design\BorderSidesEditorTests.cs (1)
65Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\Windows\Forms\Design\DataGridViewCellStyleEditorTests.cs (1)
21Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(null));
System\Windows\Forms\Design\DockEditorTests.cs (1)
65Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System\Windows\Forms\Design\FileNameEditorTests.cs (1)
32Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
System\Windows\Forms\Design\FolderNameEditorTests.cs (1)
24Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
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); 180result.Should().Be(UITypeEditorEditStyle.DropDown);
System\Windows\Forms\Design\MaskPropertyEditorTests.cs (2)
51var result = _editor.GetEditStyle(null); 52result.Should().Be(UITypeEditorEditStyle.Modal);
System\Windows\Forms\Design\ShortcutKeysEditorTests.cs (1)
65Assert.Equal(UITypeEditorEditStyle.DropDown, editor.GetEditStyle(context));
System.Windows.Forms.Tests (3)
System\Drawing\Design\UITypeEditorTests.cs (3)
62Assert.Equal(UITypeEditorEditStyle.None, editor.GetEditStyle(context)); 71.Returns(UITypeEditorEditStyle.Modal) 73Assert.Equal(UITypeEditorEditStyle.Modal, mockEditor.Object.GetEditStyle());