Edit

Share via


ActivityDesignerPaint Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Provides static methods used to draw user interface elements on activity designer surfaces. This class cannot be inherited.

public ref class ActivityDesignerPaint abstract sealed
public static class ActivityDesignerPaint
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public static class ActivityDesignerPaint
type ActivityDesignerPaint = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesignerPaint = class
Public Class ActivityDesignerPaint
Inheritance
ActivityDesignerPaint
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Methods

Draw3DButton(Graphics, Image, Rectangle, Single, ButtonState)

Draws a 3-dimensional button on the activity designer surface.

DrawExpandButton(Graphics, Rectangle, Boolean, CompositeDesignerTheme)

Draws a button that is used to expand and collapse composite designers on the activity designer surface.

DrawImage(Graphics, Image, Rectangle, DesignerContentAlignment)

Draws an image on the activity designer surface by using a Graphics, an Image, a Rectangle, and a DesignerContentAlignment.

DrawImage(Graphics, Image, Rectangle, Rectangle, DesignerContentAlignment, Single, Boolean)

Draws an image on the activity designer surface by using a Graphics, an Image, a source and destination Rectangle, an DesignerContentAlignment, a single-precision floating-point number, and a Boolean value.

DrawRoundedRectangle(Graphics, Pen, Rectangle, Int32)

Draws a rounded rectangle on the activity designer surface.

DrawText(Graphics, Font, String, Rectangle, StringAlignment, TextQuality, Brush)

Draws text on the activity designer surface.

GetRoundedRectanglePath(Rectangle, Int32)

Returns the graphics path used to draw the specified rounded rectangle.

Applies to