GH_RibbonPainter

public sealed class GH_RibbonPainter

Properties

PanelBarHeight

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

PanelCornerRadius

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

TabGripHeight

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

Methods

PanelBottomBar

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

PanelInnerBorder

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

PanelOuterBorder

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

TabEdgeBrush

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

TabOuterBorder

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

TabPaneBrush

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