2 instantiations of DesignerOptionCollection
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\DesignerOptionService.cs (2)
23get => _options ??= new DesignerOptionCollection(this, null, string.Empty, null); 45return new DesignerOptionCollection(this, parent, name, value);
21 references to DesignerOptionCollection
System.ComponentModel.TypeConverter (21)
System\ComponentModel\Design\DesignerOptionService.cs (21)
15private DesignerOptionCollection? _options; 21public DesignerOptionCollection Options 35protected DesignerOptionCollection CreateOptionCollection(DesignerOptionCollection parent, string name, object value) 60DesignerOptionCollection? options = Options; 77protected virtual void PopulateOptionCollection(DesignerOptionCollection options) 84protected virtual bool ShowDialog(DesignerOptionCollection options, object optionObject) => false; 125internal DesignerOptionCollection(DesignerOptionService service, DesignerOptionCollection? parent, string name, object? value) 161public DesignerOptionCollection? Parent { get; } 196foreach (DesignerOptionCollection child in _children) 213public DesignerOptionCollection? this[int index] 222return (DesignerOptionCollection?)_children[index]; 230public DesignerOptionCollection? this[string name] 235foreach (DesignerOptionCollection child in _children) 280public int IndexOf(DesignerOptionCollection value) 289private static object? RecurseFindValue(DesignerOptionCollection options) 296foreach (DesignerOptionCollection child in options) 443if (!(value is DesignerOptionCollection options)) 448foreach (DesignerOptionCollection option in options) 471private readonly DesignerOptionCollection _option; 473internal OptionPropertyDescriptor(DesignerOptionCollection option) : base(option.Name, null)