368 references to GetProperties
PresentationFramework (3)
MS\Internal\Data\ValueTable.cs (1)
223
pd = TypeDescriptor.
GetProperties
(item.GetType())[name];
System\Windows\Data\BindingListCollectionView.cs (1)
2204
pdc = TypeDescriptor.
GetProperties
(itemType);
System\Windows\Data\CollectionView.cs (1)
1464
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 (63)
EnsureEditorsTests.cs (1)
149
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(type);
System\ComponentModel\Design\ComponentDesignerTests.cs (24)
71
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
779
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[property])
892
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1003
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[property])
1119
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1212
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1303
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1393
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1500
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
1586
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.ReadOnlyProperty)] };
1587
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.IntProperty)] };
1883
.Returns(TypeDescriptor.
GetProperties
(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.StringProperty)])
2306
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2326
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2347
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2359
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2484
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0], new(), new() };
2512
yield return new object[] { componentChangeService, TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0], new(), new() };
2542
yield return new object[] { TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0] };
2570
yield return new object[] { componentChangeService, TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0] };
2736
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2757
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2779
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
2792
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(CustomComponent))[0];
System\ComponentModel\Design\DesignerHostTests.cs (2)
2924
yield return new object[] { new(), TypeDescriptor.
GetProperties
(typeof(string))[0] };
2994
yield return new object[] { new(), TypeDescriptor.
GetProperties
(typeof(string))[0], new(), new() };
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (32)
418
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
419
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
464
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
465
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
510
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
511
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
559
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
560
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.DefaultStringValue)];
1129
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1130
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1172
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1173
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1229
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1230
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1300
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1301
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1363
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1372
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1389
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1399
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1408
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1409
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1451
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1452
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1508
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1509
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1579
MemberDescriptor member1 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1580
MemberDescriptor member2 = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.StringValue)];
1642
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1651
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1668
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
1678
MemberDescriptor member = TypeDescriptor.
GetProperties
(typeof(DataClass))[nameof(DataClass.IntValue)];
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (2)
19
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(RootContext));
33
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(RootContext));
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
27
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(ToolStripButton));
ToolStripMenuItemDesignerTest.cs (1)
110
PropertyDescriptorCollection properties = TypeDescriptor.
GetProperties
(typeof(ToolStripMenuItem));
System.Windows.Forms.Tests (278)
System\Windows\Forms\AxHostTests.cs (1)
3030
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(string))[nameof(string.Length)];
System\Windows\Forms\BindingSourceTests.cs (1)
343
PropertyDescriptor sortProperty = TypeDescriptor.
GetProperties
(typeof(DataClass))[0];
System\Windows\Forms\ButtonBaseTests.cs (6)
1776
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.Image)];
1795
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.Image)];
1823
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.Image)];
4280
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.UseVisualStyleBackColor)];
4298
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.UseVisualStyleBackColor)];
4325
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ButtonBase))[nameof(ButtonBase.UseVisualStyleBackColor)];
System\Windows\Forms\ColorDialogTests.cs (2)
146
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColorDialog))[nameof(ColorDialog.Color)];
162
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColorDialog))[nameof(ColorDialog.Color)];
System\Windows\Forms\ColumnHeaderTests.cs (7)
239
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.DisplayIndex)];
260
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.DisplayIndex)];
858
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Name)];
885
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Name)];
914
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Name)];
1054
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Text)];
1081
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ColumnHeader))[nameof(ColumnHeader.Text)];
System\Windows\Forms\ComboBoxTests.cs (4)
279
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.BackColor)];
295
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.BackColor)];
1147
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.ForeColor)];
1163
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ComboBox))[nameof(ComboBox.ForeColor)];
System\Windows\Forms\ControlTests.Properties.cs (28)
1604
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.BackColor)];
1620
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.BackColor)];
3673
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Controls)];
3693
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Controls)];
4765
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Enabled)];
4781
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Enabled)];
5242
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Font)];
5267
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Font)];
5638
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
5654
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
7572
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Location)];
7596
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Location)];
7850
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Margin)];
7866
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Margin)];
8443
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MaximumSize)];
8467
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MaximumSize)];
9213
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MinimumSize)];
9237
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.MinimumSize)];
9645
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Padding)];
9661
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Padding)];
10442
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.RightToLeft)];
10470
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.RightToLeft)];
11753
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Size)];
11777
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Size)];
12043
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Text)];
12070
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Text)];
13067
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Visible)];
13083
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.Visible)];
System\Windows\Forms\Design\EventsTabTests.cs (2)
63
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultEvent))[0];
99
PropertyDescriptor descriptor = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultEvent))[0];
System\Windows\Forms\Design\PropertyTabTests.cs (2)
146
PropertyDescriptorCollection result = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultProperty));
172
PropertyDescriptorCollection result = TypeDescriptor.
GetProperties
(typeof(ClassWithDefaultProperty));
System\Windows\Forms\ErrorProviderTests.cs (6)
308
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataMember)];
319
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataMember)];
510
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataSource)];
521
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.DataSource)];
557
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.Icon)];
569
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ErrorProvider))[nameof(ErrorProvider.Icon)];
System\Windows\Forms\FontDialogTests.cs (2)
331
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(FontDialog))[nameof(FontDialog.Font)];
348
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(FontDialog))[nameof(FontDialog.Font)];
System\Windows\Forms\ImageListTests.cs (6)
169
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ColorDepth)];
186
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ColorDepth)];
363
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ImageSize)];
380
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.ImageSize)];
779
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.TransparentColor)];
796
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ImageList))[nameof(ImageList.TransparentColor)];
System\Windows\Forms\ListBindingHelperTests.cs (54)
273
mockTypedList.Setup(t => t.GetItemProperties(null)).Returns(TypeDescriptor.
GetProperties
(typeof(DataClass)));
313
yield return new object[] { null, TypeDescriptor.
GetProperties
(typeof(DataClass)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
315
yield return new object[] { new DataClass(), TypeDescriptor.
GetProperties
(typeof(DataClass)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
316
yield return new object[] { typeof(DataClass), TypeDescriptor.
GetProperties
(typeof(DataClass)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
318
yield return new object[] { new ListDataClass(), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
319
yield return new object[] { new ListDataClass() { ListProperty = [new()] }, TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
320
yield return new object[] { typeof(ListDataClass), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
322
yield return new object[] { new MultiListDataClass(), TypeDescriptor.
GetProperties
(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
323
yield return new object[] { new MultiListDataClass { ParentListProperty = [new() { ListProperty = [new()] }] }, TypeDescriptor.
GetProperties
(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().Take(0).ToArray(), new string[] { "ParentListProperty" } };
325
var inner = new PropertyDescriptor[] { TypeDescriptor.
GetProperties
(typeof(MultiListDataClass))[0], TypeDescriptor.
GetProperties
(typeof(ListDataClass))[0], TypeDescriptor.
GetProperties
(typeof(DataClass))[0] };
327
yield return new object[] { typeof(MultiListDataClass), TypeDescriptor.
GetProperties
(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
329
yield return new object[] { typeof(DataClass), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
334
PropertyDescriptor[] descriptors = TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray();
355
mockTypedList.Setup(t => t.GetItemProperties(descriptors)).Returns(TypeDescriptor.
GetProperties
(typeof(DataClass)));
364
yield return new object[] { new EnumerableITypedListImplementor[] { new() }, TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
365
yield return new object[] { new List<EnumerableITypedListImplementor> { new() }, TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
366
yield return new object[] { new ArrayList { new EnumerableITypedListImplementor() }, TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
367
yield return new object[] { new IEnumerableWrapper(new object[] { new EnumerableITypedListImplementor() }), TypeDescriptor.
GetProperties
(typeof(EnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
372
yield return new object[] { new NonEnumerableITypedListImplementor[] { new() }, TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
373
yield return new object[] { new List<NonEnumerableITypedListImplementor> { new() }, TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
374
yield return new object[] { new ArrayList { new NonEnumerableITypedListImplementor() }, TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
375
yield return new object[] { new IEnumerableWrapper(new object[] { new NonEnumerableITypedListImplementor() }), TypeDescriptor.
GetProperties
(typeof(NonEnumerableITypedListImplementor)).Cast<PropertyDescriptor>().ToArray(), Array.Empty<string>() };
379
yield return new object[] { new ITypedListDataClass(), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
380
yield return new object[] { typedListDataClass, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
381
yield return new object[] { typeof(ITypedListDataClass), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
382
yield return new object[] { new ITypedListDataClass[] { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
383
yield return new object[] { new ITypedListDataClass[] { typedListDataClass }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
384
yield return new object[] { new List<ITypedListDataClass> { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
385
yield return new object[] { new List<ITypedListDataClass> { typedListDataClass }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
386
yield return new object[] { new ArrayList { new ITypedListDataClass() }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
387
yield return new object[] { new ArrayList { typedListDataClass }, TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
388
yield return new object[] { new IEnumerableWrapper(new object[] { new ITypedListDataClass() }), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
389
yield return new object[] { new IEnumerableWrapper(new object[] { typedListDataClass }), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
390
yield return new object[] { typeof(ITypedListDataClass[]), TypeDescriptor.
GetProperties
(typeof(ITypedListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
393
yield return new object[] { new ITypedListParent(), TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
394
yield return new object[] { typedListParent, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
395
yield return new object[] { new ITypedListParent[] { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
396
yield return new object[] { new ITypedListParent[] { typedListParent }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
397
yield return new object[] { new List<ITypedListParent> { new() }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
398
yield return new object[] { new List<ITypedListParent> { typedListParent }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
399
yield return new object[] { new ArrayList { new ITypedListParent() }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
400
yield return new object[] { new ArrayList { typedListParent }, TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
401
yield return new object[] { new IEnumerableWrapper(new object[] { new ITypedListParent() }), TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
402
yield return new object[] { new IEnumerableWrapper(new object[] { typedListParent }), TypeDescriptor.
GetProperties
(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
425
yield return new object[] { new MultiListDataClass(), "ParentListProperty", TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
428
yield return new object[] { typeof(MultiListDataClass), "ParentListProperty", TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
456
Assert.Throws<TargetInvocationException>(() => ListBindingHelper.GetListItemProperties(new DataClass(), TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray()));
457
Assert.Throws<TargetInvocationException>(() => ListBindingHelper.GetListItemProperties(new DataClass(), null, TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray()));
458
Assert.Throws<TargetInvocationException>(() => ListBindingHelper.GetListItemProperties(new DataClass(), string.Empty, TypeDescriptor.
GetProperties
(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray()));
490
yield return new object[] { typeof(IEnumerable), new PropertyDescriptor[] { TypeDescriptor.
GetProperties
(typeof(DataClass))[0] }, "Int32" };
697
return TypeDescriptor.
GetProperties
(typeof(DataClass));
717
return TypeDescriptor.
GetProperties
(typeof(DataClass));
System\Windows\Forms\ListBoxTests.cs (6)
443
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.BackColor)];
459
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.BackColor)];
1340
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ForeColor)];
1356
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ForeColor)];
1816
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ItemHeight)];
1833
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ListBox))[nameof(ListBox.ItemHeight)];
System\Windows\Forms\MdiClientTests.cs (6)
145
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.BackColor)];
161
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.BackColor)];
435
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.Location)];
459
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(MdiClient.Location)];
1148
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(Control.Size)];
1172
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(MdiClient))[nameof(Control.Size)];
System\Windows\Forms\PaddingConverterTests.cs (3)
144
.Returns(TypeDescriptor.
GetProperties
(typeof(ClassWithPadding))[0]);
360
.Returns(TypeDescriptor.
GetProperties
(typeof(ClassWithPadding))[0]);
375
.Returns(TypeDescriptor.
GetProperties
(typeof(string))[0]);
System\Windows\Forms\PageSetupDialogTests.cs (2)
225
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PageSetupDialog))[nameof(PageSetupDialog.MinMargins)];
254
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PageSetupDialog))[nameof(PageSetupDialog.MinMargins)];
System\Windows\Forms\PictureBoxTests.cs (6)
387
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.ErrorImage)];
404
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.ErrorImage)];
597
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.Image)];
614
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.Image)];
1084
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.InitialImage)];
1101
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PictureBox))[nameof(PictureBox.InitialImage)];
System\Windows\Forms\ProgressBarTests.cs (2)
624
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
640
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(Control))[nameof(Control.ForeColor)];
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
93
PropertyDescriptor propertyDescriptor = TypeDescriptor.
GetProperties
(typeof(TestEntity)).
112
PropertyDescriptor propertyDescriptor = TypeDescriptor.
GetProperties
(typeof(TestEntity)).
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (1)
53
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[0];
System\Windows\Forms\PropertyGridInternal\PropertiesTabTests.cs (3)
146
.Returns(TypeDescriptor.
GetProperties
(typeof(ParentClass))[0])
162
.Returns(TypeDescriptor.
GetProperties
(typeof(CustomTypeConverterParentClass))[0])
233
return TypeDescriptor.
GetProperties
(typeof(ClassWithNameProperty));
System\Windows\Forms\PropertyGridTests.cs (40)
378
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.BackColor)];
394
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.BackColor)];
752
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategoryForeColor)];
768
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategoryForeColor)];
830
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategorySplitterColor)];
846
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CategorySplitterColor)];
915
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsActiveLinkColor)];
931
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsActiveLinkColor)];
993
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBackColor)];
1009
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBackColor)];
1078
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBorderColor)];
1094
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBorderColor)];
1163
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsDisabledLinkColor)];
1179
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsDisabledLinkColor)];
1241
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)];
1257
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)];
1326
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsLinkColor)];
1342
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsLinkColor)];
1490
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.DisabledItemForeColor)];
1506
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.DisabledItemForeColor)];
1703
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ForeColor)];
1719
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ForeColor)];
1781
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBackColor)];
1797
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBackColor)];
1866
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBorderColor)];
1882
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpBorderColor)];
1944
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpForeColor)];
1960
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.HelpForeColor)];
2200
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.LineColor)];
2216
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.LineColor)];
2447
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)];
2463
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusBackColor)];
2525
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)];
2541
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.SelectedItemWithFocusForeColor)];
3251
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBackColor)];
3267
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBackColor)];
3336
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBorderColor)];
3352
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBorderColor)];
3421
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewForeColor)];
3437
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(PropertyGrid))[nameof(PropertyGrid.ViewForeColor)];
System\Windows\Forms\ScrollableControlTests.cs (4)
416
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMargin)];
440
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMargin)];
657
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMinSize)];
681
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ScrollableControl))[nameof(ScrollableControl.AutoScrollMinSize)];
System\Windows\Forms\StatusStripTests.cs (2)
549
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(StatusStrip))[nameof(ToolStrip.RenderMode)];
577
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(StatusStrip))[nameof(ToolStrip.RenderMode)];
System\Windows\Forms\TabControlTests.cs (4)
1557
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.ItemSize)];
1581
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.ItemSize)];
1766
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.Padding)];
1790
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabControl))[nameof(TabControl.Padding)];
System\Windows\Forms\TableLayoutPanelTests.cs (2)
336
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TableLayoutPanel))[nameof(Control.Controls)];
356
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TableLayoutPanel))[nameof(Control.Controls)];
System\Windows\Forms\TabPageTests.cs (2)
2364
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabPage))[nameof(TabPage.Location)];
2392
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TabPage))[nameof(TabPage.Location)];
System\Windows\Forms\ToolStripContentPanelTests.cs (2)
1435
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripContentPanel))[nameof(ToolStripContentPanel.RenderMode)];
1463
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripContentPanel))[nameof(ToolStripContentPanel.RenderMode)];
System\Windows\Forms\ToolStripControlHostTests.cs (16)
331
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
348
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
362
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
379
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.BackColor)];
998
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1024
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1038
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1064
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.Font)];
1150
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1167
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1181
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1198
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripControlHost))[nameof(ToolStripControlHost.ForeColor)];
1641
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
1670
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
1684
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
1713
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(SubToolStripControlHost))[nameof(ToolStripControlHost.RightToLeft)];
System\Windows\Forms\ToolStripDropDownTests.cs (2)
1431
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
1447
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
System\Windows\Forms\ToolStripItemTests.cs (38)
1736
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.BackColor)];
1752
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.BackColor)];
2329
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.DisplayStyle)];
2345
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.DisplayStyle)];
3178
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Font)];
3207
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Font)];
3429
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ForeColor)];
3445
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ForeColor)];
4083
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4100
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4128
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4145
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Image)];
4736
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4757
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4782
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4816
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4836
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
4860
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageIndex)];
5223
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5250
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5281
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5315
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5342
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5373
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)];
5780
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageTransparentColor)];
5796
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ImageTransparentColor)];
6097
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Margin)];
6113
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Margin)];
6912
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Padding)];
6928
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Padding)];
7414
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.RightToLeft)];
7442
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.RightToLeft)];
8772
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.TextDirection)];
8796
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.TextDirection)];
9073
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ToolTipText)];
9100
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.ToolTipText)];
9596
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Visible)];
9612
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripItem))[nameof(ToolStripItem.Visible)];
System\Windows\Forms\ToolStripSeparatorTests.cs (2)
386
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripSeparator))[nameof(ToolStripSeparator.ForeColor)];
402
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStripSeparator))[nameof(ToolStripSeparator.ForeColor)];
System\Windows\Forms\ToolStripTests.cs (4)
2204
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
2220
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.DefaultDropDownDirection)];
3375
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.RenderMode)];
3403
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolStrip))[nameof(ToolStrip.RenderMode)];
System\Windows\Forms\ToolTipTests.cs (4)
185
var properties = TypeDescriptor.
GetProperties
(typeof(ToolTip));
261
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolTip))[nameof(ToolTip.AutoPopDelay)];
386
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolTip))[nameof(ToolTip.InitialDelay)];
471
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(ToolTip))[nameof(ToolTip.ReshowDelay)];
System\Windows\Forms\TreeNodeTests.cs (4)
420
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.BackColor)];
436
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.BackColor)];
861
PropertyDescriptor property = TypeDescriptor.
GetProperties
(typeof(TreeNode))[nameof(TreeNode.ForeColor)];
877
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];