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