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)
10
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
20
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
31
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
44
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
55
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
68
DesignerOptionCollection
wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
77
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)
90
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)
35
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
58
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
75
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
82
DesignerOptionService.
DesignerOptionCollection
otherChildCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
98
DesignerOptionService.
DesignerOptionCollection
childCollection = Assert.IsType<DesignerOptionService.
DesignerOptionCollection
>(Assert.Single(service.Options));
111
public void PopulateOptionCollectionEntry(
DesignerOptionCollection
options)
116
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)