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);
42 references to DesignerOptionCollection
DesignSurfaceExt (8)
DesignerOptionServiceExt.cs (8)
10protected override void PopulateOptionCollection(DesignerOptionCollection options) 20DesignerOptionCollection wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null); 31protected override void PopulateOptionCollection(DesignerOptionCollection options) 44DesignerOptionCollection wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null); 55protected override void PopulateOptionCollection(DesignerOptionCollection options) 68DesignerOptionCollection wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null); 77protected override void PopulateOptionCollection(DesignerOptionCollection options) 90DesignerOptionCollection wfd = CreateOptionCollection(options, "WindowsFormsDesigner", null);
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)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\WindowsFormsDesignerOptionService.cs (1)
23protected override void PopulateOptionCollection(DesignerOptionCollection options)
System.Windows.Forms.Design.Tests (12)
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (12)
35DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 58DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 75DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 82DesignerOptionService.DesignerOptionCollection otherChildCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 98DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 111public void PopulateOptionCollectionEntry(DesignerOptionCollection options) 116protected override void PopulateOptionCollection(DesignerOptionCollection options)