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, using the specified GDI-based System.Windows.Forms.TextRenderer.
- dc
The GDI-based System.Windows.Forms.TextRenderer.
- 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.