193 references to
PresentationFramework (1)
MS\Internal\Data\PropertyPathWorker.cs (1)
1467if (properties[name] != null)
PresentationFramework-SystemData (2)
SystemDataExtension.cs (2)
76s_DataTablePropertyDescriptorType = pdc["Table1"].GetType(); 79s_DataRelationPropertyDescriptorType = pdc["IDRelation"].GetType();
PresentationFramework-SystemXmlLinq (4)
SystemXmlLinqExtension.cs (4)
23s_XElementElementsPropertyDescriptorType = pdc["Elements"].GetType(); 24s_XElementDescendantsPropertyDescriptorType = pdc["Descendants"].GetType(); 25s_XElementAttributePropertyDescriptorType = pdc["Attribute"].GetType(); 26s_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 (49)
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]; 2176PropertyDescriptor? 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) 931PropertyDescriptor? visibleProp = props["Visible"]; 937PropertyDescriptor? 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\ToolStripCustomTypeDescriptor.cs (2)
52_propItems = _collection["Items"]; 86_propItems = _collection["Items"];
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (3)
22yield return new object[] { properties[nameof(RootContext.Expression)] }; 36MemberDescriptor member1 = properties[nameof(RootContext.Expression)]; 37MemberDescriptor member2 = properties[nameof(RootContext.Value)];
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
26PropertyDescriptor? 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)
25PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 41PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 57PropertyDescriptor property = events[nameof(CustomAxHost.DispIdNotBrowsableProperty)]; 73PropertyDescriptor property = events[nameof(CustomAxHost.DispIdReadOnlyProperty)]; 89PropertyDescriptor property = events[nameof(CustomAxHost.DispIdNotBrowsableReadOnlyProperty)]; 105PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 116PropertyDescriptor property = events[nameof(CustomAxHost.CategoryProperty)]; 127PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 138PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 149PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 169PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 190PropertyDescriptor property = events[nameof(CustomAxHost.CustomConverterProperty)]; 201PropertyDescriptor property = events[nameof(CustomAxHost.DispIdCustomConverterProperty)]; 212PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 223PropertyDescriptor property = events[nameof(CustomAxHost.DescriptionProperty)]; 234PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 245PropertyDescriptor property = events[nameof(CustomAxHost.GetOnlyProperty)]; 256PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 267PropertyDescriptor property = events[nameof(CustomAxHost.NotBrowsableProperty)]; 278PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)]; 289PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 303PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 314PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)]; 369PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 380PropertyDescriptor property = events[nameof(CustomAxHost.DispIdEditorProperty)]; 394PropertyDescriptor property = events[nameof(CustomAxHost.DispIdUITypeEditorProperty)]; 417PropertyDescriptor property = events[nameof(CustomAxHost.DispIdProperty)]; 440PropertyDescriptor property = events[nameof(CustomAxHost.DispIdEditorProperty)]; 466PropertyDescriptor property = events[nameof(CustomAxHost.DispIdUITypeEditorProperty)]; 501PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 525PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 544PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 569PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 605PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 636PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 657PropertyDescriptor property = events[propertyName]; 684PropertyDescriptor property = events[propertyName]; 705PropertyDescriptor property = events[propertyName]; 732PropertyDescriptor property = events[propertyName]; 758PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 770PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)]; 785PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 804PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 821PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 850PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 881PropertyDescriptor property = events[nameof(CustomAxHost.DataSourceProperty)]; 910PropertyDescriptor property = events[nameof(CustomAxHost.DispIdDataSourceProperty)]; 942PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 971PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 990PropertyDescriptor property = events[propertyName]; 1014PropertyDescriptor property = events[propertyName]; 1033PropertyDescriptor property = events[propertyName]; 1058PropertyDescriptor property = events[propertyName]; 1085PropertyDescriptor property = events[propertyName]; 1110PropertyDescriptor property = events[propertyName]; 1135PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1158PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1183PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 1206PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 1234PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1260PropertyDescriptor property = events[nameof(CustomAxHost.IntProperty)]; 1288PropertyDescriptor property = events[nameof(CustomAxHost.EnumProperty)]; 1344PropertyDescriptor property = events[nameof(CustomAxHost.CustomProperty)]; 1355PropertyDescriptor property = events[nameof(CustomAxHost.ReadOnlyProperty)];
System\Windows\Forms\AxHostTests.cs (16)
2835Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2840Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2858Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2866Assert.NotNull(events[nameof(CustomAxHost.CustomProperty)]); 2890Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2896Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2916Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2925Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2939Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2945Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2964Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2973Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2987Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 2993Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 3012Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]); 3021Assert.NotNull(properties[nameof(CustomAxHost.CustomProperty)]);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (8)
50var handleProperty = properties["Handle"]; 68var typeProperty = properties["Type"]; 89Assert.Equal(PICTYPE.PICTYPE_BITMAP, (PICTYPE)(short)properties["Type"].GetValue(iPicture)); 133var urlProperty = properties["URL"]; 175var accChildCount = properties["accChildCount"]; 179var accFocus = properties["accFocus"]; 199var accChildCount = properties["accChildCount"]; 203var accFocus = properties["accFocus"];
System\Windows\Forms\DockPaddingEdgesTests.cs (5)
391PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.All)]; 412PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Left)]; 433PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Top)]; 454PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Right)]; 475PropertyDescriptor property = properties[nameof(ScrollableControl.DockPaddingEdges.Bottom)];
System\Windows\Forms\PaddingTests.cs (6)
100PropertyDescriptor property = properties[nameof(Padding.All)]; 120PropertyDescriptor property = properties[nameof(Padding.All)]; 170PropertyDescriptor property = properties[nameof(Padding.Left)]; 220PropertyDescriptor property = properties[nameof(Padding.Top)]; 270PropertyDescriptor property = properties[nameof(Padding.Right)]; 320PropertyDescriptor property = properties[nameof(Padding.Bottom)];
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (19)
67Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 68Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 84Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 85Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 94Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 95Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]); 96Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 105Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]); 121Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 122Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 136Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 137Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 152Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 153Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 168Assert.NotNull(properties[nameof(ClassWithNameProperty.Name)]); 178Assert.NotNull(properties[nameof(ClassWithDefaultProperty.Value)]); 179Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]); 180Assert.NotNull(properties[nameof(ClassWithDefaultProperty.BrowsableProperty)]); 189Assert.NotNull(properties[nameof(ClassWithDefaultProperty.NotBrowsableProperty)]);
System\Windows\Forms\ToolTipTests.cs (4)
188PropertyDescriptor automaticProperty = properties[nameof(ToolTip.AutomaticDelay)]; 189PropertyDescriptor initialProperty = properties[nameof(ToolTip.InitialDelay)]; 190PropertyDescriptor reshowProperty = properties[nameof(ToolTip.ReshowDelay)]; 191PropertyDescriptor autoPopProperty = properties[nameof(ToolTip.AutoPopDelay)];
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
305DataGridColumnStyle csOrderAmount = new DataGridTextBoxColumn(propertyDescriptorCollection["OrderAmount"], "c", isDefault: true)