21 references to Options
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerOptionService.cs (1)
60DesignerOptionCollection? options = Options;
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionUIService.cs (1)
77PropertyDescriptor? p = opts.Options.Properties["ObjectBoundSmartTagAutoShow"];
System\ComponentModel\Design\Serialization\ComponentCache.cs (1)
30PropertyDescriptor? componentCacheProp = options.Options.Properties["UseOptimizedCodeGeneration"];
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
82PropertyDescriptor? p = options?.Options.Properties["UseSmartTags"];
System\Windows\Forms\Design\DesignerUtils.cs (2)
354PropertyDescriptor? snaplinesProp = options.Options.Properties["UseSnapLines"]; 373PropertyDescriptor? prop = designerOptionService.Options.Properties[name];
System.Windows.Forms.Design.Tests (15)
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (15)
32Assert.Empty(service.Options.Name); 33DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 35Assert.Same(service.Options, childCollection.Parent); 44Assert.Empty(service.Options.Name); 45Assert.Empty(service.Options); 52service.PopulateOptionCollectionEntry(service.Options); 56DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 59Assert.Same(service.Options, childCollection.Parent); 69service.PopulateOptionCollectionEntry(otherService.Options); 73DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 76Assert.Same(service.Options, childCollection.Parent); 80DesignerOptionService.DesignerOptionCollection otherChildCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 83Assert.Same(service.Options, otherChildCollection.Parent); 96DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 99Assert.Same(service.Options, childCollection.Parent);