Layout

public static class Layout
A set of constants used in proxy tabbing layout.

Fields

TabGroupWidth

#
Width of tab groups.
public const int TabGroupWidth = 40

TabRaising

#
The number of pixels difference between normal and elevated labels.
public const int TabRaising = 2

Properties

GapHeight

#
The height of the 'gap' bar behind the tab labels.
public static int GapHeight { get; }

ItemGap

#
Gets the amount of empty space between panel items.
public static int ItemGap { get; set; }

ItemSize

#
Gets the size of the item icons on the panels.
public static int ItemSize { get; set; }

PanelBar

#
Gets the height of the bar along the bottom of the panels where the panel name is visible.
public static int PanelBar { get; set; }

PanelGap

#
Gets the amount of empty space between panels.
public static int PanelGap { get; set; }

SizingBar

#
Gets the height of the bar along the bottom of the control which allows for resizing.
public static int SizingBar { get; set; }

TabColour

#
The thickness of the colour bar in the tab label shape.
public static int TabColour { get; set; }

TabHeight

#
The height of the tab label.
public static int TabHeight { get; set; }

TabOverlap

#
The height of the overlap region between the tops of tab labels and the form background.
public static int TabOverlap { get; set; }

TabPadding

#
The number of pixels between the tab label text and the shape edge.
public static int TabPadding { get; set; }

TabRadius

#
The radius of the tab label shape.
public static int TabRadius { get; set; }

Methods

HeightOfControl

#
Compute the height of a TabControl given a number of TabPanel.Rows.
public static int HeightOfControl(
rows
Rows of items in each panel.
)

HeightOfPanel

#
Compute the height of a TabControl given a number of TabPanel.Rows.
public static int HeightOfPanel(
rows
Rows of items in each panel.
)

Events

LayoutConstantsChanged

#
Raised when the layout constants are changed.
public static event EventHandler LayoutConstantsChanged