Class DockTabRendererOffice2007
DockTabRenderer for Office2007 style.
Inheritance
System.Object
DockTabRendererOffice2007
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.Renderers
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class DockTabRendererOffice2007 : TabRendererOffice2007, ITabRenderer, IDisposable
Constructors
DockTabRendererOffice2007(ITabControl, ITabPanelRenderer)
Creates a new instance of the DockTabRenderer Office2007 class.
Declaration
public DockTabRendererOffice2007(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Type | Name | Description |
---|---|---|
ITabControl | parent | The tab control parent. |
ITabPanelRenderer | panelRenderer | The ITabPanelRenderer parent. |
Properties
TabPanelPropertyExtender
Returns the ITabDefaultProperties instance that provides default properties for this renderer.
Declaration
public static DockRendererPropertyOffice2007 TabPanelPropertyExtender { get; }
Property Value
Type |
---|
DockRendererPropertyOffice2007 |
TabStyleName
Returns the unique name of this tab renderer.
Declaration
public static string TabStyleName { get; }
Property Value
Type |
---|
System.String |
Methods
GetActiveForeColor()
Overrides the fore color of Active tab.
Declaration
protected override Color GetActiveForeColor()
Returns
Type | Description |
---|---|
System.Drawing.Color | Color of the active tab item |
Overrides
GetForeColor()
Overrides the Docked tab fore color
Declaration
protected override Color GetForeColor()
Returns
Type | Description |
---|---|
System.Drawing.Color | Color of the docked tab item |
Overrides
GetOverlapSize(SizeF)
Returns the overlap size.
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
Remarks
This implementation returns (0, 0).
Implements
System.IDisposable