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