4 implementations of IWindowsFormsEditorService
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
21
IWindowsFormsEditorService
,
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
14
private sealed partial class EditorPropertyLine : TextBoxPropertyLine,
IWindowsFormsEditorService
, IServiceProvider
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
17
internal class CollectionEditVerbManager :
IWindowsFormsEditorService
, ITypeDescriptorContext
System\Windows\Forms\Design\EditorServiceContext.cs (1)
15
internal class EditorServiceContext :
IWindowsFormsEditorService
, ITypeDescriptorContext
64 references to IWindowsFormsEditorService
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1401
if (classService == typeof(
IWindowsFormsEditorService
))
System\Windows\Forms\Design\IWindowsFormsEditorService.cs (1)
15
/// The default <see cref="
IWindowsFormsEditorService
"/> is provided to <see cref="UITypeEditor"/>s through
System.Windows.Forms.Design (62)
System\ComponentModel\Design\BinaryEditor.cs (1)
104
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
968
protected internal override DialogResult ShowEditorDialog(
IWindowsFormsEditorService
edSvc)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
182
protected internal virtual DialogResult ShowEditorDialog(
IWindowsFormsEditorService
edSvc)
System\ComponentModel\Design\CollectionEditor.cs (1)
221
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\ComponentModel\Design\DateTimeEditor.cs (1)
17
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (2)
17
private
IWindowsFormsEditorService
_editorService;
19
public DateTimeUI(
IWindowsFormsEditorService
editorService, object? value)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (4)
401
void
IWindowsFormsEditorService
.CloseDropDown()
406
void
IWindowsFormsEditorService
.DropDownControl(Control control)
414
DialogResult
IWindowsFormsEditorService
.ShowDialog(Form dialog)
431
if (serviceType == typeof(
IWindowsFormsEditorService
))
System\ComponentModel\Design\MultilineStringEditor.cs (1)
19
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (2)
16
private
IWindowsFormsEditorService
? _editorService;
124
internal void BeginEdit(
IWindowsFormsEditorService
editorService, object? value)
System\ComponentModel\Design\ObjectSelectorEditor.cs (1)
29
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (2)
14
private
IWindowsFormsEditorService
? _editorService;
177
public void Start(
IWindowsFormsEditorService
edSvc, object? value)
System\Drawing\Design\ColorEditor.ColorUI.cs (3)
18
private
IWindowsFormsEditorService
? _edSvc;
68
public
IWindowsFormsEditorService
? EditorService => _edSvc;
355
public void Start(
IWindowsFormsEditorService
edSvc, object? value)
System\Drawing\Design\ColorEditor.cs (1)
21
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Drawing\Design\ContentAlignmentEditor.cs (1)
21
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Drawing\Design\CursorEditor.cs (1)
24
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Drawing\Design\CursorEditor.CursorUI.cs (2)
17
private
IWindowsFormsEditorService
? _editorService;
109
public void Start(
IWindowsFormsEditorService
editorService, object? value)
System\Drawing\Design\FontEditor.cs (1)
21
if (!provider.TryGetService(out
IWindowsFormsEditorService
? _))
System\Drawing\Design\IconEditor.cs (1)
58
if (!provider.TryGetService(out
IWindowsFormsEditorService
? _))
System\Drawing\Design\ImageEditor.cs (1)
65
if (!provider.TryGetService(out
IWindowsFormsEditorService
? _))
System\Drawing\Design\SelectionPanelBase.cs (2)
13
private
IWindowsFormsEditorService
? _editorService;
120
public void Start(
IWindowsFormsEditorService
edSvc, object? value)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (2)
22
private
IWindowsFormsEditorService
? _editorService;
151
public void Start(
IWindowsFormsEditorService
edSvc, object? value)
System\Windows\Forms\Design\AnchorEditor.cs (1)
19
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (2)
41
public
IWindowsFormsEditorService
? EditorService
363
public void Start(
IWindowsFormsEditorService
edSvc, object? value)
System\Windows\Forms\Design\BorderSidesEditor.cs (1)
19
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\CollectionEditVerbManager.cs (4)
134
if (serviceType == typeof(ITypeDescriptorContext) || serviceType == typeof(
IWindowsFormsEditorService
))
150
void
IWindowsFormsEditorService
.CloseDropDown()
160
void
IWindowsFormsEditorService
.DropDownControl(Control control)
169
DialogResult
IWindowsFormsEditorService
.ShowDialog(Form dialog)
System\Windows\Forms\Design\DataGridViewCellStyleEditor.cs (2)
18
if (provider.GetService<
IWindowsFormsEditorService
>() is null)
20
throw new InvalidOperationException($"Service provider couldn't fetch {nameof(
IWindowsFormsEditorService
)}.");
System\Windows\Forms\Design\DataGridViewColumnCollectionEditor.cs (1)
18
!provider.TryGetService(out
IWindowsFormsEditorService
? editorService) ||
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (3)
21
IWindowsFormsEditorService
? windowsFormsEditorService = provider.GetService(typeof(
IWindowsFormsEditorService
)) as
IWindowsFormsEditorService
;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (2)
19
private
IWindowsFormsEditorService
? _windowsFormsEditorService;
77
public void Start(
IWindowsFormsEditorService
edSvc, ITypeDiscoveryService discoveryService, Type defaultType)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
98
private
IWindowsFormsEditorService
? _windowsFormsEditorService; // Service used to invoke the picker inside a modal dropdown
385
_windowsFormsEditorService = _serviceProvider.GetService<
IWindowsFormsEditorService
>();
System\Windows\Forms\Design\DockEditor.cs (1)
19
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\EditorServiceContext.cs (4)
102
if (serviceType == typeof(ITypeDescriptorContext) || serviceType == typeof(
IWindowsFormsEditorService
))
110
void
IWindowsFormsEditorService
.CloseDropDown()
117
void
IWindowsFormsEditorService
.DropDownControl(Control control)
123
DialogResult
IWindowsFormsEditorService
.ShowDialog(Form dialog)
System\Windows\Forms\Design\FileNameEditor.cs (1)
19
if (!provider.TryGetService(out
IWindowsFormsEditorService
? _))
System\Windows\Forms\Design\FormatStringEditor.cs (1)
17
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
32
if (!provider.TryGetService(out
IWindowsFormsEditorService
? _))
System\Windows\Forms\Design\LinkAreaEditor.cs (1)
19
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\MaskedTextBoxTextEditor.cs (1)
13
if (context?.Instance is null || !provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\ShortcutKeysEditor.cs (1)
23
if (!provider.TryGetService(out
IWindowsFormsEditorService
? editorService))
System\Windows\Forms\Design\StyleEditorForm.cs (1)
508
protected internal override DialogResult ShowEditorDialog(
IWindowsFormsEditorService
edSvc)