3 writes to Flags
System.Windows.Forms (3)
System\Windows\Forms\Rendering\DrawingEventArgs.cs (3)
40
Flags
= flags;
64
Flags
= flags;
87
Flags
|= DrawingEventFlags.GraphicsStateUnclean;
7 references to Flags
System.Windows.Forms (7)
System\Windows\Forms\Rendering\DrawingEventArgs.cs (3)
71
internal bool IsStateClean => !
Flags
.HasFlag(DrawingEventFlags.GraphicsStateUnclean);
115
CheckGraphicsForState(_graphics,
Flags
);
125
CheckGraphicsForState(_graphics,
Flags
);
System\Windows\Forms\Rendering\PaintEventArgs.cs (4)
51
? new DrawingEventArgs(e.GraphicsInternal, clipRect, e._event.
Flags
)
52
: new DrawingEventArgs(hdc, clipRect, e._event.
Flags
);
107
if (_event.
Flags
.HasFlag(DrawingEventFlags.SaveState) && graphics is not null)
122
=> _savedGraphicsState = _event.
Flags
.HasFlag(DrawingEventFlags.SaveState) ? graphics.Save() : default;