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);
21 references to DesignerOptionCollection
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)