Class TabGroupRenderer
The TabGroupRenderer class.
Inheritance
System.Object
TabGroupRenderer
Implements
System.IDisposable
Assembly: Syncfusion.Tools.Windows.dll
public class TabGroupRenderer : TabRendererBase, ITabRenderer, IDisposable, ITabGroupRenderer
Constructors
Constructor of the TabGroupRenderer.
Declaration
public TabGroupRenderer(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Fields
Declaration
public static readonly int OVERLAPX
Field Value
Properties
Declaration
public override RectangleF Bounds { get; set; }
Property Value
| Type |
| System.Drawing.RectangleF |
Overrides
Declaration
protected ArrayList itemBounds { get; set; }
Property Value
| Type |
| System.Collections.ArrayList |
Declaration
public override ITabData TabData { get; set; }
Property Value
Overrides
Returns the TabPanelPropertyTabGroup
Declaration
public static TabPanelPropertyTabGroup TabPanelPropertyExtender { get; }
Property Value
Returns the TabStyleName.
Declaration
public static string TabStyleName { get; }
Property Value
Methods
Declaration
protected override RectangleF CorrectBounds(RectangleF bounds)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
bounds |
|
Returns
| Type |
| System.Drawing.RectangleF |
Overrides
Declaration
protected virtual void CorrectTabBounds(ref RectangleF bounds)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
bounds |
|
Declaration
protected override void DrawBackground(DrawTabEventArgs drawiteminfo)
Parameters
Overrides
Declaration
protected override void DrawBorders(DrawTabEventArgs drawiteminfo)
Parameters
Overrides
Declaration
protected override void DrawInterior(DrawTabEventArgs drawItemInfo)
Parameters
Overrides
Overrides the fore color of the Active tab item
Declaration
protected override Color GetActiveForeColor()
Returns
| Type |
Description |
| System.Drawing.Color |
Color of the active tab item
|
Overrides
Declaration
protected string GetAutoHideCaption(string caption)
Parameters
| Type |
Name |
Description |
| System.String |
caption |
|
Returns
Overrides the fore color of the tab item
Declaration
protected override Color GetForeColor()
Returns
| Type |
Description |
| System.Drawing.Color |
Color of text in tab item
|
Overrides
Gets the GroupItem bounds.
Declaration
public RectangleF GetGroupItemBounds(int i)
Parameters
| Type |
Name |
Description |
| System.Int32 |
i |
The index.
|
Returns
| Type |
| System.Drawing.RectangleF |
Declaration
public override SizeF GetPreferredSize(Graphics g)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
Returns
| Type |
| System.Drawing.SizeF |
Overrides
Declaration
protected virtual void SetItemBounds(Graphics g, RectangleF tabBounds)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.RectangleF |
tabBounds |
|
Implements
System.IDisposable