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