ReadOnlyActivityGlyph.OnPaint Method (Graphics, Boolean, AmbientTheme, ActivityDesigner)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs any tasks required to render the glyph on the activity designer surface.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected override void OnPaint(
	Graphics graphics,
	bool activated,
	AmbientTheme ambientTheme,
	ActivityDesigner designer
)

Parameters

graphics
Type: System.Drawing.Graphics

The Graphics to perform fill and drawing tasks.

activated
Type: System.Boolean

true to indicate that the glyph appears on the design surface; otherwise, false.

ambientTheme
Type: System.Workflow.ComponentModel.Design.AmbientTheme

The AmbientTheme to use to access ambient property settings.

designer
Type: System.Workflow.ComponentModel.Design.ActivityDesigner

The ActivityDesigner from which to obtain information about user actions.

.NET Framework
Available since 3.0
Return to top
Show: