18 writes to _flags
System.Windows.Forms (18)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (18)
299
protected void SetForceReadOnlyFlag() =>
_flags
|= Flags.ForceReadOnly;
362
_flags
|= Flags.Checked;
376
_flags
|= Flags.StandardValuesSupported;
382
_flags
|= Flags.TextEditable;
391
_flags
|= Flags.Immutable;
396
_flags
|= Flags.Expandable;
403
_flags
|= Flags.ReadOnlyEditable;
409
_flags
|= Flags.RenderPassword;
419
_flags
|= Flags.CustomPaint;
431
_flags
|= Flags.ModalEditable;
434
_flags
|= Flags.ReadOnlyEditable;
439
_flags
|= Flags.DropDownEditable;
448
protected void ClearFlags() =>
_flags
= 0;
572
_flags
|= Flags.CustomPaint;
577
_flags
|= Flags.NoCustomPaint;
1018
_flags
|= Flags.Checked;
1391
newEntry.
_flags
|= Flags.ForceReadOnly;
2044
=>
_flags
= (EntryFlags & ~flag) | (value ? flag : 0);
10 references to _flags
System.Windows.Forms (10)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (10)
297
internal virtual bool ForceReadOnly => (
_flags
& Flags.ForceReadOnly) != 0;
357
if (
_flags
.HasFlag(Flags.Checked))
359
return
_flags
;
401
if (!forceReadOnly && !
_flags
.HasFlag(Flags.TextEditable) && !hasImmutableAttribute)
414
return
_flags
;
444
return
_flags
;
560
if (!
_flags
.HasFlag(Flags.Checked))
565
if (
_flags
.HasFlag(Flags.CustomPaint) ||
_flags
.HasFlag(Flags.NoCustomPaint))
567
return
_flags
.HasFlag(Flags.CustomPaint);