2 overrides of ShouldRenderReadOnly
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
41public override bool ShouldRenderReadOnly => ParentGridEntry?.ShouldRenderReadOnly ?? false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
240public override bool ShouldRenderReadOnly
9 references to ShouldRenderReadOnly
System.Windows.Forms (9)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (1)
41public override bool ShouldRenderReadOnly => ParentGridEntry?.ShouldRenderReadOnly ?? false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (3)
141return ShouldRenderReadOnly 1253, readOnly = {ShouldRenderReadOnly}"; 1800Color textColor = ShouldRenderReadOnly ? ownerGrid.GrayTextColor : ownerGrid.TextColor;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
118if (owner.ShouldRenderReadOnly)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
99public override bool ShouldRenderReadOnly => InstanceParentGridEntry?.ShouldRenderReadOnly ?? false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
264return base.ShouldRenderReadOnly && !_isSerializeContentsProperty && !NeedsModalEditorButton;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
4317if ((needsCustomEditorButton || needsDropDownButton) && !gridEntry.ShouldRenderReadOnly && FocusInside) 4375bool drawReadOnly = gridEntry.ShouldRenderReadOnly;