51 references to DesignerContentAlignment
System.Workflow.Activities (4)
Designers\ServiceDesigner.cs (1)
103this.WatermarkAlignment = DesignerContentAlignment.BottomRight;
Designers\StateDesigner.Layouts.cs (3)
477ActivityDesignerPaint.DrawImage(graphics, image, this.ImageRectangle, DesignerContentAlignment.Fill); 613ActivityDesignerPaint.DrawImage(graphics, image, this.ImageRectangle, DesignerContentAlignment.Fill); 906ActivityDesignerPaint.DrawImage(graphics, image, this.Bounds, DesignerContentAlignment.Fill);
System.Workflow.ComponentModel (47)
AuthoringOM\Design\ActivityDesigner.cs (2)
1681ActivityDesignerPaint.DrawImage(e.Graphics, Image, ImageRectangle, DesignerContentAlignment.Fill); 3098ActivityDesignerPaint.DrawImage(graphics, image, imageRectangle, DesignerContentAlignment.Center);
AuthoringOM\Design\DesignerHelpers.cs (15)
130public static void DrawImage(Graphics graphics, Image image, Rectangle destination, DesignerContentAlignment alignment) 143DrawImage(graphics, image, destination, new Rectangle(Point.Empty, image.Size), DesignerContentAlignment.Center, transparency, false); 156public static void DrawImage(Graphics graphics, Image image, Rectangle destination, Rectangle source, DesignerContentAlignment alignment, float transparency, bool grayscale) 197internal static Rectangle GetRectangleFromAlignment(DesignerContentAlignment alignment, Rectangle destination, Size size) 206if ((alignment & DesignerContentAlignment.Fill) > 0) 212if ((alignment & DesignerContentAlignment.Left) > 0) 214else if ((alignment & DesignerContentAlignment.Right) > 0) 219if ((alignment & DesignerContentAlignment.Top) > 0) 221else if ((alignment & DesignerContentAlignment.Bottom) > 0) 321DrawImage(graphics, image, bounds, new Rectangle(Point.Empty, image.Size), DesignerContentAlignment.Fill, transparency, (buttonState == ButtonState.Inactive)); 820internal static GraphicsPath[] GetPagePaths(Rectangle pageBounds, int pageFoldSize, DesignerContentAlignment foldAlignment) 824if (foldAlignment == DesignerContentAlignment.TopLeft) 841else if (foldAlignment == DesignerContentAlignment.BottomLeft) 859else if (foldAlignment == DesignerContentAlignment.TopRight) 876else if (foldAlignment == DesignerContentAlignment.BottomRight)
AuthoringOM\Design\DesignerWidgets.cs (7)
214GraphicsPath[] graphicsPath = ActivityDesignerPaint.GetPagePaths(itemRectangle, margin, DesignerContentAlignment.TopRight); 242ActivityDesignerPaint.DrawImage(graphics, itemInfo.Image, itemRectangle, DesignerContentAlignment.Center); 2697ActivityDesignerPaint.DrawImage(graphics, scrollButtonImage, scrollbuttonRectangle, DesignerContentAlignment.Center); 2707ActivityDesignerPaint.DrawImage(graphics, scrollButtonImage, scrollbuttonRectangle, DesignerContentAlignment.Center); 2743ActivityDesignerPaint.DrawImage(graphics, itemImage, imageRectangle, DesignerContentAlignment.Center); 3417ActivityDesignerPaint.DrawImage(graphics, previewModeImage, new Rectangle(this.previewModeButtonRectangle.Left + 2, this.previewModeButtonRectangle.Top + 2, this.previewModeButtonRectangle.Width - 4, this.previewModeButtonRectangle.Height - 4), DesignerContentAlignment.Center); 3475ActivityDesignerPaint.DrawImage(graphics, ActivityPreviewDesignerTheme.PreviewImage, indicatorBounds, DesignerContentAlignment.TopLeft);
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (1)
96ActivityDesignerPaint.DrawImage(graphics, AmbientTheme.ConfigErrorImage, bounds, DesignerContentAlignment.Fill);
AuthoringOM\Design\Glyphs\ConnectorDragDropGlyph.cs (1)
31ActivityDesignerPaint.DrawImage(graphics, AmbientTheme.DropIndicatorImage, GetBounds(designer, activated), DesignerContentAlignment.Fill);
AuthoringOM\Design\Glyphs\LockedActivityGlyph.cs (1)
56ActivityDesignerPaint.DrawImage(graphics, AmbientTheme.LockImage, bounds, DesignerContentAlignment.TopLeft);
AuthoringOM\Design\Glyphs\ReadOnlyActivityGlyph.cs (1)
40ActivityDesignerPaint.DrawImage(graphics, AmbientTheme.ReadOnlyImage, bounds, DesignerContentAlignment.TopLeft);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
608ActivityDesignerPaint.DrawImage(e.Graphics, this.dragImage, new Rectangle(this.dragImagePointInClientCoOrd, this.dragImage.Size), new Rectangle(0, 0, this.dragImage.Width, this.dragImage.Height), DesignerContentAlignment.Center, (this.dragImageSnapped) ? 1.0f : 0.5f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale);
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (5)
416private DesignerContentAlignment dockAlignment = DesignerContentAlignment.TopLeft; 498internal DesignerContentAlignment DockAlignment 547ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new Rectangle(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, transparency, (button.State == ActionButton.States.Disabled)); 559ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new Rectangle(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, this.transparency, false);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
170ActivityDesignerPaint.DrawImage(eventArgs.Graphics, this.draggedDesignerImages[i], new Rectangle(new Point(locations[i].X - 2 * ambientTheme.Margin.Width, locations[i].Y - 2 * ambientTheme.Margin.Height), imageSize), new Rectangle(Point.Empty, imageSize), DesignerContentAlignment.Fill, 0.4f, false);
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (1)
217ActivityDesignerPaint.DrawImage(e.Graphics, Image, ImageRectangle, DesignerContentAlignment.Fill);
AuthoringOM\Design\Themes.cs (8)
1437private DesignerContentAlignment watermarkAlignment = DesignerContentAlignment.BottomRight; 1520[DefaultValue(DesignerContentAlignment.BottomRight)] 1523public virtual DesignerContentAlignment WatermarkAlignment 1993private DesignerContentAlignment watermarkAlignment = DesignerContentAlignment.BottomRight; 2571[DefaultValue(DesignerContentAlignment.BottomRight)] 2574public virtual DesignerContentAlignment WatermarkAlignment
AuthoringOM\Design\WorkflowLayouts.cs (2)
196ActivityDesignerPaint.DrawImage(graphics, memoryBitmap, bitmapArea, bitmapArea, DesignerContentAlignment.Fill, 1.0f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale); 681ActivityDesignerPaint.DrawImage(graphics, memoryBitmap, new Rectangle(bitmapDrawingPoint, viewPortBitmapArea.Size), viewPortBitmapArea, DesignerContentAlignment.Fill, 1.0f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale);
AuthoringOM\Design\WorkflowView.cs (1)
1847fitAllAction.DockAlignment = DesignerContentAlignment.BottomRight;