53 instantiations of PropertyDescriptorCollection
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
70return new PropertyDescriptorCollection(tempPropertyDescriptors.ToArray(), true);
System.ComponentModel.TypeConverter (22)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
41PropertyDescriptorCollection properties = new PropertyDescriptorCollection(null);
System\ComponentModel\ArrayConverter.cs (2)
41return new PropertyDescriptorCollection(null); 55return new PropertyDescriptorCollection(props);
System\ComponentModel\CollectionConverter.cs (1)
36return new PropertyDescriptorCollection(null);
System\ComponentModel\Design\DesignerOptionService.cs (2)
203_properties = new PropertyDescriptorCollection(propArray, true); 442PropertyDescriptorCollection props = new PropertyDescriptorCollection(null);
System\ComponentModel\PropertyDescriptorCollection.cs (5)
19public static readonly PropertyDescriptorCollection Empty = new PropertyDescriptorCollection(null, true); 286return new PropertyDescriptorCollection(_properties, Count, _namedSort, _comparer); 296return new PropertyDescriptorCollection(_properties, Count, names, _comparer); 305return new PropertyDescriptorCollection(_properties, Count, names, comparer); 314return new PropertyDescriptorCollection(_properties, Count, _namedSort, comparer);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
634properties = new PropertyDescriptorCollection(fullArray, true);
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
496_properties = new PropertyDescriptorCollection(propertyArray, true);
System\ComponentModel\TypeDescriptor.cs (9)
1334return new PropertyDescriptorCollection(null, true); 1361return new PropertyDescriptorCollection(null, true); 1373properties = new PropertyDescriptorCollection(descriptors, true); 1440return new PropertyDescriptorCollection(null, true); 1512props = new PropertyDescriptorCollection(propArray, true); 1581props = new PropertyDescriptorCollection(propArray, true); 1919cacheValue = new PropertyDescriptorCollection(propArray, true); 2110cacheValue = new PropertyDescriptorCollection(propArray, true); 2258cacheValue = new PropertyDescriptorCollection(propArray, true);
System.Data.Common (11)
System\Data\Common\DataRecordInternal.cs (1)
363_propertyDescriptors ??= new PropertyDescriptorCollection(null);
System\Data\Common\DbConnectionStringBuilder.cs (2)
415propertyDescriptors = new PropertyDescriptorCollection(properties); 584return new PropertyDescriptorCollection(filteredPropertiesArray);
System\Data\Common\DbDataRecord.cs (1)
102new PropertyDescriptorCollection(null);
System\Data\Common\DbEnumerator.cs (1)
108_descriptors = new PropertyDescriptorCollection(props);
System\Data\DataRowView.cs (1)
15private static readonly PropertyDescriptorCollection s_zeroPropertyDescriptorCollection = new PropertyDescriptorCollection(null);
System\Data\DataTable.cs (1)
4921_propertyDescriptorCollectionCache = new PropertyDescriptorCollection(props);
System\Data\DataView.cs (2)
1191return new PropertyDescriptorCollection(null); 1201return new PropertyDescriptorCollection(null);
System\Data\DataViewManager.cs (1)
302return new PropertyDescriptorCollection(null);
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
127_propsCollection = new PropertyDescriptorCollection(props);
System.Windows.Forms (9)
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.Com2PropDescMainConverter.cs (1)
61properties = new PropertyDescriptorCollection(descriptors, true);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
276return new PropertyDescriptorCollection(properties.Properties);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1321properties = new PropertyDescriptorCollection(SortParenProperties(propertyDescriptors));
System\Windows\Forms\DataBinding\ListBindingHelper.cs (4)
122return new PropertyDescriptorCollection(null); 350return new PropertyDescriptorCollection(null); 457return new PropertyDescriptorCollection(null); 635pdc = new PropertyDescriptorCollection(null);
System\Windows\Forms\Design\EventsTab.cs (2)
104return new(null); 166componentEventProperties = new(mergedEvents);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2173props = new PropertyDescriptorCollection(propArray);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
680_properties = new PropertyDescriptorCollection(propArray);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1300return new PropertyDescriptorCollection(propArray);
System\Windows\Forms\Design\ToolStripCustomTypeDescriptor.cs (2)
47_collection = new PropertyDescriptorCollection(propArray, false); 81_collection = new PropertyDescriptorCollection(propArray, false);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\ControlCommandSetTests.cs (2)
178return new PropertyDescriptorCollection(allProperties); 189return new PropertyDescriptorCollection(allProperties);
System.Windows.Forms.Tests (3)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1902.Returns(new PropertyDescriptorCollection(Array.Empty<PropertyDescriptor>()));
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (1)
320.Returns(new PropertyDescriptorCollection(Array.Empty<PropertyDescriptor>()));
System\Windows\Forms\TableLayoutPanelTests.cs (1)
2156.Returns(new PropertyDescriptorCollection(Array.Empty<PropertyDescriptor>()));
464 references to PropertyDescriptorCollection
DesignSurfaceExt (3)
DesignSurfaceExt.cs (3)
120PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(ctrl); 130PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(ctrl); 168PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(newComp);
netstandard (1)
netstandard.cs (1)
395[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.PropertyDescriptorCollection))]
PresentationFramework (2)
MS\Internal\Data\PropertyPathWorker.cs (1)
1466PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(item);
System\Windows\Data\BindingListCollectionView.cs (1)
2178PropertyDescriptorCollection pdc;
PresentationFramework-SystemData (1)
SystemDataExtension.cs (1)
75PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(list[0]);
PresentationFramework-SystemXmlLinq (1)
SystemXmlLinqExtension.cs (1)
21PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(xelement);
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
217PropertyDescriptorCollection
Serialization\FontTypeConverter.cs (1)
206PropertyDescriptorCollection
Serialization\ImageSourceTypeConverter.cs (1)
288PropertyDescriptorCollection
System (1)
src\libraries\shims\System\ref\System.cs (1)
381[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.PropertyDescriptorCollection))]
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (4)
34public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 40public override PropertyDescriptorCollection GetProperties() 45private PropertyDescriptorCollection GetPropertiesWithMetadata(PropertyDescriptorCollection originalCollection)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
215var properties = TypeDescriptor.GetProperties(_type);
System\ComponentModel\DataAnnotations\Validator.cs (1)
519var properties = TypeDescriptor.GetProperties(instance.GetType());
System.ComponentModel.TypeConverter (98)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (3)
33public override PropertyDescriptorCollection GetProperties() 39public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 41PropertyDescriptorCollection properties = new PropertyDescriptorCollection(null);
System\ComponentModel\ArrayConverter.cs (1)
33public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes)
System\ComponentModel\BindingList.cs (1)
23private PropertyDescriptorCollection? _itemTypeProperties;
System\ComponentModel\CollectionConverter.cs (1)
34public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ComponentConverter.cs (1)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\ComponentResourceManager.cs (1)
208static PropertyDescriptorCollection TypeDescriptorGetProperties(object value) => TypeDescriptor.GetProperties(value);
System\ComponentModel\CustomTypeDescriptor.cs (6)
197public virtual PropertyDescriptorCollection GetProperties() 204return PropertyDescriptorCollection.Empty; 211public virtual PropertyDescriptorCollection GetPropertiesFromRegisteredType() 234PropertyDescriptorCollection Forward() => GetProperties(); 245public virtual PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 252return PropertyDescriptorCollection.Empty;
System\ComponentModel\Design\DesignerOptionService.cs (5)
120private PropertyDescriptorCollection? _properties; 172public PropertyDescriptorCollection Properties 183PropertyDescriptorCollection props = TypeDescriptor.GetProperties(_value); 440public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? cxt, object value, Attribute[]? attributes) 442PropertyDescriptorCollection props = new PropertyDescriptorCollection(null);
System\ComponentModel\Design\IEventPropertyService.cs (1)
35PropertyDescriptorCollection GetEventProperties(EventDescriptorCollection events);
System\ComponentModel\Design\Serialization\IDesignerSerializationManager.cs (1)
28PropertyDescriptorCollection Properties { get; }
System\ComponentModel\ExpandableObjectConverter.cs (1)
26public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\IComNativeDescriptorHandler.cs (1)
30PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes);
System\ComponentModel\ICustomTypeDescriptor.cs (3)
69PropertyDescriptorCollection GetProperties(); 75PropertyDescriptorCollection GetProperties(Attribute[]? attributes); 129PropertyDescriptorCollection GetPropertiesFromRegisteredType()
System\ComponentModel\ITypedList.cs (1)
10PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors);
System\ComponentModel\MultilineStringConverter.cs (1)
34public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\NullableConverter.cs (1)
163public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\PropertyDescriptor.cs (4)
256public PropertyDescriptorCollection GetChildProperties() => GetChildProperties(null, null); 259public PropertyDescriptorCollection GetChildProperties(Attribute[] filter) => GetChildProperties(null, filter); 262public PropertyDescriptorCollection GetChildProperties(object instance) => GetChildProperties(instance, null); 268public virtual PropertyDescriptorCollection GetChildProperties(object? instance, Attribute[]? filter)
System\ComponentModel\PropertyDescriptorCollection.cs (9)
19public static readonly PropertyDescriptorCollection Empty = new PropertyDescriptorCollection(null, true); 33/// Initializes a new instance of the <see cref='System.ComponentModel.PropertyDescriptorCollection'/> 284public virtual PropertyDescriptorCollection Sort() 294public virtual PropertyDescriptorCollection Sort(string[]? names) 303public virtual PropertyDescriptorCollection Sort(string[]? names, IComparer? comparer) 312public virtual PropertyDescriptorCollection Sort(IComparer? comparer) 387/// Gets an enumerator for this <see cref='System.ComponentModel.PropertyDescriptorCollection'/>. 591private readonly PropertyDescriptorCollection _owner; 594public PropertyDescriptorEnumerator(PropertyDescriptorCollection owner)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (8)
552internal PropertyDescriptorCollection GetExtendedPropertiesFromRegisteredType(object instance) => GetExtendedProperties(instance); 558internal PropertyDescriptorCollection GetExtendedProperties(object instance) 577return PropertyDescriptorCollection.Empty; 584PropertyDescriptorCollection? properties = null; 588properties = cache[s_extenderPropertiesKey] as PropertyDescriptorCollection; 638properties = PropertyDescriptorCollection.Empty; 880internal PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type) 889internal PropertyDescriptorCollection GetPropertiesFromRegisteredType(Type type)
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
23private PropertyDescriptorCollection? _properties; 471internal PropertyDescriptorCollection GetProperties() 504internal PropertyDescriptorCollection GetPropertiesFromRegisteredType() => GetProperties();
System\ComponentModel\TypeConverter.cs (5)
227public PropertyDescriptorCollection? GetProperties(object value) => GetProperties(null, value); 237public PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value) 249public virtual PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 335protected PropertyDescriptorCollection SortProperties(PropertyDescriptorCollection props, string[] names)
System\ComponentModel\TypeDescriptor.cs (32)
1328public static PropertyDescriptorCollection GetProperties( 1343public static PropertyDescriptorCollection GetPropertiesFromRegisteredType(Type componentType) 1354public static PropertyDescriptorCollection GetProperties( 1364PropertyDescriptorCollection properties = GetDescriptor(componentType, nameof(componentType)).GetProperties(attributes); 1384public static PropertyDescriptorCollection GetProperties(object component) 1392public static PropertyDescriptorCollection GetPropertiesFromRegisteredType(object component) 1402public static PropertyDescriptorCollection GetProperties(object component, bool noCustomTypeDesc) 1413public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes) 1424public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes, bool noCustomTypeDesc) 1435private static PropertyDescriptorCollection GetPropertiesImpl(object component, Attribute[]? attributes, bool noCustomTypeDesc, bool noAttributes) 1508if (!(results is PropertyDescriptorCollection props)) 1550private static PropertyDescriptorCollection GetPropertiesFromRegisteredTypeImpl(object component) 1577if (!(results is PropertyDescriptorCollection props)) 2854PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 2860PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3187PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3189PropertyDescriptorCollection properties = _primary.GetProperties() ?? _secondary.GetProperties(); 3199PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3201PropertyDescriptorCollection properties = 3677PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3690PropertyDescriptorCollection properties = desc.GetProperties(); 3698PropertyDescriptorCollection ICustomTypeDescriptor.GetPropertiesFromRegisteredType() 3711PropertyDescriptorCollection properties = desc.GetPropertiesFromRegisteredType(); 3720PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3732PropertyDescriptorCollection props = rp.GetExtendedProperties(_instance); 3738PropertyDescriptorCollection properties = desc.GetProperties(attributes); 4089public PropertyDescriptorCollection GetProperties() 4095PropertyDescriptorCollection properties; 4117public PropertyDescriptorCollection GetPropertiesFromRegisteredType() 4123PropertyDescriptorCollection properties; 4147public PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 4153PropertyDescriptorCollection properties;
System\Drawing\PointConverter.cs (2)
108public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 110PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Point), attributes);
System\Drawing\RectangleConverter.cs (2)
118public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 120PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Rectangle), attributes);
System\Drawing\SizeConverter.cs (2)
108public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 110PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Size), attributes);
System\Drawing\SizeFConverter.cs (2)
106public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 108PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SizeF), attributes);
System.Data.Common (26)
System\Data\Common\DataRecordInternal.cs (4)
15private PropertyDescriptorCollection _propertyDescriptors; 19internal DataRecordInternal(SchemaInfo[] schemaInfo, object[] values, PropertyDescriptorCollection descriptors, FieldNameLookup fieldNameLookup) 356PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 362PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\Common\DbConnectionStringBuilder.cs (7)
31private PropertyDescriptorCollection? _propertyDescriptors; 401private PropertyDescriptorCollection GetProperties() 403PropertyDescriptorCollection? propertyDescriptors = _propertyDescriptors; 540private PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 542PropertyDescriptorCollection propertyDescriptors = GetProperties(); 627PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 632PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes)
System\Data\Common\DbDataRecord.cs (2)
97PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => 101PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\Common\DbEnumerator.cs (1)
16internal PropertyDescriptorCollection? _descriptors; // cached property descriptors
System\Data\DataRowView.cs (3)
15private static readonly PropertyDescriptorCollection s_zeroPropertyDescriptorCollection = new PropertyDescriptorCollection(null); 254PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => ((ICustomTypeDescriptor)this).GetProperties(null); 257PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) =>
System\Data\DataTable.cs (2)
120private PropertyDescriptorCollection? _propertyDescriptorCollectionCache; 4904internal PropertyDescriptorCollection GetPropertyDescriptorCollection()
System\Data\DataView.cs (1)
1178PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Data\DataViewManager.cs (1)
282PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Data\DataViewManagerListItemTypeDescriptor.cs (4)
12private PropertyDescriptorCollection? _propsCollection; 98PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => 109PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => 112internal PropertyDescriptorCollection GetPropertiesInternal()
System\Data\xmlsaver.cs (1)
117PropertyDescriptorCollection pds = TypeDescriptor.GetProperties(instance);
System.Drawing.Common (3)
System\Drawing\FontConverter.cs (2)
390public override PropertyDescriptorCollection? GetProperties( 398PropertyDescriptorCollection props = TypeDescriptor.GetProperties(value, attributes);
System\Drawing\ImageConverter.cs (1)
73public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes)
System.Drawing.Common.Tests (2)
System\Drawing\FontConverterTests.cs (1)
102PropertyDescriptorCollection props = converter.GetProperties(font);
System\Drawing\ImageConverterTests.cs (1)
229PropertyDescriptorCollection propsColl;
System.Windows.Forms (91)
System\Windows\Forms\ActiveX\AxHost.cs (6)
129private PropertyDescriptorCollection? _propsStash; 2538private PropertyDescriptorCollection FillProperties(Attribute[]? attributes) 2587PropertyDescriptorCollection baseProps = TypeDescriptor.GetProperties(this, null, true); 2690PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 2697PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 2712PropertyDescriptorCollection props = FillProperties(null);
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
497PropertyDescriptorCollection props = ((ICustomTypeDescriptor)_host).GetProperties();
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
1044PropertyDescriptorCollection props = TypeDescriptor.GetProperties( 1498PropertyDescriptorCollection props = TypeDescriptor.GetProperties(
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
84public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\COM2IDispatchConverter.cs (1)
61public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.Com2PropDescMainConverter.cs (2)
51public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 53PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(value, attributes);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (2)
55PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => _handler.GetProperties(_instance); 58PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => _handler.GetProperties(_instance);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
264internal PropertyDescriptorCollection GetProperties(object component) 270return PropertyDescriptorCollection.Empty;
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (4)
33PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => PropertyDescriptorCollection.Empty; 35PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => PropertyDescriptorCollection.Empty;
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (1)
17public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
17private PropertyDescriptorCollection? _props; 1529PropertyDescriptorCollection props = cm.GetItemProperties();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1355PropertyDescriptorCollection props = DataManager.GetItemProperties(); 1386PropertyDescriptorCollection props = DataManager.GetItemProperties();
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (2)
151public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 153PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(LinkArea), attributes);
System\Windows\Forms\Controls\ListControl\ListControl.cs (3)
148PropertyDescriptorCollection? props = DataManager?.GetItemProperties(); 262PropertyDescriptorCollection props = dataManager.GetItemProperties(); 377PropertyDescriptorCollection props = _dataManager.GetItemProperties();
System\Windows\Forms\Controls\ListView\ListViewItemStateImageIndexConverter.cs (2)
50PropertyDescriptorCollection listViewItemProps = TypeDescriptor.GetProperties(instance); 61PropertyDescriptorCollection listViewProps = TypeDescriptor.GetProperties(listViewInstance);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (3)
103PropertyDescriptorCollection props = GetProperties(value)!; 173public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 175PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SelectionRange), attributes);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1293PropertyDescriptorCollection? properties = null;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
54PropertyDescriptorCollection? properties = parentConverter.GetProperties(parentEntry, owner);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (2)
100var objectProperties = new PropertyDescriptorCollection[objects.Length]; 116PropertyDescriptorCollection? properties = tab.GetProperties(parentEntry, obj, attributes);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (3)
23PropertyDescriptorCollection? properties = GetProperties(obj); 40public override PropertyDescriptorCollection? GetProperties(object component, Attribute[]? attributes) 43public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object component, Attribute[]? attributes)
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (1)
85PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance);
System\Windows\Forms\DataBinding\Binding.cs (1)
487PropertyDescriptorCollection propInfos;
System\Windows\Forms\DataBinding\BindingManagerBase.cs (5)
72internal abstract PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors); 74public virtual PropertyDescriptorCollection GetItemProperties() => GetItemProperties(listAccessors: null); 76protected internal virtual PropertyDescriptorCollection? GetItemProperties(ArrayList dataSources, ArrayList listAccessors) 94protected virtual PropertyDescriptorCollection? GetItemProperties( 131PropertyDescriptorCollection? itemProps = null;
System\Windows\Forms\DataBinding\BindingSource.cs (5)
52private PropertyDescriptorCollection? _itemShape; 718PropertyDescriptorCollection dsProps = ListBindingHelper.GetListItemProperties(_dataSource); 904PropertyDescriptorCollection dsProps = cm.GetItemProperties(); 973PropertyDescriptorCollection props = _currencyManager.GetItemProperties(); 1546public virtual PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Windows\Forms\DataBinding\CurrencyManager.cs (4)
607internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors) => 611/// Gets the <see cref="PropertyDescriptorCollection"/> for the list. 613public override PropertyDescriptorCollection GetItemProperties() => GetItemProperties(null); 616/// Gets the <see cref="PropertyDescriptorCollection"/> for the specified list.
System\Windows\Forms\DataBinding\ListBindingHelper.cs (15)
47PropertyDescriptorCollection dsProps = GetListItemProperties(dataSource); 116public static PropertyDescriptorCollection GetListItemProperties(object? list) 118PropertyDescriptorCollection pdc; 149public static PropertyDescriptorCollection GetListItemProperties(object? list, PropertyDescriptor[]? listAccessors) 174public static PropertyDescriptorCollection GetListItemProperties(object? dataSource, string? dataMember, PropertyDescriptor[]? listAccessors) 181PropertyDescriptorCollection dsProps = GetListItemProperties(dataSource); 288PropertyDescriptorCollection dsProps = GetListItemProperties(dataSource); 345private static PropertyDescriptorCollection GetListItemPropertiesByType(PropertyDescriptor[] listAccessors, int startIndex) 347PropertyDescriptorCollection? pdc; 381private static PropertyDescriptorCollection GetListItemPropertiesByEnumerable(IEnumerable iEnumerable, PropertyDescriptor[] listAccessors, int startIndex) 383PropertyDescriptorCollection? pdc; 446private static PropertyDescriptorCollection GetListItemPropertiesByInstance(object? target, PropertyDescriptor[] listAccessors, int startIndex) 566private static PropertyDescriptorCollection GetListItemPropertiesByType(Type type) 571private static PropertyDescriptorCollection GetListItemPropertiesByEnumerable(IEnumerable enumerable) 573PropertyDescriptorCollection? pdc = null;
System\Windows\Forms\DataBinding\PropertyManager.cs (1)
63internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Windows\Forms\DataBinding\RelatedCurrencyManager.cs (2)
75internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors) 99public override PropertyDescriptorCollection GetItemProperties()
System\Windows\Forms\DataBinding\RelatedPropertyManager.cs (1)
56internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[]? listAccessors)
System\Windows\Forms\Design\EventsTab.cs (4)
89public override PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes) 97public override PropertyDescriptorCollection GetProperties( 109var componentEventProperties = eventBindingService.GetEventProperties( 131var matchingComponentProperties = TypeDescriptor.GetProperties(component, specifiedAttributesPlusContent);
System\Windows\Forms\Design\PropertyTab.cs (3)
112public virtual PropertyDescriptorCollection? GetProperties(object component) 119public abstract PropertyDescriptorCollection? GetProperties(object component, Attribute[]? attributes); 125public virtual PropertyDescriptorCollection? GetProperties(
System\Windows\Forms\ImageIndexConverter.cs (1)
108PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance);
System\Windows\Forms\ImageKeyConverter.cs (1)
114PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (2)
100public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 102PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(TableLayoutPanelCellPosition), attributes);
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdges.cs (2)
18public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 20PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(DockPaddingEdges), attributes);
System.Windows.Forms.Design (67)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (3)
1122private readonly PropertyDescriptorCollection _properties; 1290PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => _properties; 1299PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) => _properties;
System\ComponentModel\Design\ComponentDesigner.cs (1)
410PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(Component);
System\ComponentModel\Design\EventBindingService.cs (1)
172PropertyDescriptorCollection IEventBindingService.GetEventProperties(EventDescriptorCollection events)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (5)
153PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 185PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 418PropertyDescriptorCollection eventProps = ebs.GetEventProperties(TypeDescriptor.GetEvents(comp)); 580PropertyDescriptorCollection props = TypeDescriptor.GetProperties(data._value); 596PropertyDescriptorCollection events = ebs.GetEventProperties(TypeDescriptor.GetEvents(data._value));
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
26PropertyDescriptorCollection IDesignerSerializationManager.Properties
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
68public override PropertyDescriptorCollection? GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
66PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance, s_deserializeFilter); 348PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance, [BrowsableAttribute.Yes]);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (7)
210protected static PropertyDescriptorCollection GetPropertiesHelper(IDesignerSerializationManager manager, object instance, Attribute[]? attributes) 356PropertyDescriptorCollection ourProperties = GetPropertiesHelper(manager, value, null); 1547PropertyDescriptorCollection properties = GetPropertiesHelper(manager, lhs, s_runTimeProperties); 2141PropertyDescriptorCollection properties = GetFilteredProperties(manager, value, filter).Sort(); 2164private static PropertyDescriptorCollection GetFilteredProperties(IDesignerSerializationManager manager, object value, Attribute[]? filter) 2166PropertyDescriptorCollection props = GetPropertiesHelper(manager, value, filter); 2193PropertyDescriptorCollection props = GetPropertiesHelper(manager, value, filter);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
54private static bool CanCacheComponent(IDesignerSerializationManager manager, object value, PropertyDescriptorCollection? props) 105PropertyDescriptorCollection props = TypeDescriptor.GetProperties(value);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (3)
36private PropertyDescriptorCollection? _properties; 658PropertyDescriptorCollection IDesignerSerializationManager.Properties 672PropertyDescriptorCollection props = TypeDescriptor.GetProperties(propObject);
System\ComponentModel\Design\UndoEngine.cs (1)
452PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp);
System\Windows\Forms\Design\BindingSourceDesigner.cs (1)
62PropertyDescriptorCollection propertyDescriptorCollection = TypeDescriptor.GetProperties(bindingSource);
System\Windows\Forms\Design\ButtonBaseDesigner.cs (1)
49PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
108PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\CommandSet.cs (7)
604PropertyDescriptorCollection props = TypeDescriptor.GetProperties(currentSnapComponent); 1006PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 1277PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 1337PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 1964PropertyDescriptorCollection eventProps = evs.GetEventProperties(TypeDescriptor.GetEvents(curComp)); 2087PropertyDescriptorCollection props = TypeDescriptor.GetProperties(curComp); 2727PropertyDescriptorCollection props = TypeDescriptor.GetProperties(curComp);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
373PropertyDescriptorCollection props;
System\Windows\Forms\Design\ControlDesigner.cs (2)
205PropertyDescriptorCollection props = TypeDescriptor.GetProperties(component); 930PropertyDescriptorCollection props = TypeDescriptor.GetProperties(component.GetType());
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
140PropertyDescriptorCollection props = TypeDescriptor.GetProperties(column); 721PropertyDescriptorCollection? propertyDescriptorCollection = currencyManager?.GetItemProperties();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (3)
1263PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => ((ICustomTypeDescriptor)this).GetProperties(null); 1266PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attrs) 1268PropertyDescriptorCollection props = TypeDescriptor.GetProperties(DataGridViewColumn);
System\Windows\Forms\Design\DataGridViewDesigner.cs (3)
307PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataGridView); 386PropertyDescriptorCollection? backEndProps = null; 563PropertyDescriptorCollection? backEndProps = null;
System\Windows\Forms\Design\DesignBindingPicker.cs (6)
655PropertyDescriptorCollection? properties = null; 711private void AddDataSourceContents(TreeNodeCollection? nodes, object? dataSource, string? dataMember, PropertyDescriptorCollection? properties) 852PropertyDescriptorCollection? properties = GetItemProperties(dataSource, dataMember); 1095PropertyDescriptorCollection properties = ListBindingHelper.GetListItemProperties(dataSourceInstance); 1194PropertyDescriptorCollection properties = ListBindingHelper.GetListItemProperties(dataSourceInstance, [propertyDescriptor]); 1542private PropertyDescriptorCollection? GetItemProperties(object? dataSource, string? dataMember)
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
236PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\ImageIndexEditor.cs (1)
63PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(instance);
System\Windows\Forms\Design\LabelDesigner.cs (2)
33PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component); 145PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
563PropertyDescriptorCollection props = TypeDescriptor.GetProperties(newChild);
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
88PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
31PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\ToolStripCustomTypeDescriptor.cs (5)
12private PropertyDescriptorCollection? _collection; 38public override PropertyDescriptorCollection GetProperties() 42PropertyDescriptorCollection retColl = TypeDescriptor.GetProperties(_instance); 72public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 76PropertyDescriptorCollection retColl = TypeDescriptor.GetProperties(_instance);
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
45PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System.Windows.Forms.Design.Tests (19)
EnsureEditorsTests.cs (1)
152PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(type);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (3)
207PropertyDescriptorCollection properties = iManager.Properties; 305PropertyDescriptorCollection properties = iManager.Properties; 313PropertyDescriptorCollection otherProperties = iManager.Properties;
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (2)
21PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(RootContext)); 35PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(RootContext));
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
25PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(ToolStripButton));
System\Windows\Forms\Design\ControlCommandSetTests.cs (4)
170public override PropertyDescriptorCollection GetProperties() 172PropertyDescriptorCollection baseProperties = base.GetProperties(); 181public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 183PropertyDescriptorCollection baseProperties = base.GetProperties(attributes);
System\Windows\Forms\Design\EditorServiceContextTests.cs (2)
209public override PropertyDescriptorCollection GetProperties() => new PropertyDescriptorCollection([_property]); 211public override PropertyDescriptorCollection GetProperties(Attribute[]? attributes) => GetProperties();
System\Windows\Forms\Design\InheritedPropertyDescriptorTestExtensions.cs (1)
15PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(control);
System\Windows\Forms\Design\ToolStripCustomTypeDescriptorTests.cs (4)
35PropertyDescriptorCollection properties1 = _descriptor.GetProperties(); 36PropertyDescriptorCollection properties2 = _descriptor.GetProperties(); 46PropertyDescriptorCollection properties1 = _descriptor.GetProperties(attributes); 47PropertyDescriptorCollection properties2 = _descriptor.GetProperties(attributes);
ToolStripMenuItemDesignerTest.cs (1)
112PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(ToolStripMenuItem));
System.Windows.Forms.Primitives (3)
System\ComponentModel\PropertyDescriptorCollectionExtensions.cs (1)
9this PropertyDescriptorCollection propertyDescriptors,
System\Windows\Forms\PaddingConverter.cs (2)
112public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 114PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(Padding), attributes);
System.Windows.Forms.Tests (136)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (64)
24PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 40PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 56PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 72PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 88PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 104PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 115PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 126PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 137PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 148PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 168PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 189PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 200PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 211PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 222PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 233PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 244PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 255PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 266PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 277PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 288PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 302PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 313PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 368PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 379PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 393PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 416PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 439PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 465PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 500PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 524PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 543PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 568PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 604PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 635PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 656PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 683PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 704PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 731PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 757PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 769PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 784PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 803PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 820PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 849PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 880PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 909PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 941PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 970PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 989PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1013PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1032PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1057PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1084PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1109PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1134PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1157PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1182PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1205PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1233PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1259PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1287PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1343PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1354PropertyDescriptorCollection events = customTypeDescriptor.GetProperties();
System\Windows\Forms\AxHostTests.cs (8)
2834PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 2857PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 2888PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties(attributes); 2914PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties(attributes); 2937PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new CustomAttribute()]); 2962PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new CustomAttribute()]); 2985PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new NoSuchAttribute()]); 3010PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new NoSuchAttribute()]);
System\Windows\Forms\AxSystemMonitorTests.cs (1)
28var properties = TypeDescriptor.GetProperties(_control);
System\Windows\Forms\AxWebBrowserTests.cs (1)
30var properties = TypeDescriptor.GetProperties(_control);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
253var propertyDescriptors = TypeDescriptor.GetProperties(value, s_visible);
System\Windows\Forms\BindingSourceTests.cs (3)
882public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 899public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 917public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors)
System\Windows\Forms\ButtonBaseTests.cs (1)
669.Returns(PropertyDescriptorCollection.Empty);
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (2)
130public PropertyDescriptorCollection GetProperties() => throw new NotImplementedException(); 132public PropertyDescriptorCollection GetProperties(Attribute[]? attributes) => throw new NotImplementedException();
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (6)
45private static void ValidateIPictureDispProperties(object iPictureDisp, PropertyDescriptorCollection properties) 88var properties = TypeDescriptor.GetProperties(iPicture); 129private static void ValidateMediaPlayerProperties(object mediaPlayer, PropertyDescriptorCollection properties) 172var properties = descriptor.GetProperties(comWrapper); 195var properties = descriptor.GetProperties(comWrapper); 219var properties = TypeDescriptor.GetProperties(vbcontrol);
System\Windows\Forms\Design\PropertyTabTests.cs (4)
148PropertyDescriptorCollection result = TypeDescriptor.GetProperties(typeof(ClassWithDefaultProperty)); 174PropertyDescriptorCollection result = TypeDescriptor.GetProperties(typeof(ClassWithDefaultProperty)); 192public Func<object, Attribute[], PropertyDescriptorCollection> GetPropertiesAction { get; set; } 194public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes)
System\Windows\Forms\DockPaddingEdgesConverterTests.cs (1)
17PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\DockPaddingEdgesTests.cs (5)
390PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 411PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 432PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 453PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 474PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding);
System\Windows\Forms\FlatButtonAppearanceConverterTests.cs (2)
49PropertyDescriptorCollection properties = _converter.GetProperties(context: null, button, attributes); 61PropertyDescriptorCollection properties = _converter.GetProperties(contextMock.Object, button, attributes: null);
System\Windows\Forms\LinkAreaConverterTests.cs (1)
205PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\ListBindingHelperTests.cs (10)
194nullMockTypedList.Setup(t => t.GetItemProperties(null)).Returns((PropertyDescriptorCollection)null); 279nullMockTypedList.Setup(t => t.GetItemProperties(null)).Returns((PropertyDescriptorCollection)null); 361nullMockTypedList.Setup(t => t.GetItemProperties(descriptors)).Returns((PropertyDescriptorCollection)null); 533public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 545public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 564public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 697public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 717public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 898public PropertyDescriptorCollection GetProperties(Attribute[] attributes) 949PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (1)
157PropertyDescriptorCollection props = _converter.GetProperties(null, range, null);
System\Windows\Forms\PaddingConverterTests.cs (1)
404PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\PaddingTests.cs (6)
99PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 119PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 169PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 219PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 269PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 319PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding);
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (2)
71public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes); 73public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes);
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (12)
65PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty()); 82PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), null); 92PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), Array.Empty<Attribute>()); 103PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), [new BrowsableAttribute(false)]); 119PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), null); 134PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new ClassWithDefaultProperty(), null); 150PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new ClassWithDefaultProperty(), null); 166PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new ClassWithDefaultProperty(), null); 176PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), Array.Empty<Attribute>()); 187PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), [new BrowsableAttribute(false)]); 201public override PropertyDescriptorCollection GetProperties(object component) => null; 233public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
System\Windows\Forms\PropertyGridTests.cs (1)
2382public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) => throw new NotImplementedException();
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
317PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\TabPageTests.cs (1)
801.Returns(PropertyDescriptorCollection.Empty);
System\Windows\Forms\ToolTipTests.cs (1)
187var properties = TypeDescriptor.GetProperties(typeof(ToolTip));
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
300PropertyDescriptorCollection propertyDescriptorCollection =