1 override of ForceReadOnly
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
154
internal override bool
ForceReadOnly
{
8 references to ForceReadOnly
System.Windows.Forms (8)
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
31
this.SetFlag(FLAG_RENDER_READONLY, (peParent.Flags & FLAG_RENDER_READONLY) != 0 || peParent.
ForceReadOnly
);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (5)
152
if (peParent.
ForceReadOnly
) {
487
bool forceReadOnly = this.
ForceReadOnly
;
740
return !
ForceReadOnly
&& 0 != (Flags & (GridEntry.FLAG_DROPDOWN_EDITABLE | GridEntry.FLAG_TEXT_EDITABLE | GridEntry.FLAG_CUSTOM_EDITABLE | GridEntry.FLAG_ENUMERABLE));
976
return
ForceReadOnly
|| (0 != (this.Flags & GridEntry.FLAG_RENDER_READONLY) || (!this.IsValueEditable && (0 == (this.Flags & GridEntry.FLAG_READONLY_EDITABLE))));
1540
bool forceReadOnly = this.
ForceReadOnly
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
351
if (base.
ForceReadOnly
|| forceRenderReadOnly) {
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
163
return base.
ForceReadOnly
|| (GridEntryHost != null && !GridEntryHost.Enabled);