System.Windows.Forms.ControlPaint.DrawStringDisabled Method

Draws the specified string in a disabled state on the specified graphics surface; within the specified bounds; and in the specified font, color, and format.

Syntax

public static void DrawStringDisabled (System.Drawing.Graphics graphics, string s, System.Drawing.Font font, System.Drawing.Color color, System.Drawing.RectangleF layoutRectangle, System.Drawing.StringFormat format)

Parameters

graphics
The System.Drawing.Graphics to draw on.
s
The string to draw.
font
The System.Drawing.Font to draw the string with.
color
The System.Drawing.Color of the background behind the string.
layoutRectangle
The System.Drawing.RectangleF that represents the dimensions of the string.
format
The System.Drawing.StringFormat to apply to the string.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0