Class TabGroupRenderer
The TabGroupRenderer class.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TabGroupRenderer : TabRendererBase, ITabRenderer, IDisposable, ITabGroupRenderer
Constructors
TabGroupRenderer(ITabControl, ITabPanelRenderer)
Constructor of the TabGroupRenderer.
Declaration
public TabGroupRenderer(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Type | Name | Description |
---|---|---|
ITabControl | parent | The ITabControl instance |
ITabPanelRenderer | panelRenderer |
Fields
OVERLAPX
Initialize the OVERLAPX
Declaration
public static readonly int OVERLAPX
Field Value
Type |
---|
System.Int32 |
Properties
Bounds
Gets / Sets the Bounds.
Declaration
public override RectangleF Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.RectangleF |
Overrides
itemBounds
Declaration
protected ArrayList itemBounds { get; set; }
Property Value
Type |
---|
System.Collections.ArrayList |
TabData
Gets /Sets the TabData.
Declaration
public override ITabData TabData { get; set; }
Property Value
Type |
---|
ITabData |
Overrides
TabPanelPropertyExtender
Returns the TabPanelPropertyTabGroup
Declaration
public static TabPanelPropertyTabGroup TabPanelPropertyExtender { get; }
Property Value
Type |
---|
TabPanelPropertyTabGroup |
TabStyleName
Returns the TabStyleName.
Declaration
public static string TabStyleName { get; }
Property Value
Type |
---|
System.String |
Methods
CorrectBounds(RectangleF)
Declaration
protected override RectangleF CorrectBounds(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds |
Returns
Type |
---|
System.Drawing.RectangleF |
Overrides
CorrectTabBounds(ref RectangleF)
Declaration
protected virtual void CorrectTabBounds(ref RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds |
DrawBackground(DrawTabEventArgs)
Declaration
protected override void DrawBackground(DrawTabEventArgs drawiteminfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawiteminfo |
Overrides
DrawBorders(DrawTabEventArgs)
Declaration
protected override void DrawBorders(DrawTabEventArgs drawiteminfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawiteminfo |
Overrides
DrawInterior(DrawTabEventArgs)
Declaration
protected override void DrawInterior(DrawTabEventArgs drawItemInfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawItemInfo |
Overrides
GetActiveForeColor()
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
GetAutoHideCaption(String)
Declaration
protected string GetAutoHideCaption(string caption)
Parameters
Type | Name | Description |
---|---|---|
System.String | caption |
Returns
Type |
---|
System.String |
GetForeColor()
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
GetGroupItemBounds(Int32)
Gets the GroupItem bounds.
Declaration
public RectangleF GetGroupItemBounds(int i)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | The index. |
Returns
Type |
---|
System.Drawing.RectangleF |
GetPreferredSize(Graphics)
Gets the Preferred size
Declaration
public override SizeF GetPreferredSize(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g |
Returns
Type |
---|
System.Drawing.SizeF |
Overrides
SetItemBounds(Graphics, RectangleF)
Declaration
protected virtual void SetItemBounds(Graphics g, RectangleF tabBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.RectangleF | tabBounds |
Implements
System.IDisposable