191 references to
PresentationFramework (1)
MS\Internal\Data\PropertyPathWorker.cs (1)
1466if (properties[name] != null)
PresentationFramework-SystemData (2)
SystemDataExtension.cs (2)
77s_DataTablePropertyDescriptorType = pdc["Table1"].GetType(); 80s_DataRelationPropertyDescriptorType = pdc["IDRelation"].GetType();
PresentationFramework-SystemXmlLinq (4)
SystemXmlLinqExtension.cs (4)
24s_XElementElementsPropertyDescriptorType = pdc["Elements"].GetType(); 25s_XElementDescendantsPropertyDescriptorType = pdc["Descendants"].GetType(); 26s_XElementAttributePropertyDescriptorType = pdc["Attribute"].GetType(); 27s_XElementElementPropertyDescriptorType = pdc["Element"].GetType();
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerOptionService.cs (1)
70return options.Properties[valueName];
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
1530if (DataMember.Length != 0 && props[DataMember] is not null)
System\Windows\Forms\Controls\ListView\ListViewItemStateImageIndexConverter.cs (2)
51PropertyDescriptor? listViewProp = listViewItemProps["ListView"]; 62PropertyDescriptor? listViewImageListProperty = listViewProps["StateImageList"];
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (1)
100PropertyDescriptor? parentProp = props[ParentImageListProperty];
System\Windows\Forms\DataBinding\BindingSource.cs (2)
719PropertyDescriptor? dmProp = dsProps[_dataMember]; 905PropertyDescriptor? dmProp = dsProps[_dataMember];
System\Windows\Forms\ImageIndexConverter.cs (1)
123PropertyDescriptor? parentProp = props[ParentImageListProperty];
System\Windows\Forms\ImageKeyConverter.cs (1)
129PropertyDescriptor? parentProp = props[ParentImageListProperty];
System.Windows.Forms.Design (47)
System\ComponentModel\Design\DesignerActionUIService.cs (1)
77PropertyDescriptor? p = opts.Options.Properties["ObjectBoundSmartTagAutoShow"];
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (3)
156PropertyDescriptor? prop = props[propName]; 189PropertyDescriptor? prop = props[stateEntry.Key]; 423PropertyDescriptor? prop = eventProps[eventName];
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
376PropertyDescriptor? property = ourProperties[propertyName]; 1548PropertyDescriptor? p = properties[propertyReferenceEx.PropertyName]; 2179PropertyDescriptor? filterProp = manager.Properties["FilteredProperties"];
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
658PropertyDescriptor? clearProperty = manager.Properties["ClearCollections"];
System\ComponentModel\Design\Serialization\ComponentCache.cs (1)
30PropertyDescriptor? componentCacheProp = options.Options.Properties["UseOptimizedCodeGeneration"];
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (3)
180PropertyDescriptor? generateProp = props["GenerateMember"]; 220PropertyDescriptor? modifiersProp = props["Modifiers"]; 222modifiersProp ??= props["DefaultModifiers"];
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
143PropertyDescriptor? supportGenerate = manager.Properties["SupportsStatementGeneration"];
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
82PropertyDescriptor? p = options?.Options.Properties["UseSmartTags"];
System\Windows\Forms\Design\CommandSet.cs (14)
606PropertyDescriptor? currentSnapProp = props["SnapToGrid"]; 612PropertyDescriptor? gridSizeProp = props["GridSize"]; 1008PropertyDescriptor? locProp = props["Location"]; 1009PropertyDescriptor? sizeProp = props["Size"]; 1010PropertyDescriptor? lockProp = props["Locked"]; 1279PropertyDescriptor? locProp = props["Location"]; 1280PropertyDescriptor? sizeProp = props["Size"]; 1289PropertyDescriptor? lockProp = props["Locked"]; 1339PropertyDescriptor locProp = props["Location"]!; 2088PropertyDescriptor? nameProp = props["Name"]; 2093PropertyDescriptor? textProp = props["Text"]; 2731PropertyDescriptor? lockedDesc = props["Locked"]; 2739curSizeDesc = props["Size"]; 2740curLocDesc = props["Location"];
System\Windows\Forms\Design\ControlCommandSet.cs (3)
385currentSnapProp = props["SnapToGrid"]; 408currentSnapProp = props["SnapToGrid"]; 417gridSizeProp = props["GridSize"];
System\Windows\Forms\Design\ControlDesigner.cs (8)
206PropertyDescriptor? autoSizeProp = props["AutoSize"]; 207PropertyDescriptor? autoSizeModeProp = props["AutoSizeMode"]; 209if ((prop = props["Location"]) is not null && !prop.IsReadOnly) 214if ((prop = props["Size"]) is not null && !prop.IsReadOnly) 229if (props["Dock"] is PropertyDescriptor propDock) 268if (props["Locked"] is PropertyDescriptor pd) 916PropertyDescriptor? visibleProp = props["Visible"]; 922PropertyDescriptor? enabledProp = props["Enabled"];
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
141PropertyDescriptor? pd = props["UserAddedColumn"];
System\Windows\Forms\Design\DesignerUtils.cs (2)
354PropertyDescriptor? snaplinesProp = options.Options.Properties["UseSnapLines"]; 373PropertyDescriptor? prop = designerOptionService.Options.Properties[name];
System\Windows\Forms\Design\FormDocumentDesigner.cs (2)
237changeService?.OnComponentChanging(Component, props["ClientSize"]); 240changeService?.OnComponentChanged(Component, props["ClientSize"]);
System\Windows\Forms\Design\ImageIndexEditor.cs (1)
78instance = properties[ParentImageListProperty]?.GetValue(instance);
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
566PropertyDescriptor prop = props["Size"]; 584prop = props["Location"];
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (3)
20yield return new object[] { properties[nameof(RootContext.Expression)] }; 34MemberDescriptor member1 = properties[nameof(RootContext.Expression)]; 35MemberDescriptor member2 = properties[nameof(RootContext.Value)];
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
28PropertyDescriptor? propertyDescriptor = properties[nameof(ToolStripButton.Text)];
System.Windows.Forms.Primitives (1)
System\ComponentModel\PropertyDescriptorCollectionExtensions.cs (1)
14PropertyDescriptor? propertyDescriptor = propertyDescriptors[name];
System.Windows.Forms.Tests (122)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (64)
23PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 39PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 55PropertyDescriptor property = events[nameof(CustomAxHost.DispIdNotBrowsableProperty)]; 71PropertyDescriptor property = events[nameof(CustomAxHost.DispIdReadOnlyProperty)]; 87PropertyDescriptor property = events[nameof(CustomAxHost.DispIdNotBrowsableReadOnlyProperty)]; 103PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 114PropertyDescriptor property = events[nameof(CustomAxHost.CategoryProperty)]; 125PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 136PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 147PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 167PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 188PropertyDescriptor property = events[nameof(CustomAxHost.CustomConverterProperty)]; 199PropertyDescriptor property = events[nameof(CustomAxHost.DispIdCustomConverterProperty)]; 210PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 221PropertyDescriptor property = events[nameof(CustomAxHost.DescriptionProperty)]; 232PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 243PropertyDescriptor property = events[nameof(CustomAxHost.GetOnlyProperty)]; 254PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 265PropertyDescriptor property = events[nameof(CustomAxHost.NotBrowsableProperty)]; 276PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)]; 287PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 301PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 312PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)]; 367PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 378PropertyDescriptor property = events[nameof(CustomAxHost.DispIdEditorProperty)]; 392PropertyDescriptor property = events[nameof(CustomAxHost.DispIdUITypeEditorProperty)]; 415PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 438PropertyDescriptor property = events[nameof(CustomAxHost.DispIdEditorProperty)]; 464PropertyDescriptor property = events[nameof(CustomAxHost.DispIdUITypeEditorProperty)]; 499PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 523PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 542PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 567PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 603PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 634PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 655PropertyDescriptor property = events[propertyName]; 682PropertyDescriptor property = events[propertyName]; 703PropertyDescriptor property = events[propertyName]; 730PropertyDescriptor property = events[propertyName]; 756PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 768PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)]; 783PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 802PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 819PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 848PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 879PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 908PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 940PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 969PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 988PropertyDescriptor property = events[propertyName]; 1012PropertyDescriptor property = events[propertyName]; 1031PropertyDescriptor property = events[propertyName]; 1056PropertyDescriptor property = events[propertyName]; 1083PropertyDescriptor property = events[propertyName]; 1108PropertyDescriptor property = events[propertyName]; 1133PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1156PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1181PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 1204PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 1232PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1258PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1286PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 1342PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 1353PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)];
System\Windows\Forms\AxHostTests.cs (16)
2833Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2838Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2856Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2864Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2888Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2894Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2914Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2923Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2937Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2943Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2962Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2971Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2985Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2991Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 3010Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 3019Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (8)
48var handleProperty = properties["Handle"]; 66var typeProperty = properties["Type"]; 87Assert.Equal(PICTYPE.PICTYPE_BITMAP, (PICTYPE)(short)properties["Type"].GetValue(iPicture)); 131var urlProperty = properties["URL"]; 173var accChildCount = properties["accChildCount"]; 177var accFocus = properties["accFocus"]; 197var accChildCount = properties["accChildCount"]; 201var accFocus = properties["accFocus"];
System\Windows\Forms\DockPaddingEdgesTests.cs (5)
389PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.All)]; 410PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Left)]; 431PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Top)]; 452PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Right)]; 473PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Bottom)];
System\Windows\Forms\PaddingTests.cs (6)
98PropertyDescriptor property = properties[nameof(Padding.All)]; 118PropertyDescriptor property = properties[nameof(Padding.All)]; 168PropertyDescriptor property = properties[nameof(Padding.Left)]; 218PropertyDescriptor property = properties[nameof(Padding.Top)]; 268PropertyDescriptor property = properties[nameof(Padding.Right)]; 318PropertyDescriptor property = properties[nameof(Padding.Bottom)];
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (19)
65Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 66Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 82Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 83Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 92Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 93Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]); 94Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 103Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]); 119Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 120Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 134Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 135Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 150Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 151Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 166Assert.NotNull(properties[nameof(ClassWithNameProperty.Name)]); 176Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 177Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]); 178Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 187Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]);
System\Windows\Forms\ToolTipTests.cs (4)
186PropertyDescriptor automaticProperty = properties[nameof(ToolTip.AutomaticDelay)]; 187PropertyDescriptor initialProperty = properties[nameof(ToolTip.InitialDelay)]; 188PropertyDescriptor reshowProperty = properties[nameof(ToolTip.ReshowDelay)]; 189PropertyDescriptor autoPopProperty = properties[nameof(ToolTip.AutoPopDelay)];
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
305DataGridColumnStyle csOrderAmount = new DataGridTextBoxColumn(propertyDescriptorCollection["OrderAmount"], "c", isDefault: true)