Table of Contents

Method PaintEmptyText

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PaintEmptyText(Graphics, RectD)

Draws the empty text string, if defined, centered within the specified rectangle using the provided graphics context.

protected virtual void PaintEmptyText(Graphics dc, RectD paintRectangle)

Parameters

dc Graphics

The graphics context used to render the empty text.

paintRectangle RectD

The rectangle that defines the area in which to center and draw the empty text.

Remarks

If the empty text is null or empty, no text is drawn. The text is rendered using a gray color and is centered both horizontally and vertically within the specified rectangle.