13 references to Properties
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\DesignerOptionService.cs (3)
70return options.Properties[valueName]; 198propList.AddRange(child.Properties); 453foreach (PropertyDescriptor p in options.Properties)
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 (5)
System\Windows\Forms\Design\WindowsFormsDesignerOptionServiceTests.cs (5)
36Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.Sort().Cast<PropertyDescriptor>().Select(p => p.Name)); 60Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.Sort().Cast<PropertyDescriptor>().Select(p => p.Name)); 77Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.Sort().Cast<PropertyDescriptor>().Select(p => p.Name)); 84Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.Sort().Cast<PropertyDescriptor>().Select(p => p.Name)); 100Assert.Equal(new string[] { "EnableInSituEditing", "GridSize", "ObjectBoundSmartTagAutoShow", "ShowGrid", "SnapToGrid", "UseOptimizedCodeGeneration", "UseSmartTags", "UseSnapLines" }, childCollection.Properties.Sort().Cast<PropertyDescriptor>().Select(p => p.Name));