Class StyleRendererPropertyVS2008
Represents the default tab properties for the TabRendererVS2008 tab style.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class StyleRendererPropertyVS2008 : OneNoteStyleRendererProperty, ITabDefaultProperties
Constructors
StyleRendererPropertyVS2008()
Declaration
public StyleRendererPropertyVS2008()
Properties
DefaultBorderColor
Gets the default items border color.
Declaration
public virtual Color DefaultBorderColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
Methods
DefaultActiveTabColor(ITabPanelData, ITabControl)
Returns the default Active Tab Color.
Declaration
public override Color DefaultActiveTabColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
ITabPanelData | panelData | The tab panel data. |
ITabControl | tabControl | The tab control. |
Returns
Type | Description |
---|---|
System.Drawing.Color | A Color value. |
Overrides
Remarks
This implementation returns the tab control's BackColor.
DefaultActiveTabFont(ITabPanelData, ITabControl)
Returns the default active tab panel font.
Declaration
public override Font DefaultActiveTabFont(ITabPanelData panelData, ITabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
ITabPanelData | panelData | The tab panel data. |
ITabControl | tabControl | The tab control. |
Returns
Type | Description |
---|---|
System.Drawing.Font | A Font value. |
Overrides
Remarks
Returns the default inactive tab font, after making it bold.
DefaultInactiveTabColor(ITabPanelData, ITabControl)
Returns the default Inactive TabColor.
Declaration
public override Color DefaultInactiveTabColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
ITabPanelData | panelData | The tab panel data. |
ITabControl | tabControl | The tab control. |
Returns
Type | Description |
---|---|
System.Drawing.Color | A Color value. |
Overrides
Remarks
This implementation returns the tab control's BackColor.
DefaultTabPanelBackgroundColor(ITabPanelData, ITabControl)
Returns the default backcolor for the panel.
Declaration
public override Color DefaultTabPanelBackgroundColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
ITabPanelData | panelData | The tab panel data. |
ITabControl | tabControl | The tab control. |
Returns
Type | Description |
---|---|
System.Drawing.Color | A Color value. |
Overrides
Remarks
This implementation returns the tab control's BackColor.
GetOverlapSize(SizeF)
The selected tab overlaps the inactive tabs by this much.
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).
OnPaintPanelBackground(ITabControl, Graphics, Color, Rectangle)
Draws the background of the tab panel.
Declaration
public override void OnPaintPanelBackground(ITabControl tabControl, Graphics g, Color bgColor, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
ITabControl | tabControl | The parent ITabControl implementation. |
System.Drawing.Graphics | g | The Graphics into which to draw. |
System.Drawing.Color | bgColor | The background color. |
System.Drawing.Rectangle | bounds | The rectangular bounds of the tab panel. |