10 references to EdgeEffects
System.Windows.Forms (10)
winforms\Managed\System\WinForms\TrackBarRenderer.cs (4)
165
visualStyleRenderer.DrawEdge(g, new Rectangle(bounds.X, bounds.Y, lineWidth, bounds.Height), Edges.Left, edgeStyle,
EdgeEffects
.None);
174
visualStyleRenderer.DrawEdge(g, new Rectangle((int)Math.Round(x), bounds.Y, lineWidth, bounds.Height), Edges.Left, edgeStyle,
EdgeEffects
.None);
196
visualStyleRenderer.DrawEdge(g, new Rectangle(bounds.X, bounds.Y, bounds.Width, lineWidth), Edges.Top, edgeStyle,
EdgeEffects
.None);
205
visualStyleRenderer.DrawEdge(g, new Rectangle(bounds.X, (int)Math.Round(y), bounds.Width, lineWidth), Edges.Top, edgeStyle,
EdgeEffects
.None);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (6)
340
public Rectangle DrawEdge(IDeviceContext dc, Rectangle bounds, Edges edges, EdgeStyle style,
EdgeEffects
effects) {
353
if (!ClientUtils.IsEnumValid_Masked(effects, (int)effects, (UInt32)(
EdgeEffects
.FillInterior |
EdgeEffects
.Flat |
EdgeEffects
.Soft |
EdgeEffects
.Mono))) {
354
throw new InvalidEnumArgumentException("effects", (int)effects, typeof(
EdgeEffects
));