Layout

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

Fields

TabGroupWidth

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

TabRaising

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

Properties

GapHeight

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

ItemGap

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

ItemSize

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

PanelBar

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

PanelGap

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

SizingBar

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

TabColour

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

TabHeight

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

TabOverlap

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

TabPadding

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

TabRadius

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

Methods

HeightOfControl

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

HeightOfPanel

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

Events

LayoutConstantsChanged

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