14 references to LightSourcePosition
System.Workflow.ComponentModel (14)
AuthoringOM\Design\DesignerHelpers.cs (6)
420
internal static void DrawDropShadow(Graphics graphics, Rectangle shadowSourceRectangle, Color baseColor, int shadowDepth,
LightSourcePosition
lightSourcePosition, float lightSourceIntensity, bool roundEdges)
438
if ((lightSourcePosition &
LightSourcePosition
.Center) > 0)
441
if ((lightSourcePosition &
LightSourcePosition
.Left) > 0)
443
else if ((lightSourcePosition &
LightSourcePosition
.Right) > 0)
445
if ((lightSourcePosition &
LightSourcePosition
.Top) > 0)
447
else if ((lightSourcePosition &
LightSourcePosition
.Bottom) > 0)
AuthoringOM\Design\DesignerWidgets.cs (2)
1423
ActivityDesignerPaint.DrawDropShadow(e.Graphics, rectangle, Color.Black, AmbientTheme.DropShadowWidth,
LightSourcePosition
.Left |
LightSourcePosition
.Top, 0.2f, false);
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (2)
42
ActivityDesignerPaint.DrawDropShadow(graphics, designer.Bounds, designer.DesignerTheme.BorderPen.Color, AmbientTheme.DropShadowWidth,
LightSourcePosition
.Left |
LightSourcePosition
.Top, 0.5f, drawRounded);
AuthoringOM\Design\WorkflowLayouts.cs (4)
260
ActivityDesignerPaint.DrawDropShadow(graphics, rootBounds, AmbientTheme.WorkflowBorderPen.Color, AmbientTheme.DropShadowWidth,
LightSourcePosition
.Left |
LightSourcePosition
.Top, 0.2f, false);
648
ActivityDesignerPaint.DrawDropShadow(graphics, pageLayoutData.PageBounds, Color.Black, AmbientTheme.DropShadowWidth,
LightSourcePosition
.Left |
LightSourcePosition
.Top, 0.2f, false);