Class TabRendererIE7
This renderer allows user to draw TabPages with Internet Explorer 7 style.
Inheritance
System.Object
TabRendererIE7
Implements
System.IDisposable
Assembly: Syncfusion.Tools.Windows.dll
public class TabRendererIE7 : TabRenderer2D, ITabRenderer, IDisposable
Constructors
Initializes a new instance of the TabRendererIE7 class.
Declaration
public TabRendererIE7(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Properties
Gets / sets the current bounds of this tab.
See Bounds.
Declaration
public override RectangleF Bounds { get; set; }
Property Value
| Type |
| System.Drawing.RectangleF |
Overrides
Indicates the border color of the tabs.
Declaration
public override Color TabBorderColor { get; }
Property Value
| Type |
| System.Drawing.Color |
Overrides
Declaration
public static StyleRendererPropertyIE7 TabPanelPropertyExtender { get; }
Property Value
Gets the unique name of this tab renderer.
Declaration
public static string TabStyleName { get; }
Property Value
Methods
Declaration
protected override void DrawBackground(DrawTabEventArgs drawItemInfo)
Parameters
Overrides
Declaration
protected override void DrawBorders(DrawTabEventArgs drawItemInfo)
Parameters
Overrides
Declaration
protected override void DrawFocusRect(Graphics g, RectangleF focusRect, Color fore, Color back)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.RectangleF |
focusRect |
|
| System.Drawing.Color |
fore |
|
| System.Drawing.Color |
back |
|
Overrides
Declaration
protected override void DrawInterior(DrawTabEventArgs drawItemInfo)
Parameters
Overrides
Declaration
protected virtual Brush GetBackgroundBrush(RectangleF bounds, DrawItemState state)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
bounds |
|
| System.Windows.Forms.DrawItemState |
state |
|
Returns
| Type |
| System.Drawing.Brush |
Declaration
protected virtual GraphicsPath GetBorderPathFromBounds(RectangleF bounds)
Parameters
| Type |
Name |
Description |
| System.Drawing.RectangleF |
bounds |
|
Returns
| Type |
| System.Drawing.Drawing2D.GraphicsPath |
Declaration
public override SizeF GetOverlapSize(SizeF tabSize)
Parameters
| Type |
Name |
Description |
| System.Drawing.SizeF |
tabSize |
|
Returns
| Type |
Description |
| System.Drawing.SizeF |
The overlap size.
|
Overrides
Returns the preferred size for the tabs.
Declaration
public override SizeF GetPreferredSize(Graphics g)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
The Graphics object.
|
Returns
| Type |
Description |
| System.Drawing.SizeF |
The preferred size
|
Overrides
Registers custom tab styles with the framework.
Declaration
public static void RegisterTabType()
Implements
System.IDisposable