Table of Contents
Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
This class exposes no events.
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
CalculateDropIndicatorOffsets | currentOffset as Point bar as GraffitiTabBar | Point | Used for calculating drop indicator position when tab shapes require such an offset. |
CalculateTabOffsets | currentOffset as Point bar as GraffitiTabBar item as GraffitiTabBarItem itemIndex as Integer | Point | Used for calculating the item’s position when drawn in the display when tab shapes require such an offset. |
Constructor | None | GraffitiTabBarRenderer | Creates a new instance of the class. |
DrawCloseButton | bar as GraffitiTabBar hover as Boolean selected as Boolean | Picture | Draw the items’ close button. |
ItemShadowBrush | None | ShadowBrush | Brush used to draw a shadow beneath items for depth. |
PaintBackground | bar as GraffitiTabBar g as Graphics | None | Used for drawing the background of the control behind all other elements. |
PaintBorder | bar as GraffitiTabBar g as Graphics | None | Used for drawing the border of the control. Is the frontmost element drawn, so may overlap other elements. |
PaintDisabledLayer | bar as GraffitiTabBar g as Graphics | None | Paints the layer that overlayed on the entire component when Enabled = False. |
PaintDropIndicator | bar as GraffitiTabBar | None | Draws the drop indicator that is displayed during drag operations. |
PaintItem | bar as GraffitiTabBar item as GraffitiTabBarItem | Picture | Draw the item to be displayed. |
PaintOverflowLeft | bar as GraffitiTabBar hover as Boolean pressed as Boolean | Picture | Draw the element that signifies overflow and is visible when the control is scrolled to the right. |
PaintOverflowRight | bar as GraffitiTabBar hover as Boolean pressed as Boolean | Picture | Draw the element that signifies overflow and is visible when the control is scrolled to the left. |
Properties #
Name | Type | DefaultValue | Description |
---|---|---|---|
IconSize | Integer | 16 | Size, in points, that the icon is drawn within items. |
Style | GraffitiTabBarStyle | Auto-generated default | Style object whose properties should be applied during drawing. |