Table of Contents

Method FillBorderRectangle

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

FillBorderRectangle(Graphics, RectD, Brush?, BorderSettings?, bool, Control?)

Fills rectangle background and draws its border using the specified border settings.

public static void FillBorderRectangle(this Graphics dc, RectD rect, Brush? brush, BorderSettings? border, bool hasBorder = true, Control? control = null)

Parameters

dc Graphics

Graphics where to draw.

rect RectD

Rectangle.

brush Brush

Brush to fill the rectangle.

border BorderSettings

Border settings.

hasBorder bool

Whether border is painted.

control Control

Control in which border is painted. Optional.