3 references to GetRectangleFromAlignment
System.Workflow.ComponentModel (3)
AuthoringOM\Design\DesignerHelpers.cs (1)
173
Rectangle imageRectangle =
GetRectangleFromAlignment
(alignment, destination, source.Size);
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (1)
325
return new Rectangle(ActivityDesignerPaint.
GetRectangleFromAlignment
(action.DockAlignment, bounds, action.Bounds.Size).Location, action.Bounds.Size);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
305
watermarkRectangle = ActivityDesignerPaint.
GetRectangleFromAlignment
(compositeDesignerTheme.WatermarkAlignment, bounds, compositeDesignerTheme.WatermarkImage.Size);