51 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)
198_properties = new PropertyDescriptorCollection(propArray, true); 437PropertyDescriptorCollection 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)
633properties = new PropertyDescriptorCollection(fullArray, true);
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
496_properties = new PropertyDescriptorCollection(propertyArray, true);
System\ComponentModel\TypeDescriptor.cs (9)
1343return new PropertyDescriptorCollection(null, true); 1370return new PropertyDescriptorCollection(null, true); 1382properties = new PropertyDescriptorCollection(descriptors, true); 1449return new PropertyDescriptorCollection(null, true); 1521props = new PropertyDescriptorCollection(propArray, true); 1590props = new PropertyDescriptorCollection(propArray, true); 1928cacheValue = new PropertyDescriptorCollection(propArray, true); 2119cacheValue = new PropertyDescriptorCollection(propArray, true); 2267cacheValue = 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)
418propertyDescriptors = new PropertyDescriptorCollection(properties); 587return 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 (10)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2679_propsStash = new PropertyDescriptorCollection([.. returnProperties]);
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)
1318properties = 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 (7)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1140_properties = new PropertyDescriptorCollection([this]);
System\ComponentModel\Design\EventBindingService.cs (1)
191return new PropertyDescriptorCollection([.. props]);
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)
1294return new PropertyDescriptorCollection(propArray);
System\Windows\Forms\Design\ToolStripCustomTypeDescriptor.cs (2)
47_collection = new PropertyDescriptorCollection(propArray, false); 81_collection = new PropertyDescriptorCollection(propArray, false);
303 references to PropertyDescriptorCollection
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)
2177PropertyDescriptorCollection 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\runtime\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)
198static 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)
115private PropertyDescriptorCollection? _properties; 167public PropertyDescriptorCollection Properties 178PropertyDescriptorCollection props = TypeDescriptor.GetProperties(_value); 435public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? cxt, object value, Attribute[]? attributes) 437PropertyDescriptorCollection 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)
551internal PropertyDescriptorCollection GetExtendedPropertiesFromRegisteredType(object instance) => GetExtendedProperties(instance); 557internal PropertyDescriptorCollection GetExtendedProperties(object instance) 576return PropertyDescriptorCollection.Empty; 583PropertyDescriptorCollection? properties = null; 587properties = cache[s_extenderPropertiesKey] as PropertyDescriptorCollection; 637properties = PropertyDescriptorCollection.Empty; 876internal PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type type) 885internal 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)
1337public static PropertyDescriptorCollection GetProperties( 1352public static PropertyDescriptorCollection GetPropertiesFromRegisteredType(Type componentType) 1363public static PropertyDescriptorCollection GetProperties( 1373PropertyDescriptorCollection properties = GetDescriptor(componentType, nameof(componentType)).GetProperties(attributes); 1393public static PropertyDescriptorCollection GetProperties(object component) 1401public static PropertyDescriptorCollection GetPropertiesFromRegisteredType(object component) 1411public static PropertyDescriptorCollection GetProperties(object component, bool noCustomTypeDesc) 1422public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes) 1433public static PropertyDescriptorCollection GetProperties(object component, Attribute[]? attributes, bool noCustomTypeDesc) 1444private static PropertyDescriptorCollection GetPropertiesImpl(object component, Attribute[]? attributes, bool noCustomTypeDesc, bool noAttributes) 1517if (!(results is PropertyDescriptorCollection props)) 1559private static PropertyDescriptorCollection GetPropertiesFromRegisteredTypeImpl(object component) 1586if (!(results is PropertyDescriptorCollection props)) 2852PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 2858PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3189PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3191PropertyDescriptorCollection properties = _primary.GetProperties() ?? _secondary.GetProperties(); 3201PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3203PropertyDescriptorCollection properties = 3679PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3692PropertyDescriptorCollection properties = desc.GetProperties(); 3700PropertyDescriptorCollection ICustomTypeDescriptor.GetPropertiesFromRegisteredType() 3713PropertyDescriptorCollection properties = desc.GetPropertiesFromRegisteredType(); 3722PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 3734PropertyDescriptorCollection props = rp.GetExtendedProperties(_instance); 3740PropertyDescriptorCollection properties = desc.GetProperties(attributes); 4091public PropertyDescriptorCollection GetProperties() 4097PropertyDescriptorCollection properties; 4119public PropertyDescriptorCollection GetPropertiesFromRegisteredType() 4125PropertyDescriptorCollection properties; 4149public PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 4155PropertyDescriptorCollection 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)
34private PropertyDescriptorCollection? _propertyDescriptors; 404private PropertyDescriptorCollection GetProperties() 406PropertyDescriptorCollection? propertyDescriptors = _propertyDescriptors; 543private PropertyDescriptorCollection GetProperties(Attribute[]? attributes) 545PropertyDescriptorCollection propertyDescriptors = GetProperties(); 630PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 635PropertyDescriptorCollection 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.Windows.Forms (91)
System\Windows\Forms\ActiveX\AxHost.cs (6)
129private PropertyDescriptorCollection? _propsStash; 2535private PropertyDescriptorCollection FillProperties(Attribute[]? attributes) 2584PropertyDescriptorCollection baseProps = TypeDescriptor.GetProperties(this, null, true); 2687PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 2694PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attributes) 2709PropertyDescriptorCollection props = FillProperties(null);
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
500PropertyDescriptorCollection 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)
149PropertyDescriptorCollection? props = DataManager?.GetItemProperties(); 263PropertyDescriptorCollection props = dataManager.GetItemProperties(); 378PropertyDescriptorCollection 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)
1290PropertyDescriptorCollection? 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)
137var objectProperties = new PropertyDescriptorCollection[objects.Length]; 153PropertyDescriptorCollection? 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)
59internal 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)
1130private readonly PropertyDescriptorCollection _properties; 1298PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => _properties; 1307PropertyDescriptorCollection 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)
598PropertyDescriptorCollection props = TypeDescriptor.GetProperties(currentSnapComponent); 1000PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 1271PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 1331PropertyDescriptorCollection props = TypeDescriptor.GetProperties(comp); 1959PropertyDescriptorCollection eventProps = evs.GetEventProperties(TypeDescriptor.GetEvents(curComp)); 2082PropertyDescriptorCollection props = TypeDescriptor.GetProperties(curComp); 2722PropertyDescriptorCollection props = TypeDescriptor.GetProperties(curComp);
System\Windows\Forms\Design\ControlCommandSet.cs (1)
370PropertyDescriptorCollection 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)
1257PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() => ((ICustomTypeDescriptor)this).GetProperties(null); 1260PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[]? attrs) 1262PropertyDescriptorCollection props = TypeDescriptor.GetProperties(DataGridViewColumn);
System\Windows\Forms\Design\DataGridViewDesigner.cs (3)
297PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataGridView); 376PropertyDescriptorCollection? backEndProps = null; 553PropertyDescriptorCollection? 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]); 1539private 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.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);