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