373 references to GetProperties
PresentationFramework (3)
MS\Internal\Data\ValueTable.cs (1)
223
pd = TypeDescriptor.
GetProperties
(item.GetType())[name];
System\Windows\Data\BindingListCollectionView.cs (1)
2189
pdc = TypeDescriptor.
GetProperties
(itemType);
System\Windows\Data\CollectionView.cs (1)
1452
properties = TypeDescriptor.
GetProperties
(itemType);
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\ValidationAttributeStore.cs (1)
215
var properties = TypeDescriptor.
GetProperties
(_type);
System\ComponentModel\DataAnnotations\Validator.cs (1)
519
var properties = TypeDescriptor.
GetProperties
(instance.GetType());
System.ComponentModel.TypeConverter (2)
System\ComponentModel\BindingList.cs (1)
518
_itemTypeProperties = TypeDescriptor.
GetProperties
(typeof(T));
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (1)
304
return TypeDescriptor.
GetProperties
(_type)[attr.Name];
System.Drawing.Common.Tests (1)
System\Drawing\ImageConverterTests.cs (1)
242
propsColl = TypeDescriptor.
GetProperties
(typeof(Image));
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
110
PropertyDescriptor? componentProperty = TypeDescriptor.
GetProperties
(ownerType)[PropertyName!];
System\Windows\Forms\DataBinding\Binding.cs (1)
498
propInfos = TypeDescriptor.
GetProperties
(controlClass);
System\Windows\Forms\DataBinding\BindingManagerBase.cs (1)
109
return TypeDescriptor.
GetProperties
(listType);
System.Windows.Forms.Design (9)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
91
foreach (PropertyDescriptor p in TypeDescriptor.
GetProperties
(type))
System\ComponentModel\Design\ComponentDesigner.ShadowPropertyCollection.cs (1)
62
descriptor = TypeDescriptor.
GetProperties
(_designer.Component.GetType())[propertyName];
System\Windows\Forms\Design\ComponentTray.cs (2)
958
PropertyDescriptor loc = TypeDescriptor.
GetProperties
(receiver.GetType())["Location"];
1544
PropertyDescriptor loc = TypeDescriptor.
GetProperties
(receiver.GetType())["Location"];
System\Windows\Forms\Design\ControlDesigner.cs (1)
915
PropertyDescriptorCollection props = TypeDescriptor.
GetProperties
(component.GetType());
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
43
PropertyDescriptor? prop = TypeDescriptor.
GetProperties
(typeof(DataGridViewColumn))["Width"];
System\Windows\Forms\Design\DocumentDesigner.cs (1)
676
PropertyDescriptor backProp = TypeDescriptor.
GetProperties
(Component.GetType())["BackColor"];
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
322
PropertyDescriptor windowStateProp = TypeDescriptor.
GetProperties
(component.GetType())["WindowState"];
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
77
return TypeDescriptor.
GetProperties
(typeof(TextBoxBase))["Text"]!.ShouldSerializeValue(Component);
System.Windows.Forms.Design.Tests (65)
EnsureEditorsTests.cs (1)
152
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(type);
System\ComponentModel\Design\ComponentDesignerTests.cs (24)
73
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
781
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[property])
894
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1005
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[property])
1121
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1214
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1305
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1395
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1502
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1588
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.ReadOnlyProperty)] };
1589
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.IntProperty)] };
1885
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
2308
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2328
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2349
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2361
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2486
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0], new(), new() };
2514
yield return new object[] { componentChangeService, TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0], new(), new() };
2544
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0] };
2572
yield return new object[] { componentChangeService, TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0] };
2738
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2759
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2781
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2794
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
System\ComponentModel\Design\DesignerHostTests.cs (2)
2926
yield return new object[] { new(), TypeDescriptor.
GetProperties
(typeof(string))[0] };
2996
yield return new object[] { new(), TypeDescriptor.
GetProperties
(typeof(string))[0], new(), new() };
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (32)
422
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
423
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
468
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
469
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
514
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
515
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
563
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
564
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
1133
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1134
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1176
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1177
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1233
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1234
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1304
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1305
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1367
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1376
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1393
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1403
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1412
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1413
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1455
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1456
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1512
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1513
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1583
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1584
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1646
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1655
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1672
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1682
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (2)
21
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(RootContext));
35
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(RootContext));
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
25
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(ToolStripButton));
System\Windows\Forms\Design\DataGridViewDesignerTests.cs (2)
147
{ "AutoSizeColumnsMode", TypeDescriptor.
GetProperties
(typeof(DataGridView))["AutoSizeColumnsMode"]!},
148
{ "DataSource", TypeDescriptor.
GetProperties
(typeof(DataGridView))["DataSource"]!}
ToolStripMenuItemDesignerTest.cs (1)
112
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(ToolStripMenuItem));
System.Windows.Forms.Tests (278)
System\Windows\Forms\AxHostTests.cs (1)
3032
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(string))[nameof(string.Length)];
System\Windows\Forms\BindingSourceTests.cs (1)
345
PropertyDescriptor sortProperty = TypeDescriptor.
GetProperties
(typeof(DataClass))[0];
System\Windows\Forms\ButtonBaseTests.cs (6)
1778
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.Image)];
1797
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.Image)];
1825
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.Image)];
4282
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.UseVisualStyleBackColor)];
4300
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.UseVisualStyleBackColor)];
4327
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.UseVisualStyleBackColor)];
System\Windows\Forms\ColorDialogTests.cs (2)
148
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColorDialog))[nameof(ColorDialog.Color)];
164
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColorDialog))[nameof(ColorDialog.Color)];
System\Windows\Forms\ColumnHeaderTests.cs (7)
241
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.DisplayIndex)];
262
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.DisplayIndex)];
860
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Name)];
887
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Name)];
916
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Name)];
1056
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Text)];
1083
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Text)];
System\Windows\Forms\ComboBoxTests.cs (4)
281
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.BackColor)];
297
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.BackColor)];
1149
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.ForeColor)];
1165
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.ForeColor)];
System\Windows\Forms\ControlTests.Properties.cs (28)
1606
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.BackColor)];
1622
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.BackColor)];
3675
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Controls)];
3695
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Controls)];
4767
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Enabled)];
4783
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Enabled)];
5244
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Font)];
5269
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Font)];
5640
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
5656
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
7574
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Location)];
7598
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Location)];
7852
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Margin)];
7868
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Margin)];
8445
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MaximumSize)];
8469
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MaximumSize)];
9215
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MinimumSize)];
9239
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MinimumSize)];
9647
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Padding)];
9663
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Padding)];
10444
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.RightToLeft)];
10472
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.RightToLeft)];
11755
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Size)];
11779
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Size)];
12045
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Text)];
12072
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Text)];
13069
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Visible)];
13085
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Visible)];
System\Windows\Forms\Design\EventsTabTests.cs (2)
65
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultEvent))[0];
101
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultEvent))[0];
System\Windows\Forms\Design\PropertyTabTests.cs (2)
148
PropertyDescriptorCollection result = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultProperty));
174
PropertyDescriptorCollection result = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultProperty));
System\Windows\Forms\ErrorProviderTests.cs (6)
310
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataMember)];
321
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataMember)];
512
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataSource)];
523
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataSource)];
559
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.Icon)];
571
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.Icon)];
System\Windows\Forms\FontDialogTests.cs (2)
333
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(FontDialog))[nameof(FontDialog.Font)];
350
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(FontDialog))[nameof(FontDialog.Font)];
System\Windows\Forms\ImageListTests.cs (6)
171
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ColorDepth)];
188
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ColorDepth)];
365
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ImageSize)];
382
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ImageSize)];
781
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.TransparentColor)];
798
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.TransparentColor)];
System\Windows\Forms\ListBindingHelperTests.cs (54)
275
mockTypedList.Setup(t => t.GetItemProperties(null)).Returns(TypeDescriptor.
GetProperties
(typeof(DataClass)));
315
yield return new object[] { null, TypeDescriptor.
GetProperties
(typeof(DataClass)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
317
yield return new object[] { new DataClass(), TypeDescriptor.
GetProperties
(typeof(DataClass)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
318
yield return new object[] { typeof(DataClass), TypeDescriptor.
GetProperties
(typeof(DataClass)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
320
yield return new object[] { new ListDataClass(), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
321
yield return new object[] { new ListDataClass() { ListProperty = [new()] }, TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
322
yield return new object[] { typeof(ListDataClass), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
324
yield return new object[] { new MultiListDataClass(), TypeDescriptor.
GetProperties
(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
325
yield return new object[] { new MultiListDataClass { ParentListProperty = [new() { ListProperty = [new()] }] }, TypeDescriptor.
GetProperties
(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().Take(0).ToArray(), new string[] { "ParentListProperty" } };
327
var inner = new PropertyDescriptor[] { TypeDescriptor.
GetProperties
(typeof(MultiListDataClass))[0], TypeDescriptor.
GetProperties
(typeof(ListDataClass))[0], TypeDescriptor.
GetProperties
(typeof(DataClass))[0] };
329
yield return new object[] { typeof(MultiListDataClass), TypeDescriptor.
GetProperties
(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
331
yield return new object[] { typeof(DataClass), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
336
PropertyDescriptor[] descriptors = TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray();
357
mockTypedList.Setup(t => t.GetItemProperties(descriptors)).Returns(TypeDescriptor.
GetProperties
(typeof(DataClass)));
366
yield return new object[] { new EnumerableITypedListImplementor[] { new() }, TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
367
yield return new object[] { new List<EnumerableITypedListImplementor> { new() }, TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
368
yield return new object[] { new ArrayList { new EnumerableITypedListImplementor() }, TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
369
yield return new object[] { new IEnumerableWrapper(new object[] { new EnumerableITypedListImplementor() }), TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
374
yield return new object[] { new NonEnumerableITypedListImplementor[] { new() }, TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
375
yield return new object[] { new List<NonEnumerableITypedListImplementor> { new() }, TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
376
yield return new object[] { new ArrayList { new NonEnumerableITypedListImplementor() }, TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
377
yield return new object[] { new IEnumerableWrapper(new object[] { new NonEnumerableITypedListImplementor() }), TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
381
yield return new object[] { new ITypedListDataClass(), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
382
yield return new object[] { typedListDataClass, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
383
yield return new object[] { typeof(ITypedListDataClass), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
384
yield return new object[] { new ITypedListDataClass[] { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
385
yield return new object[] { new ITypedListDataClass[] { typedListDataClass }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
386
yield return new object[] { new List<ITypedListDataClass> { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
387
yield return new object[] { new List<ITypedListDataClass> { typedListDataClass }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
388
yield return new object[] { new ArrayList { new ITypedListDataClass() }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
389
yield return new object[] { new ArrayList { typedListDataClass }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
390
yield return new object[] { new IEnumerableWrapper(new object[] { new ITypedListDataClass() }), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
391
yield return new object[] { new IEnumerableWrapper(new object[] { typedListDataClass }), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
392
yield return new object[] { typeof(ITypedListDataClass[]), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
395
yield return new object[] { new ITypedListParent(), TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
396
yield return new object[] { typedListParent, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
397
yield return new object[] { new ITypedListParent[] { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
398
yield return new object[] { new ITypedListParent[] { typedListParent }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
399
yield return new object[] { new List<ITypedListParent> { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
400
yield return new object[] { new List<ITypedListParent> { typedListParent }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
401
yield return new object[] { new ArrayList { new ITypedListParent() }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
402
yield return new object[] { new ArrayList { typedListParent }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
403
yield return new object[] { new IEnumerableWrapper(new object[] { new ITypedListParent() }), TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
404
yield return new object[] { new IEnumerableWrapper(new object[] { typedListParent }), TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
427
yield return new object[] { new MultiListDataClass(), "ParentListProperty", TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
430
yield return new object[] { typeof(MultiListDataClass), "ParentListProperty", TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
458
Assert.Throws<TargetInvocationException>(() => ListBindingHelper.GetListItemProperties(new DataClass(), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray()));
459
Assert.Throws<TargetInvocationException>(() => ListBindingHelper.GetListItemProperties(new DataClass(), null, TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray()));
460
Assert.Throws<TargetInvocationException>(() => ListBindingHelper.GetListItemProperties(new DataClass(), string.Empty, TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray()));
492
yield return new object[] { typeof(IEnumerable), new PropertyDescriptor[] { TypeDescriptor.
GetProperties
(typeof(DataClass))[0] }, "Int32" };
699
return TypeDescriptor.
GetProperties
(typeof(DataClass));
719
return TypeDescriptor.
GetProperties
(typeof(DataClass));
System\Windows\Forms\ListBoxTests.cs (6)
445
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.BackColor)];
461
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.BackColor)];
1342
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ForeColor)];
1358
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ForeColor)];
1818
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ItemHeight)];
1835
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ItemHeight)];
System\Windows\Forms\MdiClientTests.cs (6)
147
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.BackColor)];
163
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.BackColor)];
437
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.Location)];
461
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.Location)];
1150
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(Control.Size)];
1174
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(Control.Size)];
System\Windows\Forms\PaddingConverterTests.cs (3)
146
.Returns(TypeDescriptor.
GetProperties
(typeof(ClassWithPadding))[0]);
362
.Returns(TypeDescriptor.
GetProperties
(typeof(ClassWithPadding))[0]);
377
.Returns(TypeDescriptor.
GetProperties
(typeof(string))[0]);
System\Windows\Forms\PageSetupDialogTests.cs (2)
227
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PageSetupDialog))[nameof(PageSetupDialog.MinMargins)];
256
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PageSetupDialog))[nameof(PageSetupDialog.MinMargins)];
System\Windows\Forms\PictureBoxTests.cs (6)
389
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.ErrorImage)];
406
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.ErrorImage)];
599
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.Image)];
616
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.Image)];
1086
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.InitialImage)];
1103
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.InitialImage)];
System\Windows\Forms\ProgressBarTests.cs (2)
626
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
642
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
95
PropertyDescriptor propertyDescriptor = TypeDescriptor.
GetProperties
(typeof(TestEntity)).
114
PropertyDescriptor propertyDescriptor = TypeDescriptor.
GetProperties
(typeof(TestEntity)).
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
55
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[0];
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (3)
148
.Returns(TypeDescriptor.
GetProperties
(typeof(ParentClass))[0])
164
.Returns(TypeDescriptor.
GetProperties
(typeof(CustomTypeConverterParentClass))[0])
235
return TypeDescriptor.
GetProperties
(typeof(ClassWithNameProperty));
System\Windows\Forms\PropertyGridTests.cs (40)
380
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.BackColor)];
396
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.BackColor)];
754
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategoryForeColor)];
770
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategoryForeColor)];
832
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategorySplitterColor)];
848
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategorySplitterColor)];
917
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsActiveLinkColor)];
933
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsActiveLinkColor)];
995
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBackColor)];
1011
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBackColor)];
1080
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBorderColor)];
1096
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBorderColor)];
1165
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsDisabledLinkColor)];
1181
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsDisabledLinkColor)];
1243
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)];
1259
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)];
1328
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsLinkColor)];
1344
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsLinkColor)];
1492
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.DisabledItemForeColor)];
1508
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.DisabledItemForeColor)];
1705
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ForeColor)];
1721
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ForeColor)];
1783
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBackColor)];
1799
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBackColor)];
1868
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBorderColor)];
1884
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBorderColor)];
1946
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpForeColor)];
1962
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpForeColor)];
2202
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.LineColor)];
2218
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.LineColor)];
2449
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)];
2465
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)];
2527
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)];
2543
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)];
3253
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBackColor)];
3269
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBackColor)];
3338
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBorderColor)];
3354
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBorderColor)];
3423
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewForeColor)];
3439
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewForeColor)];
System\Windows\Forms\ScrollableControlTests.cs (4)
418
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMargin)];
442
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMargin)];
659
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMinSize)];
683
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMinSize)];
System\Windows\Forms\StatusStripTests.cs (2)
551
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(StatusStrip))[nameof(ToolStrip.RenderMode)];
579
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(StatusStrip))[nameof(ToolStrip.RenderMode)];
System\Windows\Forms\TabControlTests.cs (4)
1559
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.ItemSize)];
1583
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.ItemSize)];
1768
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.Padding)];
1792
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.Padding)];
System\Windows\Forms\TableLayoutPanelTests.cs (2)
338
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TableLayoutPanel))[nameof(Control.Controls)];
358
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TableLayoutPanel))[nameof(Control.Controls)];
System\Windows\Forms\TabPageTests.cs (2)
2366
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabPage))[nameof(TabPage.Location)];
2394
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabPage))[nameof(TabPage.Location)];
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1437
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripContentPanel))[nameof(ToolStripContentPanel.RenderMode)];
1465
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripContentPanel))[nameof(ToolStripContentPanel.RenderMode)];
System\Windows\Forms\ToolStripControlHostTests.cs (16)
333
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
350
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
364
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
381
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
1000
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1026
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1040
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1066
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1152
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1169
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1183
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1200
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1643
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
1672
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
1686
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
1715
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
System\Windows\Forms\ToolStripDropDownTests.cs (2)
1433
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
1449
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
System\Windows\Forms\ToolStripItemTests.cs (38)
1738
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.BackColor)];
1754
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.BackColor)];
2331
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.DisplayStyle)];
2347
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.DisplayStyle)];
3180
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Font)];
3209
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Font)];
3431
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ForeColor)];
3447
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ForeColor)];
4085
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4102
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4130
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4147
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4738
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4759
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4784
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4818
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4838
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4862
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
5225
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5252
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5283
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5317
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5344
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5375
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5782
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageTransparentColor)];
5798
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageTransparentColor)];
6099
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Margin)];
6115
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Margin)];
6914
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Padding)];
6930
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Padding)];
7416
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.RightToLeft)];
7444
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.RightToLeft)];
8774
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.TextDirection)];
8798
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.TextDirection)];
9075
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ToolTipText)];
9102
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ToolTipText)];
9598
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Visible)];
9614
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Visible)];
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
388
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripSeparator))[nameof(ToolStripSeparator.ForeColor)];
404
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripSeparator))[nameof(ToolStripSeparator.ForeColor)];
System\Windows\Forms\ToolStripTests.cs (4)
2206
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
2222
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
3377
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.RenderMode)];
3405
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.RenderMode)];
System\Windows\Forms\ToolTipTests.cs (4)
187
var properties = TypeDescriptor.
GetProperties
(typeof(ToolTip));
263
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolTip))[nameof(ToolTip.AutoPopDelay)];
388
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolTip))[nameof(ToolTip.InitialDelay)];
473
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolTip))[nameof(ToolTip.ReshowDelay)];
System\Windows\Forms\TreeNodeTests.cs (4)
422
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.BackColor)];
438
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.BackColor)];
863
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.ForeColor)];
879
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.ForeColor)];
System.Xaml.Tests (7)
System\Windows\Markup\ValueSerializerTests.cs (7)
257
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithDateTimeProperty))[0];
265
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithValueSerializerAttributeProperty))[0];
273
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithConvertibleProperty))[0];
285
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(type)[0];
300
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithInvalidValueSerializerAttributeProperty))[0];
308
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithValueSerializerAttributeProperty))[0];
317
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithValueSerializerAttributeProperty))[0];
WindowsBase.Tests (3)
System\ComponentModel\GroupDescriptionTests.cs (3)
272
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(GroupDescription))[nameof(GroupDescription.GroupNames)]!;
471
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(GroupDescription))[nameof(GroupDescription.SortDescriptions)]!;
564
_ = TypeDescriptor.
GetProperties
(typeof(GroupDescription))[nameof(GroupDescription.GroupNames)]!;