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