2 instantiations of DesignerOptionCollection
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (2)
23
get => _options ??= new
DesignerOptionCollection
(this, null, string.Empty, null);
45
return new
DesignerOptionCollection
(this, parent, name, value);
42 references to DesignerOptionCollection
DesignSurfaceExt (8)
DesignerOptionServiceExt.cs (8)
13
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
23
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
34
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
47
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
58
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
71
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
80
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
93
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
System.ComponentModel.TypeConverter (21)
System\ComponentModel\Design\DesignerOptionService.cs (21)
15
private
DesignerOptionCollection
? _options;
21
public
DesignerOptionCollection
Options
35
protected
DesignerOptionCollection
CreateOptionCollection(
DesignerOptionCollection
parent, string name, object value)
60
DesignerOptionCollection
? options = Options;
77
protected virtual void PopulateOptionCollection(
DesignerOptionCollection
options)
84
protected virtual bool ShowDialog(
DesignerOptionCollection
options, object optionObject) => false;
125
internal DesignerOptionCollection(DesignerOptionService service,
DesignerOptionCollection
? parent, string name, object? value)
161
public
DesignerOptionCollection
? Parent { get; }
196
foreach (
DesignerOptionCollection
child in _children)
213
public
DesignerOptionCollection
? this[int index]
222
return (
DesignerOptionCollection
?)_children[index];
230
public
DesignerOptionCollection
? this[string name]
235
foreach (
DesignerOptionCollection
child in _children)
280
public int IndexOf(
DesignerOptionCollection
value)
289
private static object? RecurseFindValue(
DesignerOptionCollection
options)
296
foreach (
DesignerOptionCollection
child in options)
443
if (!(value is
DesignerOptionCollection
options))
448
foreach (
DesignerOptionCollection
option in options)
471
private readonly
DesignerOptionCollection
_option;
473
internal OptionPropertyDescriptor(
DesignerOptionCollection
option) : base(option.Name, null)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\WindowsFormsDesignerOptionService.cs (1)
23
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
System.Windows.Forms.Design.Tests (12)
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (12)
33
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
56
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
73
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
80
DesignerOptionService.
DesignerOptionCollection
otherChildCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
96
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
109
public void PopulateOptionCollectionEntry(
DesignerOptionCollection
options)
114
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)