Class TabUIVS2005Properties
TabUIVS2005Properties describes properties for painting AH tab panel in VS2005 style.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.Renderers
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TabUIVS2005Properties : TabUIDefaultProperties, ITabDefaultProperties
Constructors
TabUIVS2005Properties()
Declaration
public TabUIVS2005Properties()
Properties
DrawLeftToRight
Indicates whether to draw from left to right.
Declaration
public override bool DrawLeftToRight { get; }
Property Value
Type |
---|
System.Boolean |
Overrides
Methods
DefaultActiveTabColor(ITabPanelData, ITabControl)
Overridden. Returns the default active tab's 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.
DefaultInactiveTabColor(ITabPanelData, ITabControl)
Overridden. Returns the default inactive tab's color.
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)
Overridden. Returns the default back color 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)
Returns the size by which the selected tab overlaps the inactive tabs.
Declaration
public override SizeF GetOverlapSize(SizeF tabSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | tabSize |
Returns
Type |
---|
System.Drawing.SizeF |
Overrides
OnPaintPanelBackground(ITabControl, Graphics, Color, Rectangle)
Paints auto hide 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. |