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
CornerRadius
public int CornerRadius { get; set; }
Property Value
Methods
Draw(UIRenderContext, Rectangle)
public override void Draw(UIRenderContext context, Rectangle bounds)
Parameters
contextUIRenderContextboundsRectangle