1 write to _descriptors
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
25
_descriptors
= descriptors;
26 references to _descriptors
System.Windows.Forms (26)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (23)
28
public override Type ComponentType =>
_descriptors
[0].ComponentType;
33
get =>
_descriptors
[0].Converter;
36
public override string DisplayName =>
_descriptors
[0].DisplayName;
45
foreach (PropertyDescriptor pd in
_descriptors
)
66
foreach (PropertyDescriptor pd in
_descriptors
)
80
public override Type PropertyType =>
_descriptors
[0].PropertyType;
82
public PropertyDescriptor this[int index] =>
_descriptors
[index];
91
for (int i = 0; i <
_descriptors
.Length; i++)
93
if (!
_descriptors
[i].CanResetValue(GetPropertyOwnerForComponent(a, i)!))
185
propertyOwner = descriptor.GetPropertyOwner(
_descriptors
[i]);
192
public override object? GetEditor(Type editorBaseType) =>
_descriptors
[0].GetEditor(editorBaseType);
203
object? @object =
_descriptors
[0].GetValue(GetPropertyOwnerForComponent(components, 0));
221
for (int i = 1; i <
_descriptors
.Length; i++)
223
object? currentObject =
_descriptors
[i].GetValue(GetPropertyOwnerForComponent(components, i));
258
values[i] =
_descriptors
[i].GetValue(GetPropertyOwnerForComponent(components, i));
268
for (int i = 0; i <
_descriptors
.Length; i++)
270
_descriptors
[i].ResetValue(GetPropertyOwnerForComponent(array, i)!);
288
for (int i = 0; i <
_descriptors
.Length; i++)
290
if (
_descriptors
[i].GetValue(GetPropertyOwnerForComponent(a, i)) is not IList properties)
321
for (int i = 0; i <
_descriptors
.Length; i++)
324
_descriptors
[i].SetValue(GetPropertyOwnerForComponent(array, i), clonedValue);
333
for (int i = 0; i <
_descriptors
.Length; i++)
335
if (!
_descriptors
[i].ShouldSerializeValue(GetPropertyOwnerForComponent(array, i)!))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MergedAttributeCollection.cs (3)
28
_attributeCollections = new AttributeCollection[_owner.
_descriptors
.Length];
29
for (int i = 0; i < _owner.
_descriptors
.Length; i++)
31
_attributeCollections[i] = _owner.
_descriptors
[i].Attributes;