40 instantiations of StandardValuesCollection
Microsoft.Maui (1)
Converters\EasingTypeConverter.cs (1)
82 => new(new[] {
Microsoft.Maui.Controls (2)
LayoutOptionsConverter.cs (1)
82 => new(new[] {
Visuals\VisualTypeConverter.cs (1)
199 => new(new[] {
Microsoft.Maui.Controls.DesignTools (2)
KnownValuesDesignTypeConverter.cs (1)
19 => new(KnownValues);
VisibilityDesignTypeConverter.cs (1)
11 private static readonly StandardValuesCollection standardValues = new StandardValuesCollection(validValues);
Microsoft.Maui.Graphics (1)
Converters\ColorTypeConverter.cs (1)
30 => new StandardValuesCollection(new[]
PresentationCore (1)
System\Windows\Input\CursorConverter.cs (1)
70_standardValues = new TypeConverter.StandardValuesCollection(values);
PresentationFramework (1)
System\Windows\NullableBoolConverter.cs (1)
58return _standardValues ??= new TypeConverter.StandardValuesCollection(new Nullable<bool>[]
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
65public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => new StandardValuesCollection(Values);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
63public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => new StandardValuesCollection(Values);
System.ComponentModel.TypeConverter (7)
System\ComponentModel\BooleanConverter.cs (1)
50return s_values ??= new StandardValuesCollection(new object[] { true, false });
System\ComponentModel\CultureInfoConverter.cs (1)
204_values = new StandardValuesCollection(array);
System\ComponentModel\EnumConverter.cs (1)
307Values = new StandardValuesCollection(arr);
System\ComponentModel\NullableConverter.cs (1)
207return new StandardValuesCollection(wrappedValues);
System\ComponentModel\ReferenceConverter.cs (1)
167return new StandardValuesCollection(components);
System\ComponentModel\TypeListConverter.cs (1)
106_values = new StandardValuesCollection(objTypes);
System\Drawing\ColorConverter.cs (1)
21return new StandardValuesCollection(set.OrderBy(c => c, new ColorComparer()).ToList());
System.Data.Common (1)
System\Data\ColumnTypeConverter.cs (1)
148_values = new StandardValuesCollection(objTypes);
System.Windows.Forms (18)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
46_values = new StandardValuesCollection(objValues);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
125return new StandardValuesCollection(list);
System\Windows\Forms\Controls\ListView\ListViewItemStateImageIndexConverter.cs (3)
91return new StandardValuesCollection(values); 97return new StandardValuesCollection(new object[] { ImageList.Indexer.DefaultIndex }); 101return new StandardValuesCollection(Array.Empty<object>());
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
33return new StandardValuesCollection(list);
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (2)
131return new StandardValuesCollection(values); 136return new StandardValuesCollection(
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (1)
48return new StandardValuesCollection(list);
System\Windows\Forms\ImageIndexConverter.cs (3)
161return new StandardValuesCollection(values); 168return new StandardValuesCollection(new object[] { ImageList.Indexer.DefaultIndex }); 172return new StandardValuesCollection(Array.Empty<object>());
System\Windows\Forms\ImageKeyConverter.cs (3)
172return new StandardValuesCollection(values); 179return new StandardValuesCollection(new object[] { "" }); 183return new StandardValuesCollection(Array.Empty<object>());
System\Windows\Forms\Input\CursorConverter.cs (1)
175_values = new StandardValuesCollection(list);
System\Windows\Forms\Input\KeysConverter.cs (1)
370_values = new StandardValuesCollection(values);
System\Windows\Forms\MDI\MdiWindowListItemConverter.cs (1)
32return new StandardValuesCollection(list);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
369return new StandardValuesCollection(eventMethods);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
118values = new StandardValuesCollection(list);
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (1)
35SupportedCultures = new TypeConverter.StandardValuesCollection(supportedCultures);
WinFormsControlsTest (1)
Dialogs.ClientGuidConverter.cs (1)
34_values ??= new StandardValuesCollection(new Guid?[]
70 references to StandardValuesCollection
Microsoft.Maui (1)
Converters\EasingTypeConverter.cs (1)
81 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Microsoft.Maui.Controls (2)
LayoutOptionsConverter.cs (1)
81 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Visuals\VisualTypeConverter.cs (1)
198 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
Microsoft.Maui.Controls.DesignTools (3)
KnownValuesDesignTypeConverter.cs (1)
18 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
VisibilityDesignTypeConverter.cs (2)
11 private static readonly StandardValuesCollection standardValues = new StandardValuesCollection(validValues); 15 override public StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => standardValues;
Microsoft.Maui.Graphics (1)
Converters\ColorTypeConverter.cs (1)
29 public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
PresentationCore (2)
System\Windows\Input\CursorConverter.cs (2)
56public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) 230private TypeConverter.StandardValuesCollection _standardValues;
PresentationFramework (2)
System\Windows\NullableBoolConverter.cs (2)
56public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) 68private static TypeConverter.StandardValuesCollection _standardValues;
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
65public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => new StandardValuesCollection(Values);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
63public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) => new StandardValuesCollection(Values);
System.ComponentModel.TypeConverter (16)
System\ComponentModel\BooleanConverter.cs (2)
13private static volatile StandardValuesCollection? s_values; 48public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\ComponentModel\CultureInfoConverter.cs (2)
20private StandardValuesCollection? _values; 174public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\ComponentModel\EnumConverter.cs (2)
36protected StandardValuesCollection? Values { get; set; } 231public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\ComponentModel\NullableConverter.cs (2)
190public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 194StandardValuesCollection? values = UnderlyingTypeConverter.GetStandardValues(context);
System\ComponentModel\ReferenceConverter.cs (1)
124public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\ComponentModel\TypeConverter.cs (2)
272public virtual StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) => null; 424/// Initializes a new instance of the <see cref='System.ComponentModel.TypeConverter.StandardValuesCollection'/> class.
System\ComponentModel\TypeListConverter.cs (2)
16private StandardValuesCollection? _values; 90public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Drawing\ColorConverter.cs (3)
17private static readonly Lazy<StandardValuesCollection> s_valuesLazy = new Lazy<StandardValuesCollection>(() => 140public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System.Data.Common (2)
System\Data\ColumnTypeConverter.cs (2)
55private StandardValuesCollection? _values; 132public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System.Drawing.Common (3)
Special\NotSupported.cs (3)
383public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 392public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 838public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.AxEnumConverter.cs (1)
25public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (2)
12private StandardValuesCollection? _values; 39public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
94public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
113public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\ListView\ListViewItemStateImageIndexConverter.cs (2)
15/// is valid in the <see cref="TypeConverter.StandardValuesCollection" /> collection. 42public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (2)
18public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 20StandardValuesCollection values = base.GetStandardValues(context);
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (1)
75public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (2)
21public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 23StandardValuesCollection values = base.GetStandardValues(context);
System\Windows\Forms\ImageIndexConverter.cs (2)
26/// the <see cref="TypeConverter.StandardValuesCollection" /> collection. 93public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\ImageKeyConverter.cs (1)
105public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Input\CursorConverter.cs (2)
18private StandardValuesCollection? _values; 158public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\Input\KeysConverter.cs (2)
19private StandardValuesCollection? _values; 364public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\Windows\Forms\MDI\MdiWindowListItemConverter.cs (2)
18public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 22StandardValuesCollection values = base.GetStandardValues(context);
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
61TypeConverter.StandardValuesCollection? standardValues = GetStandardValues();
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (3)
175protected TypeConverter.StandardValuesCollection? GetStandardValues() 193TypeConverter.StandardValuesCollection? standardValues = GetStandardValues(); 223TypeConverter.StandardValuesCollection? standardValues = GetStandardValues();
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
357public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (2)
88public override StandardValuesCollection? GetStandardValues(ITypeDescriptorContext? context) 91StandardValuesCollection? values = GetConverter(context).GetStandardValues(context);
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageCultureInfoConverter.cs (2)
31public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context) 33StandardValuesCollection? values = null;
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (1)
43internal TypeConverter.StandardValuesCollection? SupportedCultures { get; }
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListViewItemStateImageIndexConverterTests.cs (1)
22StandardValuesCollection result = converter.GetStandardValues(context: null);
System\Windows\Forms\TextBoxAutoCompleteSourceConverterTests.cs (1)
17StandardValuesCollection valuesCollection = converter.GetStandardValues(mockContext.Object);
System\Windows\Forms\TreeViewImageIndexConverterTests.cs (1)
68StandardValuesCollection result = converter.GetStandardValues(context: null);
WinFormsControlsTest (2)
Dialogs.ClientGuidConverter.cs (2)
17private StandardValuesCollection? _values; 31public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context)