ActivityDesignerPaintEventArgs Konstruktor

Definition

Initierar en ny instans av ActivityDesignerPaintEventArgs klassen med den angivna grafiken, urklippsrektangeln, visningsporten och designertemat.

public:
 ActivityDesignerPaintEventArgs(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipRectangle, System::Drawing::Rectangle viewPort, System::Workflow::ComponentModel::Design::ActivityDesignerTheme ^ designerTheme);
public ActivityDesignerPaintEventArgs(System.Drawing.Graphics graphics, System.Drawing.Rectangle clipRectangle, System.Drawing.Rectangle viewPort, System.Workflow.ComponentModel.Design.ActivityDesignerTheme designerTheme);
new System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs : System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * System.Workflow.ComponentModel.Design.ActivityDesignerTheme -> System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs
Public Sub New (graphics As Graphics, clipRectangle As Rectangle, viewPort As Rectangle, designerTheme As ActivityDesignerTheme)

Parametrar

graphics
Graphics

Används Graphics för att rita objektet.

clipRectangle
Rectangle

Det Rectangle som representerar rektangeln som ska ritas i.

viewPort
Rectangle

Visningsporten som ska ritas i.

designerTheme
ActivityDesignerTheme

Associerad ActivityDesignerTheme med objektet som ska ritas.

Gäller för