Class StyleBoxFlat

Namespace
Forma
Assembly
Forma.dll

Color-filled style box with configurable border and rounded corners.

public sealed class StyleBoxFlat : StyleBox
Inheritance
StyleBoxFlat
Inherited Members

Constructors

StyleBoxFlat()

public StyleBoxFlat()

Properties

BackgroundColor

public Color BackgroundColor { get; set; }

Property Value

Color

BorderColor

public Color BorderColor { get; set; }

Property Value

Color

BorderWidth

public int BorderWidth { get; set; }

Property Value

int

CornerRadius

public int CornerRadius { get; set; }

Property Value

int

Methods

Draw(UIRenderContext, Rectangle)

public override void Draw(UIRenderContext context, Rectangle bounds)

Parameters

context UIRenderContext
bounds Rectangle