Upraviť

Zdieľať cez


ActivityDesignerPaintEventArgs Class

Definition

Caution

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

Provides data for the OnPaint(ActivityDesignerPaintEventArgs), OnPaint(ActivityDesignerPaintEventArgs, Boolean), OnPaint(ActivityDesignerPaintEventArgs), and OnPaint(Graphics, Boolean, AmbientTheme, ActivityDesigner) methods and any overridden versions of OnPaint in classes that derive from them, when they are drawn on a workflow design surface.

public ref class ActivityDesignerPaintEventArgs : EventArgs
public class ActivityDesignerPaintEventArgs : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityDesignerPaintEventArgs : EventArgs
type ActivityDesignerPaintEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityDesignerPaintEventArgs = class
    inherit EventArgs
Public Class ActivityDesignerPaintEventArgs
Inherits EventArgs
Inheritance
ActivityDesignerPaintEventArgs
Attributes

Remarks

Note

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

OnPaint method calls occur when an activity designer, glyph, or connector is redrawn on a workflow design surface. ActivityDesignerPaintEventArgs specifies the graphics to use to draw the object and the clipping rectangle in which to draw it.

Constructors

ActivityDesignerPaintEventArgs(Graphics, Rectangle, Rectangle, ActivityDesignerTheme)

Initializes a new instance of the ActivityDesignerPaintEventArgs class with the specified graphics, clipping rectangle, viewport and designer theme.

Properties

AmbientTheme

Gets the AmbientTheme associated with the workflow design surface.

ClipRectangle

Gets the Rectangle in which to draw.

DesignerTheme

Gets the ActivityDesignerTheme associated with the designer.

Graphics

Gets the Graphics used to draw the item on the workflow design surface.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to