19 references to PaintValueFlags
System.Windows.Forms (19)
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (2)
234
public override void PaintValue(object val, System.Drawing.Graphics g, Rectangle rect, Rectangle clipRect,
PaintValueFlags
paintFlags) {
235
base.PaintValue(val, g, rect, clipRect, paintFlags & ~
PaintValueFlags
.DrawSelected);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (11)
2088
public virtual void PaintValue(object val, System.Drawing.Graphics g, Rectangle rect, Rectangle clipRect,
PaintValueFlags
paintFlags) {
2100
if ((paintFlags &
PaintValueFlags
.FetchValue) !=
PaintValueFlags
.None) {
2126
if ((paintFlags &
PaintValueFlags
.DrawSelected) !=
PaintValueFlags
.None) {
2159
bool valueModified = ((paintFlags &
PaintValueFlags
.CheckShouldSerialize) !=
PaintValueFlags
.None) && ShouldSerializePropertyValue();
2189
if ((paintFlags &
PaintValueFlags
.PaintInPlace) !=
PaintValueFlags
.None) {
2205
Color bkColor = ((paintFlags &
PaintValueFlags
.DrawSelected) !=
PaintValueFlags
.None) ? GridEntryHost.GetSelectedItemWithFocusBackColor() : GridEntryHost.BackColor;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (6)
1344
GridEntry.
PaintValueFlags
paintFlags = GridEntry.
PaintValueFlags
.None;
1347
paintFlags |= GridEntry.
PaintValueFlags
.DrawSelected;
1351
paintFlags |= GridEntry.
PaintValueFlags
.CheckShouldSerialize;
1355
paintFlags |= GridEntry.
PaintValueFlags
.FetchValue;
1359
paintFlags |= GridEntry.
PaintValueFlags
.PaintInPlace;