3 writes to Target
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
40
Target
= target;
184
Target
= value;
206
Target
= null!;
12 references to Target
System.Windows.Forms (12)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.cs (2)
41
foreach (object target in (Array)
Target
)
63
object[] targets = (object[])
Target
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\SingleSelectRootGridEntry.cs (10)
41
_valueClassName = TypeDescriptor.GetClassName(
Target
);
126
if ((TypeDescriptorHelper.TryGetAttribute(
Target
, out ReadOnlyAttribute? readOnlyAttribute)
128
|| TypeDescriptor.GetAttributes(
Target
).Contains(InheritanceAttribute.InheritedReadOnly))
152
if (TypeDescriptorHelper.TryGetAttribute(
Target
, out HelpKeywordAttribute? helpAttribute)
166
if (
Target
is IComponent component)
168
return component.Site?.Name ??
Target
.GetType().Name;
171
return
Target
?.ToString();
178
get =>
Target
;
181
object old =
Target
;
185
_valueClassName = TypeDescriptor.GetClassName(
Target
);