370 references to GetProperties
DesignSurface (2)
CustomControls\CustomButtonDesignerActionList.cs (2)
53
PropertyDescriptor dockProp = TypeDescriptor.
GetProperties
(Component)[nameof(CustomButton.BackColor)];
92
PropertyDescriptor pd = TypeDescriptor.
GetProperties
(_control)[propertyName];
DesignSurfaceExt (3)
DesignSurfaceExt.cs (3)
127
PropertyDescriptorCollection pdc = TypeDescriptor.
GetProperties
(ctrl);
137
PropertyDescriptorCollection pdc = TypeDescriptor.
GetProperties
(ctrl);
175
PropertyDescriptorCollection pdc = TypeDescriptor.
GetProperties
(newComp);
PresentationFramework (6)
MS\Internal\Data\PropertyPathWorker.cs (1)
1488
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(item);
MS\Internal\Data\ValueTable.cs (1)
219
pd = TypeDescriptor.
GetProperties
(item)[name];
System\Windows\Data\CollectionView.cs (1)
1477
properties = TypeDescriptor.
GetProperties
(item);
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
96
foreach (PropertyDescriptor descriptor in TypeDescriptor.
GetProperties
(_instance))
System\Windows\PropertyPath.cs (2)
606
accessor = TypeDescriptor.
GetProperties
(item)[propertyName];
627
accessor = TypeDescriptor.
GetProperties
(item)[propertyName];
PresentationFramework-SystemData (1)
SystemDataExtension.cs (1)
70
PropertyDescriptorCollection pdc = TypeDescriptor.
GetProperties
(list[0]);
PresentationFramework-SystemXmlLinq (1)
SystemXmlLinqExtension.cs (1)
22
PropertyDescriptorCollection pdc = TypeDescriptor.
GetProperties
(xelement);
System.ComponentModel.TypeConverter (3)
System\ComponentModel\ComponentResourceManager.cs (1)
208
static PropertyDescriptorCollection TypeDescriptorGetProperties(object value) => TypeDescriptor.
GetProperties
(value);
System\ComponentModel\Design\DesignerOptionService.cs (1)
183
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(_value);
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
300
return TypeDescriptor.
GetProperties
(instance)[attr.Name];
System.Data.Common (5)
System\Data\xmlsaver.cs (1)
117
PropertyDescriptorCollection pds = TypeDescriptor.
GetProperties
(instance);
System\Data\XMLSchema.cs (4)
42
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(instance)[name];
289
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(instance)[name];
331
object? val = TypeDescriptor.
GetProperties
(instance)["ExtendedProperties"]!.GetValue(instance);
402
object? val = TypeDescriptor.
GetProperties
(instance)["ExtendedProperties"]!.GetValue(instance);
System.Windows.Forms (31)
misc\ImageListUtils.cs (1)
38
PropertyDescriptor? property = TypeDescriptor.
GetProperties
(parentInstance)[pathInfo[i]];
System\Windows\Forms\ActiveX\AxHost.cs (2)
997
if (TypeDescriptor.
GetProperties
(this)["SelectionStyle"] is { } property && property.PropertyType == typeof(int))
2395
if (TypeDescriptor.
GetProperties
(this)["SelectionStyle"] is { } property && property.PropertyType == typeof(int))
System\Windows\Forms\Control.cs (2)
12630
sizeProperty = TypeDescriptor.
GetProperties
(this)[PropertyNames.Size];
12631
locationProperty = TypeDescriptor.
GetProperties
(this)[PropertyNames.Location];
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
168
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(this)["UseVisualStyleBackColor"];
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (6)
1062
PropertyDescriptor? propDesc = TypeDescriptor.
GetProperties
(item).Find(DisplayMember, ignoreCase: true);
1071
PropertyDescriptor? propDesc = TypeDescriptor.
GetProperties
(item).Find(ValueMember, ignoreCase: true);
1136
PropertyDescriptor? propDesc = TypeDescriptor.
GetProperties
(item).Find(ValueMember, ignoreCase: true);
1146
PropertyDescriptor? propDesc = TypeDescriptor.
GetProperties
(item).Find(DisplayMember, ignoreCase: true);
1455
PropertyDescriptor? propDesc = TypeDescriptor.
GetProperties
(item!).Find(field, ignoreCase: true);
1473
PropertyDescriptor? propDesc = TypeDescriptor.
GetProperties
(itemCandidate).Find(field, ignoreCase: true);
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
448
descriptor = TypeDescriptor.
GetProperties
(item).Find(field, true);
System\Windows\Forms\Controls\ListView\ListViewItemStateImageIndexConverter.cs (2)
50
PropertyDescriptorCollection listViewItemProps = TypeDescriptor.
GetProperties
(instance);
61
PropertyDescriptorCollection listViewProps = TypeDescriptor.
GetProperties
(listViewInstance);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1156
PropertyDescriptor? property = TypeDescriptor.
GetProperties
(owner)[propertyName];
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
125
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(this)[nameof(UseVisualStyleBackColor)];
System\Windows\Forms\Controls\TreeView\TreeViewImageIndexConverter.cs (1)
85
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(instance);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
735
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(this)["SelectionStyle"];
1068
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(this)["SelectionStyle"];
System\Windows\Forms\DataBinding\Binding.cs (1)
502
propInfos = TypeDescriptor.
GetProperties
(BindableComponent);
System\Windows\Forms\DataBinding\BindingManagerBase.cs (2)
123
return TypeDescriptor.
GetProperties
(list[0]!);
159
itemProps = TypeDescriptor.
GetProperties
(list[0]!);
System\Windows\Forms\DataBinding\ListBindingConverter.cs (2)
141
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(b)[constructorParameterProperty];
187
val = TypeDescriptor.
GetProperties
(b)[constructorParameterProperty]?.GetValue(b);
System\Windows\Forms\DataBinding\ListBindingHelper.cs (1)
142
pdc = TypeDescriptor.
GetProperties
(target!);
System\Windows\Forms\DataBinding\PropertyManager.cs (1)
39
_propInfo = TypeDescriptor.
GetProperties
(_dataSource).Find(_propName, true);
System\Windows\Forms\ImageIndexConverter.cs (1)
108
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(instance);
System\Windows\Forms\ImageKeyConverter.cs (1)
114
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(instance);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
515
prop = TypeDescriptor.
GetProperties
(c)["Name"];
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.TableLayoutSettingsStub.cs (1)
49
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(tableControl)["Name"];
System.Windows.Forms.Design (289)
System\ComponentModel\Design\ComponentDesigner.cs (1)
410
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(Component);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
669
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(list)[pti.MemberName]
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (1)
25
protected PropertyDescriptor PropertyDescriptor => _propDesc ??= TypeDescriptor.
GetProperties
(_actionList!)[PropertyItem!.MemberName]!;
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (5)
153
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(comp);
185
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(comp);
444
PropertyDescriptor? modifierProp = TypeDescriptor.
GetProperties
(comp)["Modifiers"];
580
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(data._value);
636
object? modifier = TypeDescriptor.
GetProperties
(data._value)["Modifiers"]?.GetValue(data._value);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
233
return TypeDescriptor.
GetProperties
(instance);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
63
props ??= TypeDescriptor.
GetProperties
(comp);
105
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(value);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
672
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(propObject);
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (1)
54
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(comp)["LoadLanguage"];
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
306
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(value)["Modifiers"];
System\ComponentModel\Design\ToolStripContainerActionList.cs (7)
34
PropertyDescriptor? getProperty = TypeDescriptor.
GetProperties
(component)?[propertyName];
55
PropertyDescriptor? visibleProperty = TypeDescriptor.
GetProperties
(control)["Visible"];
73
PropertyDescriptor? changingProperty = TypeDescriptor.
GetProperties
(component)[propertyName];
91
PropertyDescriptor? dockProperty = TypeDescriptor.
GetProperties
(_toolStripContainer)["Dock"];
124
PropertyDescriptor? dockProp = TypeDescriptor.
GetProperties
(_toolStripContainer)["Dock"];
143
PropertyDescriptor? autoScrollProp = TypeDescriptor.
GetProperties
(newParent)["AutoScroll"];
171
PropertyDescriptor? controlsProp = TypeDescriptor.
GetProperties
(newParent)["Controls"];
System\ComponentModel\Design\UndoEngine.cs (1)
452
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(comp);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (7)
237
PropertyDescriptor propLoc = TypeDescriptor.
GetProperties
(currentControl)["Visible"];
264
PropertyDescriptor propLoc = TypeDescriptor.
GetProperties
(_dragComponents[dragComponentIndex].dragComponent)["Location"];
341
PropertyDescriptor targetProp = TypeDescriptor.
GetProperties
(dragTarget)["Controls"];
342
PropertyDescriptor sourceProp = TypeDescriptor.
GetProperties
(dragSource)["Controls"];
460
PropertyDescriptor propLoc = TypeDescriptor.
GetProperties
(primaryComponent)["Location"];
877
PropertyDescriptor snapProp = TypeDescriptor.
GetProperties
(parentControl)["SnapToGrid"];
880
PropertyDescriptor gridProp = TypeDescriptor.
GetProperties
(parentControl)["GridSize"];
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (14)
266
PropertyDescriptor snapProp = TypeDescriptor.
GetProperties
(control.Parent)["SnapToGrid"];
269
PropertyDescriptor gridProp = TypeDescriptor.
GetProperties
(control.Parent)["GridSize"];
330
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(control)["Locked"];
426
PropertyDescriptor propIntegralHeight = TypeDescriptor.
GetProperties
(control)["IntegralHeight"];
432
PropertyDescriptor propItemHeight = TypeDescriptor.
GetProperties
(control)["ItemHeight"];
518
propWidth = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Width"];
519
propHeight = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Height"];
520
propTop = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Top"];
521
propLeft = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Left"];
568
PropertyDescriptor propIntegralHeight = TypeDescriptor.
GetProperties
(targetControl)["IntegralHeight"];
924
PropertyDescriptor propWidth = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Width"];
925
PropertyDescriptor propHeight = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Height"];
926
PropertyDescriptor propTop = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Top"];
927
PropertyDescriptor propLeft = TypeDescriptor.
GetProperties
(_resizeComponents[0].resizeControl)["Left"];
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (6)
102
_resizeProp = TypeDescriptor.
GetProperties
(_tableGlyph.Style)[isColumn ? "Width" : "Height"];
108
_changedProp = TypeDescriptor.
GetProperties
(_table)[isColumn ? "ColumnStyles" : "RowStyles"];
127
_rightStyle.styleProp = TypeDescriptor.
GetProperties
(_rightStyle.style)[isColumn ? "Width" : "Height"];
131
_leftStyle.styleProp = TypeDescriptor.
GetProperties
(_leftStyle.style)[isColumn ? "Width" : "Height"];
323
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(_styles[i])[isColumn ? "Width" : "Height"];
331
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(_styles[absIndex])[isColumn ? "Width" : "Height"];
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
164
PropertyDescriptor? controlsProp = TypeDescriptor.
GetProperties
(newParent)["Controls"];
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (2)
78
MemberDescriptor? memberDescriptor = TypeDescriptor.
GetProperties
(navigator)["Items"];
84
PropertyDescriptor? propertyDescriptor = TypeDescriptor.
GetProperties
(navigator)[itemName];
System\Windows\Forms\Design\BindingSourceDesigner.cs (1)
62
PropertyDescriptorCollection propertyDescriptorCollection = TypeDescriptor.
GetProperties
(bindingSource);
System\Windows\Forms\Design\ButtonBaseDesigner.cs (2)
27
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(Component)["UseVisualStyleBackColor"];
51
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
65
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(newParent)["Controls"];
System\Windows\Forms\Design\ColumnHeaderCollectionEditor.cs (1)
62
property = TypeDescriptor.
GetProperties
(Context.Instance)["Columns"];
System\Windows\Forms\Design\ComboBoxDesigner.cs (2)
84
PropertyDescriptor? textProp = TypeDescriptor.
GetProperties
(Component)["Text"];
110
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
System\Windows\Forms\Design\CommandSet.cs (12)
559
return TypeDescriptor.
GetProperties
(comp)[propName];
604
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(currentSnapComponent);
925
PropertyDescriptor? propLoc = TypeDescriptor.
GetProperties
(component)["Location"];
1006
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(comp);
1277
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(comp);
1337
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(comp);
2087
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(curComp);
2727
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(curComp);
3467
PropertyDescriptor pProp = TypeDescriptor.
GetProperties
(p!)["Location"]!;
3468
PropertyDescriptor qProp = TypeDescriptor.
GetProperties
(q!)["Location"]!;
3485
PropertyDescriptor pProp = TypeDescriptor.
GetProperties
(p!)["Location"]!;
3486
PropertyDescriptor qProp = TypeDescriptor.
GetProperties
(q!)["Location"]!;
System\Windows\Forms\Design\ComponentTray.cs (5)
306
PropertyDescriptor trayIconProp = TypeDescriptor.
GetProperties
(_mainDesigner.Component)["TrayLargeIcon"];
412
PropertyDescriptor trayAAProp = TypeDescriptor.
GetProperties
(_mainDesigner.Component)["TrayAutoArrange"];
1840
PropertyDescriptor ctlLocation = TypeDescriptor.
GetProperties
(comp)["TrayLocation"];
1875
PropertyDescriptor ctlLocation = TypeDescriptor.
GetProperties
(comp)["TrayLocation"];
2371
prop = TypeDescriptor.
GetProperties
(_component)["Locked"];
System\Windows\Forms\Design\ContextMenuStripActionList.cs (2)
23
PropertyDescriptor? getProperty = TypeDescriptor.
GetProperties
(_toolStripDropDown)[propertyName];
36
PropertyDescriptor? changingProperty = TypeDescriptor.
GetProperties
(_toolStripDropDown)[propertyName];
System\Windows\Forms\Design\ControlCommandSet.cs (10)
384
props = TypeDescriptor.
GetProperties
(c);
404
props = TypeDescriptor.
GetProperties
(currentSnapComponent);
533
PropertyDescriptor dockProp = TypeDescriptor.
GetProperties
(comp)["Dock"];
770
PropertyDescriptor propIntegralHeight = TypeDescriptor.
GetProperties
(component)["IntegralHeight"];
776
PropertyDescriptor propItemHeight = TypeDescriptor.
GetProperties
(component)["ItemHeight"];
785
PropertyDescriptor propSize = TypeDescriptor.
GetProperties
(component)["Size"];
1046
controlsProp = TypeDescriptor.
GetProperties
(parent)["Controls"];
1109
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(parent)["Controls"];
1187
PropertyDescriptor lockedProp = TypeDescriptor.
GetProperties
(_baseControl)["Locked"];
1205
lockedProp = TypeDescriptor.
GetProperties
(component)["Locked"];
System\Windows\Forms\Design\ControlDesigner.cs (5)
205
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(component);
1141
PropertyDescriptor? textProp = TypeDescriptor.
GetProperties
(Component)["Text"];
1177
PropertyDescriptor? dockProp = TypeDescriptor.
GetProperties
(Component)["Dock"];
1201
PropertyDescriptor? textProp = TypeDescriptor.
GetProperties
(Component)["Text"];
1595
_hasLocation = TypeDescriptor.
GetProperties
(Component)["Location"] is not null;
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (2)
28
PropertyDescriptor? dockProp = TypeDescriptor.
GetProperties
(Component)["Dock"];
64
PropertyDescriptor dockProp = TypeDescriptor.
GetProperties
(Component!)["Dock"]!;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
140
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(column);
540
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(_liveDataGridView)["Columns"];
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (5)
183
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(_liveDataGridView)["Columns"];
264
PropertyDescriptor? propertyDescriptor = TypeDescriptor.
GetProperties
(newColumns[i])["DisplayIndex"];
274
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(newColumns[i])["UserAddedColumn"];
643
PropertyDescriptor? propertyDescriptor = TypeDescriptor.
GetProperties
(col)["UserAddedColumn"];
1268
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(DataGridViewColumn);
System\Windows\Forms\Design\DataGridViewDesigner.cs (11)
307
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(dataGridView);
413
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(dataGridViewColumn)["UserAddedColumn"];
453
PropertyDescriptor? columnsProp = TypeDescriptor.
GetProperties
(dataGridView)["Columns"];
473
PropertyDescriptor? pd = TypeDescriptor.
GetProperties
(dataGridViewColumn)["UserAddedColumn"];
579
PropertyDescriptor? columnsProp = TypeDescriptor.
GetProperties
(dataGridView)["Columns"];
591
PropertyDescriptor? propertyDescriptor = TypeDescriptor.
GetProperties
(col)["UserAddedColumn"];
843
PropertyDescriptor? dataSourceProp = TypeDescriptor.
GetProperties
(dataGridView)["DataSource"];
937
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(dataGridView)["AllowUserToAddRows"];
980
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(dataGridView)["AllowUserToDeleteRows"];
1023
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(dataGridView)["AllowUserToReorderColumns"];
1066
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(dataGridView)["ReadOnly"];
System\Windows\Forms\Design\DocumentDesigner.cs (3)
517
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(Component)["Locked"];
524
prop = TypeDescriptor.
GetProperties
(Component)["AutoSize"];
531
prop = TypeDescriptor.
GetProperties
(Component)["AutoSizeMode"];
System\Windows\Forms\Design\EditorServiceContext.cs (1)
46
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(objectToChange)[propName]!;
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (2)
591
PropertyDescriptor controlsProperty = TypeDescriptor.
GetProperties
(Component)["Controls"];
724
PropertyDescriptor controlsProperty = TypeDescriptor.
GetProperties
(Component)["Controls"];
System\Windows\Forms\Design\FormatStringEditor.cs (10)
47
changeService.OnComponentChanging(cellStyle, TypeDescriptor.
GetProperties
(cellStyle)["Format"]);
48
changeService.OnComponentChanging(cellStyle, TypeDescriptor.
GetProperties
(cellStyle)["NullValue"]);
49
changeService.OnComponentChanging(cellStyle, TypeDescriptor.
GetProperties
(cellStyle)["FormatProvider"]);
53
changeService.OnComponentChanging(component, TypeDescriptor.
GetProperties
(component)["FormatString"]);
54
changeService.OnComponentChanging(component, TypeDescriptor.
GetProperties
(component)["FormatInfo"]);
73
changeService.OnComponentChanged(cellStyle, TypeDescriptor.
GetProperties
(cellStyle)["Format"]);
74
changeService.OnComponentChanged(cellStyle, TypeDescriptor.
GetProperties
(cellStyle)["NullValue"]);
75
changeService.OnComponentChanged(cellStyle, TypeDescriptor.
GetProperties
(cellStyle)["FormatProvider"]);
79
changeService.OnComponentChanged(component, TypeDescriptor.
GetProperties
(component)["FormatString"]);
80
changeService.OnComponentChanged(component, TypeDescriptor.
GetProperties
(component)["FormatInfo"]);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
236
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
System\Windows\Forms\Design\ImageCollectionEditor.cs (1)
37
PropertyDescriptor property = TypeDescriptor.
GetProperties
(value)["Name"];
System\Windows\Forms\Design\ImageIndexEditor.cs (2)
63
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(instance);
162
PropertyDescriptor? property = TypeDescriptor.
GetProperties
(parentInstance)[pathInfo[i]];
System\Windows\Forms\Design\ImageListActionList.cs (2)
29
TypeDescriptor.
GetProperties
(Component)[nameof(ColorDepth)]?.SetValue(Component, value);
41
TypeDescriptor.
GetProperties
(Component)[nameof(ImageSize)]?.SetValue(Component, value);
System\Windows\Forms\Design\LabelDesigner.cs (2)
35
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
147
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
System\Windows\Forms\Design\LinkAreaEditor.cs (1)
37
property = TypeDescriptor.
GetProperties
(context.Instance)["Text"];
System\Windows\Forms\Design\ListViewActionList.cs (3)
33
set => TypeDescriptor.
GetProperties
(_listView)[nameof(View)]!.SetValue(Component, value);
39
set => TypeDescriptor.
GetProperties
(_listView)[nameof(LargeImageList)]!.SetValue(Component, value);
45
set => TypeDescriptor.
GetProperties
(_listView)[nameof(SmallImageList)]!.SetValue(Component, value);
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (1)
51
PropertyDescriptor? maskProperty = TypeDescriptor.
GetProperties
(_maskedTextBox)["Mask"];
System\Windows\Forms\Design\OleDragDropHandler.cs (4)
283
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(rootComponent)["Language"];
355
PropertyDescriptor? loc = TypeDescriptor.
GetProperties
(comps[i])["Location"];
761
PropertyDescriptor? loc = TypeDescriptor.
GetProperties
(comp)["TrayLocation"];
763
loc ??= TypeDescriptor.
GetProperties
(comp)["Location"];
System\Windows\Forms\Design\ParentControlDesigner.cs (12)
556
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(Control)["Controls"];
563
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(newChild);
938
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(component)["AutoSize"];
948
prop = TypeDescriptor.
GetProperties
(component)["PreferredSize"];
961
prop = TypeDescriptor.
GetProperties
(component)["Size"];
1331
_changeService.OnComponentChanging(Control, TypeDescriptor.
GetProperties
(Control)["Controls"]);
1343
_changeService.OnComponentChanged(Control, TypeDescriptor.
GetProperties
(Control)["Controls"]);
1361
_changeService.OnComponentChanging(Control, TypeDescriptor.
GetProperties
(Control)["Controls"]);
2137
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(newParent)["Controls"];
2138
PropertyDescriptor locationProp = TypeDescriptor.
GetProperties
(newParent)["Location"];
2164
PropertyDescriptor locProp = TypeDescriptor.
GetProperties
(control)["Location"];
2403
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(parent)["Controls"];
System\Windows\Forms\Design\PictureBoxActionList.cs (1)
24
set => TypeDescriptor.
GetProperties
(_pictureBox)[nameof(PictureBox.SizeMode)]!.SetValue(Component, value);
System\Windows\Forms\Design\PictureBoxDesigner.cs (1)
88
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(Component);
System\Windows\Forms\Design\RadioButtonDesigner.cs (1)
21
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(Component)["TabStop"];
System\Windows\Forms\Design\SelectionUIHandler.cs (12)
394
PropertyDescriptor? boundsProp = TypeDescriptor.
GetProperties
(components[i])["Bounds"];
424
PropertyDescriptor? trayProp = TypeDescriptor.
GetProperties
(components[i])["TrayLocation"];
436
PropertyDescriptor? leftProp = TypeDescriptor.
GetProperties
(components[i])["Left"];
437
PropertyDescriptor? topProp = TypeDescriptor.
GetProperties
(components[i])["Top"];
466
PropertyDescriptor? locationProp = TypeDescriptor.
GetProperties
(components[i])["Location"];
486
PropertyDescriptor? widthProp = TypeDescriptor.
GetProperties
(components[i])["Width"];
487
PropertyDescriptor? heightProp = TypeDescriptor.
GetProperties
(components[i])["Height"];
547
cs.OnComponentChanging(c, TypeDescriptor.
GetProperties
(c)["Location"]);
548
PropertyDescriptor? sizeProp = TypeDescriptor.
GetProperties
(c)["Size"];
552
sizeProp = TypeDescriptor.
GetProperties
(c)["ClientSize"];
623
PropertyDescriptor? sizeProp = TypeDescriptor.
GetProperties
(control)["Size"];
624
PropertyDescriptor? locProp = TypeDescriptor.
GetProperties
(control)["Location"];
System\Windows\Forms\Design\SplitContainerDesigner.cs (2)
311
RaiseComponentChanging(TypeDescriptor.
GetProperties
(_splitContainer!)["SplitterDistance"]);
312
RaiseComponentChanged(TypeDescriptor.
GetProperties
(_splitContainer!)["SplitterDistance"], oldValue: null, newValue: null);
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (2)
28
PropertyDescriptor? orientationProp = TypeDescriptor.
GetProperties
(_ownerComponent)["Orientation"];
50
PropertyDescriptor? orientationProp = TypeDescriptor.
GetProperties
(_ownerComponent!)["Orientation"];
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
118
PropertyDescriptor? lockedProp = TypeDescriptor.
GetProperties
(component)["Locked"];
System\Windows\Forms\Design\StandardMenuStripVerb.cs (7)
178
PropertyDescriptor imageProperty = TypeDescriptor.
GetProperties
(item)["Image"];
201
MemberDescriptor member = TypeDescriptor.
GetProperties
(rootItem)["DropDownItems"];
214
MemberDescriptor topMember = TypeDescriptor.
GetProperties
(tool)["Items"];
325
PropertyDescriptor displayStyleProperty = TypeDescriptor.
GetProperties
(item)["DisplayStyle"];
329
PropertyDescriptor textProperty = TypeDescriptor.
GetProperties
(item)["Text"];
345
PropertyDescriptor imageProperty = TypeDescriptor.
GetProperties
(item)["Image"];
359
MemberDescriptor topMember = TypeDescriptor.
GetProperties
(tool)["Items"];
System\Windows\Forms\Design\StyleEditorForm.cs (2)
109
_rowStyleProp = TypeDescriptor.
GetProperties
(_tableLayoutPanel)["RowStyles"];
110
_colStyleProp = TypeDescriptor.
GetProperties
(_tableLayoutPanel)["ColumnStyles"];
System\Windows\Forms\Design\TabControlDesigner.cs (6)
99
MemberDescriptor member = TypeDescriptor.
GetProperties
(component: Component)["Controls"];
262
MemberDescriptor member = TypeDescriptor.
GetProperties
(tc)["Controls"];
275
PropertyDescriptor nameProp = TypeDescriptor.
GetProperties
(page)["Name"];
283
PropertyDescriptor textProperty = TypeDescriptor.
GetProperties
(page)["Text"];
288
PropertyDescriptor styleProp = TypeDescriptor.
GetProperties
(page)["UseVisualStyleBackColor"];
332
MemberDescriptor member = TypeDescriptor.
GetProperties
(Component)["Controls"];
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (1)
52
PropertyDescriptor? lsProp = TypeDescriptor.
GetProperties
(panel)[LayoutSettingsPropName];
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (24)
96
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(host.RootComponent)["Localizable"];
468
PropertyDescriptor rowProp = TypeDescriptor.
GetProperties
(Table)["RowCount"];
476
PropertyDescriptor colProp = TypeDescriptor.
GetProperties
(Table)["ColumnCount"];
489
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(Table)["Controls"];
642
PropertyDescriptor colProp = TypeDescriptor.
GetProperties
(Table)["ColumnCount"];
645
PropertyDescriptor rowProp = TypeDescriptor.
GetProperties
(Table)["RowCount"];
1063
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(Component)["Locked"];
1175
_rowStyleProp = TypeDescriptor.
GetProperties
(Table)["RowStyles"];
1176
_colStyleProp = TypeDescriptor.
GetProperties
(Table)["ColumnStyles"];
1365
PropertyDescriptor columnSpan = TypeDescriptor.
GetProperties
(dragControl)["ColumnSpan"];
1366
PropertyDescriptor rowSpan = TypeDescriptor.
GetProperties
(dragControl)["RowSpan"];
1436
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(Component)["Controls"];
1462
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(Component)["Controls"];
1678
PropertyDescriptor rowProp = TypeDescriptor.
GetProperties
(Table)["RowCount"];
1690
PropertyDescriptor colProp = TypeDescriptor.
GetProperties
(Table)["ColumnCount"];
1713
PropertyDescriptor childProp = TypeDescriptor.
GetProperties
(Table)["Controls"];
1719
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(child)[isRow ? "Row" : "Column"];
1720
PropertyDescriptor spanProp = TypeDescriptor.
GetProperties
(child)[isRow ? "RowSpan" : "ColumnSpan"];
1788
PropertyDescriptor childProp = TypeDescriptor.
GetProperties
(Table)["Controls"];
1794
PropertyDescriptor prop = TypeDescriptor.
GetProperties
(child)[isRow ? "Row" : "Column"];
1795
PropertyDescriptor spanProp = TypeDescriptor.
GetProperties
(child)[isRow ? "RowSpan" : "ColumnSpan"];
1843
PropertyDescriptor rowProp = TypeDescriptor.
GetProperties
(Table)["RowCount"];
1855
PropertyDescriptor colProp = TypeDescriptor.
GetProperties
(Table)["ColumnCount"];
1897
PropertyDescriptor childProp = TypeDescriptor.
GetProperties
(Table)["Controls"];
System\Windows\Forms\Design\TabOrder.cs (1)
453
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(control)["TabIndex"];
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (3)
94
PropertyDescriptor imageProperty = TypeDescriptor.
GetProperties
(component)["Image"];
101
PropertyDescriptor dispProperty = TypeDescriptor.
GetProperties
(component)["DisplayStyle"];
105
PropertyDescriptor imageTransProperty = TypeDescriptor.
GetProperties
(component)["ImageTransparentColor"];
System\Windows\Forms\Design\TextBoxActionList.cs (1)
22
set => TypeDescriptor.
GetProperties
(_textBox)[nameof(Multiline)]!.SetValue(Component, value);
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (4)
31
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
93
PropertyDescriptor? textProp = TypeDescriptor.
GetProperties
(Component)["Text"];
133
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(component)["Multiline"];
138
PropertyDescriptor? propAuto = TypeDescriptor.
GetProperties
(component)["AutoSize"];
System\Windows\Forms\Design\ToolStripActionList.cs (2)
54
PropertyDescriptor? getProperty = TypeDescriptor.
GetProperties
(_toolStrip)[propertyName];
62
PropertyDescriptor? changingProperty = TypeDescriptor.
GetProperties
(_toolStrip)[propertyName];
System\Windows\Forms\Design\ToolStripDesigner.cs (17)
597
PropertyDescriptor textProperty = TypeDescriptor.
GetProperties
(item)["Text"];
616
PropertyDescriptor imageProperty = TypeDescriptor.
GetProperties
(item)["Image"];
623
PropertyDescriptor dispProperty = TypeDescriptor.
GetProperties
(item)["DisplayStyle"];
627
PropertyDescriptor imageTransProperty = TypeDescriptor.
GetProperties
(item)["ImageTransparentColor"];
908
RaiseComponentChanging(TypeDescriptor.
GetProperties
(Component)["Items"]);
930
RaiseComponentChanged(TypeDescriptor.
GetProperties
(Component)["Items"], null, null);
1042
RaiseComponentChanged(TypeDescriptor.
GetProperties
(Component)["Items"], null, null);
1117
RaiseComponentChanging(TypeDescriptor.
GetProperties
(Component)["Items"]);
1440
new EditorServiceContext(this, TypeDescriptor.
GetProperties
(Component)["Items"], SR.ToolStripItemCollectionEditorVerb);
1486
PropertyDescriptor dockProp = TypeDescriptor.
GetProperties
(ToolStrip)["Dock"];
1501
PropertyDescriptor mainMenuStripProperty = TypeDescriptor.
GetProperties
(parentForm)["MainMenuStrip"];
1513
PropertyDescriptor controlsProp = TypeDescriptor.
GetProperties
(parentPanel)["Controls"];
1522
PropertyDescriptor locationProp = TypeDescriptor.
GetProperties
(ToolStrip)["Location"];
1858
changeService.OnComponentChanging(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
1921
changeService?.OnComponentChanged(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
1928
changeService.OnComponentChanging(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
1929
changeService.OnComponentChanged(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
408
new EditorServiceContext(this, TypeDescriptor.
GetProperties
(Component)["Items"], SR.ToolStripItemCollectionEditorVerb);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (8)
684
changeService.OnComponentChanging(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
688
changeService.OnComponentChanging(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
766
changeService.OnComponentChanged(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
770
changeService.OnComponentChanged(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
779
changeService.OnComponentChanging(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
780
changeService.OnComponentChanged(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
784
changeService.OnComponentChanging(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
785
changeService.OnComponentChanged(parentToolStrip, TypeDescriptor.
GetProperties
(parentToolStrip)["Items"]);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (4)
212
_verbManager = new CollectionEditVerbManager(SR.ToolStripDropDownItemCollectionEditorVerb, itemDesigner, TypeDescriptor.
GetProperties
(_currentItem)["DropDownItems"], false);
571
PropertyDescriptor getProperty = TypeDescriptor.
GetProperties
(_currentItem)[propertyName];
587
PropertyDescriptor getProperty = TypeDescriptor.
GetProperties
(_currentItem)[propertyName];
605
PropertyDescriptor changingProperty = TypeDescriptor.
GetProperties
(target)[propertyName];
System\Windows\Forms\Design\ToolStripItemDesigner.cs (14)
374
PropertyDescriptor textProp = TypeDescriptor.
GetProperties
(ToolStripItem)["Text"];
534
changeService.OnComponentChanging(parent, TypeDescriptor.
GetProperties
(parent)["DropDownItems"]);
556
changeService.OnComponentChanged(parent, TypeDescriptor.
GetProperties
(parent)["DropDownItems"]);
684
PropertyDescriptor pd = TypeDescriptor.
GetProperties
(ToolStripItem)["Text"];
702
PropertyDescriptor textProp = TypeDescriptor.
GetProperties
(Component)["Text"];
785
changeService.OnComponentChanging(parent, TypeDescriptor.
GetProperties
(parent)["Items"]);
789
changeService.OnComponentChanging(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
790
changeService.OnComponentChanged(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
824
PropertyDescriptor imageProperty = TypeDescriptor.
GetProperties
(newItem)["Image"];
831
PropertyDescriptor dispProperty = TypeDescriptor.
GetProperties
(newItem)["DisplayStyle"];
835
PropertyDescriptor imageTransProperty = TypeDescriptor.
GetProperties
(newItem)["ImageTransparentColor"];
845
changeService.OnComponentChanged(parent, TypeDescriptor.
GetProperties
(parent)["Items"]);
849
changeService.OnComponentChanging(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
850
changeService.OnComponentChanged(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (12)
542
PropertyDescriptor textProp = TypeDescriptor.
GetProperties
(editedItem)["Text"];
893
PropertyDescriptor textProperty = TypeDescriptor.
GetProperties
(newItem)["Text"];
1683
MemberDescriptor member = TypeDescriptor.
GetProperties
(MenuItem.DropDown)["Items"];
1689
RaiseComponentChanging(TypeDescriptor.
GetProperties
(MenuItem)["DropDownItems"]);
1786
MemberDescriptor member = TypeDescriptor.
GetProperties
(MenuItem.DropDown)["Items"];
1792
RaiseComponentChanged(TypeDescriptor.
GetProperties
(MenuItem)["DropDownItems"], null, null);
1892
RaiseComponentChanged(TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"], null, null);
1982
RaiseComponentChanging(TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
2717
changeService?.OnComponentChanging(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
2774
changeService?.OnComponentChanged(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
2781
changeService.OnComponentChanging(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
2782
changeService.OnComponentChanged(ownerItem, TypeDescriptor.
GetProperties
(ownerItem)["DropDownItems"]);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
380
PropertyDescriptor? dockProp = TypeDescriptor.
GetProperties
(e.Control)["Dock"];
System\Windows\Forms\Design\TrackBarDesigner.cs (1)
43
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(component)[propertyName];
System\Windows\Forms\Design\TreeViewActionList.cs (1)
26
set => TypeDescriptor.
GetProperties
(_treeView)[nameof(TreeView.ImageList)]!.SetValue(Component, value);
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
47
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(Component);
System.Windows.Forms.Design.Tests (8)
ControlDesignerTests.cs (1)
345
PropertyDescriptor? dockPropDescriptor = TypeDescriptor.
GetProperties
(_designer._control)[nameof(Control.Dock)];
System\Windows\Forms\Design\FormatStringEditorTests.cs (6)
66
cs => cs.OnComponentChanging(_cellStyle, TypeDescriptor.
GetProperties
(_cellStyle)["Format"]),
70
cs => cs.OnComponentChanging(_cellStyle, TypeDescriptor.
GetProperties
(_cellStyle)["NullValue"]),
74
cs => cs.OnComponentChanging(_cellStyle, TypeDescriptor.
GetProperties
(_cellStyle)["FormatProvider"]),
89
cs => cs.OnComponentChanged(_cellStyle, TypeDescriptor.
GetProperties
(_cellStyle)["Format"], null, null),
93
cs => cs.OnComponentChanged(_cellStyle, TypeDescriptor.
GetProperties
(_cellStyle)["NullValue"], null, null),
97
cs => cs.OnComponentChanged(_cellStyle, TypeDescriptor.
GetProperties
(_cellStyle)["FormatProvider"], null, null),
System\Windows\Forms\Design\InheritedPropertyDescriptorTestExtensions.cs (1)
13
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(control);
System.Windows.Forms.Primitives (1)
System\ComponentModel\TypeDescriptorHelper.cs (1)
42
PropertyDescriptor? property = TypeDescriptor.
GetProperties
(component)[name];
System.Windows.Forms.Tests (19)
System\Windows\Forms\AxSystemMonitorTests.cs (1)
26
var properties = TypeDescriptor.
GetProperties
(_control);
System\Windows\Forms\AxWebBrowserTests.cs (1)
28
var properties = TypeDescriptor.
GetProperties
(_control);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (3)
27
ValidateIPictureDispProperties(iPictureDisp, TypeDescriptor.
GetProperties
(iPictureDisp));
86
var properties = TypeDescriptor.
GetProperties
(iPicture);
217
var properties = TypeDescriptor.
GetProperties
(vbcontrol);
System\Windows\Forms\DockPaddingEdgesTests.cs (5)
388
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
409
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
430
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
451
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
472
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
System\Windows\Forms\PaddingTests.cs (6)
97
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
117
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
167
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
217
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
267
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
317
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(padding);
System\Windows\Forms\SpecialFolderEnumConverterTests.cs (3)
15
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(new FolderBrowserDialog()).Find(nameof(FolderBrowserDialog.RootFolder), ignoreCase: false);
89
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(new FolderBrowserDialog()).Find(nameof(FolderBrowserDialog.RootFolder), ignoreCase: false);
96
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(new FolderBrowserDialog()).Find(nameof(FolderBrowserDialog.RootFolder), ignoreCase: false);
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
410
PropertyDescriptor? propertyDescriptor = TypeDescriptor.
GetProperties
(textBox)["Text"];