49 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)
1327properties = 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 (3)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2176props = 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.Tests (3)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (1)
1900.Returns(new PropertyDescriptorCollection(Array.Empty<PropertyDescriptor>()));
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (1)
318.Returns(new PropertyDescriptorCollection(Array.Empty<PropertyDescriptor>()));
System\Windows\Forms\TableLayoutPanelTests.cs (1)
2154.Returns(new PropertyDescriptorCollection(Array.Empty<PropertyDescriptor>()));
444 references to PropertyDescriptorCollection
DesignSurfaceExt (3)
DesignSurfaceExt.cs (3)
127PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(ctrl); 137PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(ctrl); 175PropertyDescriptorCollection 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)
1465PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(item);
System\Windows\Data\BindingListCollectionView.cs (1)
2179PropertyDescriptorCollection pdc;
PresentationFramework-SystemData (1)
SystemDataExtension.cs (1)
76PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(list[0]);
PresentationFramework-SystemXmlLinq (1)
SystemXmlLinqExtension.cs (1)
22PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(xelement);
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
218PropertyDescriptorCollection
Serialization\FontTypeConverter.cs (1)
207PropertyDescriptorCollection
Serialization\ImageSourceTypeConverter.cs (1)
289PropertyDescriptorCollection
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)
115public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 117PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Point), attributes);
System\Drawing\RectangleConverter.cs (2)
121public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object? value, Attribute[]? attributes) 123PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Rectangle), attributes);
System\Drawing\SizeConverter.cs (2)
113public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 115PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Size), attributes);
System\Drawing\SizeFConverter.cs (2)
110public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes) 112PropertyDescriptorCollection 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.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)
1045PropertyDescriptorCollection props = TypeDescriptor.GetProperties( 1499PropertyDescriptorCollection 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)
1358PropertyDescriptorCollection props = DataManager.GetItemProperties(); 1389PropertyDescriptorCollection 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)
1299PropertyDescriptorCollection? 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 (62)
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)
73public 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); 2144PropertyDescriptorCollection properties = GetFilteredProperties(manager, value, filter).Sort(); 2167private static PropertyDescriptorCollection GetFilteredProperties(IDesignerSerializationManager manager, object value, Attribute[]? filter) 2169PropertyDescriptorCollection props = GetPropertiesHelper(manager, value, filter); 2196PropertyDescriptorCollection 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)
51PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
110PropertyDescriptorCollection 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); 915PropertyDescriptorCollection 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)
658PropertyDescriptorCollection? properties = null; 714private void AddDataSourceContents(TreeNodeCollection? nodes, object? dataSource, string? dataMember, PropertyDescriptorCollection? properties) 855PropertyDescriptorCollection? properties = GetItemProperties(dataSource, dataMember); 1098PropertyDescriptorCollection properties = ListBindingHelper.GetListItemProperties(dataSourceInstance); 1197PropertyDescriptorCollection properties = ListBindingHelper.GetListItemProperties(dataSourceInstance, [propertyDescriptor]); 1545private 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)
35PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component); 147PropertyDescriptorCollection 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\UpDownBaseDesigner.cs (1)
47PropertyDescriptorCollection props = TypeDescriptor.GetProperties(Component);
System.Windows.Forms.Design.Tests (9)
EnsureEditorsTests.cs (1)
149PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(type);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (3)
205PropertyDescriptorCollection properties = iManager.Properties; 303PropertyDescriptorCollection properties = iManager.Properties; 311PropertyDescriptorCollection otherProperties = iManager.Properties;
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (2)
19PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(RootContext)); 33PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(RootContext));
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
27PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(ToolStripButton));
System\Windows\Forms\Design\InheritedPropertyDescriptorTestExtensions.cs (1)
13PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(control);
ToolStripMenuItemDesignerTest.cs (1)
110PropertyDescriptorCollection 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 (134)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (64)
22PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 38PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 54PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 70PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 86PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 102PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 113PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 124PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 135PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 146PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 166PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 187PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 198PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 209PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 220PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 231PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 242PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 253PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 264PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 275PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 286PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 300PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 311PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 366PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 377PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 391PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 414PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 437PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 463PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 498PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 522PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 541PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 566PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 602PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 633PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 654PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 681PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 702PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 729PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 755PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 767PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 782PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 801PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 818PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 847PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 878PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 907PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 939PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 968PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 987PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1011PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1030PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1055PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1082PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1107PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1132PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1155PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1180PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1203PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1231PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1257PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1285PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1341PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 1352PropertyDescriptorCollection events = customTypeDescriptor.GetProperties();
System\Windows\Forms\AxHostTests.cs (8)
2832PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 2855PropertyDescriptorCollection events = customTypeDescriptor.GetProperties(); 2886PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties(attributes); 2912PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties(attributes); 2935PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new CustomAttribute()]); 2960PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new CustomAttribute()]); 2983PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new NoSuchAttribute()]); 3008PropertyDescriptorCollection properties = customTypeDescriptor.GetProperties([new NoSuchAttribute()]);
System\Windows\Forms\AxSystemMonitorTests.cs (1)
26var properties = TypeDescriptor.GetProperties(_control);
System\Windows\Forms\AxWebBrowserTests.cs (1)
28var properties = TypeDescriptor.GetProperties(_control);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
249var propertyDescriptors = TypeDescriptor.GetProperties(value, s_visible);
System\Windows\Forms\BindingSourceTests.cs (3)
846public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 863public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 881public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors)
System\Windows\Forms\ButtonBaseTests.cs (1)
667.Returns(PropertyDescriptorCollection.Empty);
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (2)
132public PropertyDescriptorCollection GetProperties() => throw new NotImplementedException(); 134public PropertyDescriptorCollection GetProperties(Attribute[]? attributes) => throw new NotImplementedException();
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (6)
43private static void ValidateIPictureDispProperties(object iPictureDisp, PropertyDescriptorCollection properties) 86var properties = TypeDescriptor.GetProperties(iPicture); 127private static void ValidateMediaPlayerProperties(object mediaPlayer, PropertyDescriptorCollection properties) 170var properties = descriptor.GetProperties(comWrapper); 193var properties = descriptor.GetProperties(comWrapper); 217var properties = TypeDescriptor.GetProperties(vbcontrol);
System\Windows\Forms\Design\PropertyTabTests.cs (4)
146PropertyDescriptorCollection result = TypeDescriptor.GetProperties(typeof(ClassWithDefaultProperty)); 172PropertyDescriptorCollection result = TypeDescriptor.GetProperties(typeof(ClassWithDefaultProperty)); 190public Func<object, Attribute[], PropertyDescriptorCollection> GetPropertiesAction { get; set; } 192public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes)
System\Windows\Forms\DockPaddingEdgesConverterTests.cs (1)
15PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\DockPaddingEdgesTests.cs (5)
388PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 409PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 430PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 451PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 472PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding);
System\Windows\Forms\LinkAreaConverterTests.cs (1)
203PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\ListBindingHelperTests.cs (10)
192nullMockTypedList.Setup(t => t.GetItemProperties(null)).Returns((PropertyDescriptorCollection)null); 277nullMockTypedList.Setup(t => t.GetItemProperties(null)).Returns((PropertyDescriptorCollection)null); 359nullMockTypedList.Setup(t => t.GetItemProperties(descriptors)).Returns((PropertyDescriptorCollection)null); 531public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 543public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 562public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 695public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 715public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 896public PropertyDescriptorCollection GetProperties(Attribute[] attributes) 947PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (1)
155PropertyDescriptorCollection props = _converter.GetProperties(null, range, null);
System\Windows\Forms\PaddingConverterTests.cs (1)
402PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\PaddingTests.cs (6)
97PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 117PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 167PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 217PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 267PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding); 317PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(padding);
System\Windows\Forms\PropertyGrid.PropertyTabCollectionTests.cs (2)
69public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes); 71public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object component, Attribute[] attributes) => TypeDescriptor.GetProperties(component, attributes);
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (12)
63PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty()); 80PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), null); 90PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), Array.Empty<Attribute>()); 101PropertyDescriptorCollection properties = tab.GetProperties(new ClassWithDefaultProperty(), [new BrowsableAttribute(false)]); 117PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), null); 132PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new ClassWithDefaultProperty(), null); 148PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new ClassWithDefaultProperty(), null); 164PropertyDescriptorCollection properties = tab.GetProperties(mockTypeDescriptorContext.Object, new ClassWithDefaultProperty(), null); 174PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), Array.Empty<Attribute>()); 185PropertyDescriptorCollection properties = tab.GetProperties(null, new ClassWithDefaultProperty(), [new BrowsableAttribute(false)]); 199public override PropertyDescriptorCollection GetProperties(object component) => null; 231public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
System\Windows\Forms\PropertyGridTests.cs (1)
2380public override PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) => throw new NotImplementedException();
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
315PropertyDescriptorCollection properties = converter.GetProperties(null);
System\Windows\Forms\TabPageTests.cs (1)
799.Returns(PropertyDescriptorCollection.Empty);
System\Windows\Forms\ToolTipTests.cs (1)
185var properties = TypeDescriptor.GetProperties(typeof(ToolTip));
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
300PropertyDescriptorCollection propertyDescriptorCollection =