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