2 instantiations of DesignerOptionCollection
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (2)
19
public DesignerOptionCollection Options => field ??= new
DesignerOptionCollection
(this, null, string.Empty, null);
40
return new
DesignerOptionCollection
(this, parent, name, value);
21 references to DesignerOptionCollection
System.ComponentModel.TypeConverter (20)
System\ComponentModel\Design\DesignerOptionService.cs (20)
19
public
DesignerOptionCollection
Options => field ??= new DesignerOptionCollection(this, null, string.Empty, null);
30
protected
DesignerOptionCollection
CreateOptionCollection(
DesignerOptionCollection
parent, string name, object value)
55
DesignerOptionCollection
? options = Options;
72
protected virtual void PopulateOptionCollection(
DesignerOptionCollection
options)
79
protected virtual bool ShowDialog(
DesignerOptionCollection
options, object optionObject) => false;
120
internal DesignerOptionCollection(DesignerOptionService service,
DesignerOptionCollection
? parent, string name, object? value)
156
public
DesignerOptionCollection
? Parent { get; }
191
foreach (
DesignerOptionCollection
child in _children)
208
public
DesignerOptionCollection
? this[int index]
217
return (
DesignerOptionCollection
?)_children[index];
225
public
DesignerOptionCollection
? this[string name]
230
foreach (
DesignerOptionCollection
child in _children)
275
public int IndexOf(
DesignerOptionCollection
value)
284
private static object? RecurseFindValue(
DesignerOptionCollection
options)
291
foreach (
DesignerOptionCollection
child in options)
438
if (!(value is
DesignerOptionCollection
options))
443
foreach (
DesignerOptionCollection
option in options)
466
private readonly
DesignerOptionCollection
_option;
468
internal OptionPropertyDescriptor(
DesignerOptionCollection
option) : base(option.Name, null)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\WindowsFormsDesignerOptionService.cs (1)
21
protected override void PopulateOptionCollection(
DesignerOptionCollection
options)