GH_RibbonPainter

public sealed class GH_RibbonPainter

Properties

PanelBarHeight

#
public static int PanelBarHeight { get; }
The default height of a panel bar

PanelCornerRadius

#
public static int PanelCornerRadius { get; }
Radius of panel corners

TabGripHeight

#
public static int TabGripHeight { get; }
Height of a tab grip region

Methods

PanelBottomBar

#
public static GraphicsPath PanelBottomBar(Rectangle rec)
Computes a graphicspath that delineates the bar along the bottom of a panel.
rec (Rectangle)The panel rectangle.

PanelInnerBorder

#
public static GraphicsPath PanelInnerBorder(Rectangle rec)
Computes a graphicspath that delineates the inner edge of a typical panel
rec (Rectangle)The panel rectangle

PanelOuterBorder

#
public static GraphicsPath PanelOuterBorder(Rectangle rec)
Computes a graphicspath that delineates the outer edge of a typical panel
rec (Rectangle)The panel rectangle

TabEdgeBrush

#
public static Brush TabEdgeBrush(Rectangle rec)
Generates the default brush for TAB edge curves.
rec (Rectangle)The entire clientrectangle of the tabpane

TabOuterBorder

#
public static GraphicsPath TabOuterBorder(Rectangle GripRec, Rectangle ContentRec)
Computes a graphicspath that delineates the outer edge of a typical tabpane
GripRec (Rectangle)The grip region (tab)
ContentRec (Rectangle)The content region (pane)

TabPaneBrush

#
public static Brush TabPaneBrush(Rectangle rec, Color bg)
Generates the default brush for TAB content fills
rec (Rectangle)The entire clientrectangle of the tabpane
bg (Color)The background colour of the control