System.Windows.Forms.VisualStyles.VisualStyleRenderer.DrawText Method

Draws text in the specified bounds with the option of displaying disabled text.

Syntax

public void DrawText (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, string textToDraw, bool drawDisabled)

Parameters

dc
The System.Drawing.IDeviceContext used to draw the text.
bounds
A System.Drawing.Rectangle in which to draw the text.
textToDraw
The text to draw.
drawDisabled
true to draw grayed-out text; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0