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)
34Assert.Empty(service.Options.Name); 35DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 37Assert.Same(service.Options, childCollection.Parent); 46Assert.Empty(service.Options.Name); 47Assert.Empty(service.Options); 54service.PopulateOptionCollectionEntry(service.Options); 58DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 61Assert.Same(service.Options, childCollection.Parent); 71service.PopulateOptionCollectionEntry(otherService.Options); 75DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 78Assert.Same(service.Options, childCollection.Parent); 82DesignerOptionService.DesignerOptionCollection otherChildCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 85Assert.Same(service.Options, otherChildCollection.Parent); 98DesignerOptionService.DesignerOptionCollection childCollection = Assert.IsType<DesignerOptionService.DesignerOptionCollection>(Assert.Single(service.Options)); 101Assert.Same(service.Options, childCollection.Parent);