1 write to descriptors
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
43
this.
descriptors
= descriptors;
26 references to descriptors
System.Windows.Forms (26)
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (26)
57
return
descriptors
[0].ComponentType;
69
return
descriptors
[0].Converter;
75
return
descriptors
[0].DisplayName;
91
foreach (PropertyDescriptor pd in
descriptors
) {
114
foreach (PropertyDescriptor pd in
descriptors
) {
135
return
descriptors
[0].PropertyType;
141
return
descriptors
[index];
158
for (int i = 0; i <
descriptors
.Length; i++) {
159
if (!
descriptors
[i].CanResetValue(GetPropertyOwnerForComponent(a, i))) {
249
propertyOwner = ((ICustomTypeDescriptor) propertyOwner).GetPropertyOwner(
descriptors
[i]);
261
return
descriptors
[0].GetEditor(editorBaseType);
282
object obj =
descriptors
[0].GetValue(GetPropertyOwnerForComponent(components, 0));
296
for (int i = 1; i <
descriptors
.Length; i++) {
297
object objCur =
descriptors
[i].GetValue(GetPropertyOwnerForComponent(components, i));
327
values[i] =
descriptors
[i].GetValue(GetPropertyOwnerForComponent(components, i));
345
for (int i = 0; i <
descriptors
.Length; i++) {
346
descriptors
[i].ResetValue(GetPropertyOwnerForComponent(a, i));
362
for (int i = 0; i <
descriptors
.Length; i++) {
363
IList propList =
descriptors
[i].GetValue(GetPropertyOwnerForComponent(a, i)) as IList;
397
for (int i = 0; i <
descriptors
.Length; i++) {
399
descriptors
[i].SetValue(GetPropertyOwnerForComponent(a, i), clonedValue);
416
for (int i = 0; i <
descriptors
.Length; i++) {
417
if (!
descriptors
[i].ShouldSerializeValue(GetPropertyOwnerForComponent(a, i))) {
625
attributeCollections = new AttributeCollection[owner.
descriptors
.Length];
626
for (int i = 0; i < owner.
descriptors
.Length; i++) {
627
attributeCollections[i] = owner.
descriptors
[i].Attributes;