Interface ITabDefaultProperties
Specifies the mechanism by which the TabControlAdv will get the default properties
associated with a tab renderer.
Assembly: Syncfusion.Tools.Windows.dll
public interface ITabDefaultProperties
Properties
Indicates whether to draw ellipsis if text width is larger than tab width.
Declaration
bool DrawEllipsis { get; }
Property Value
Indicates whether to draw the tabs from left to right or from right to left.
Declaration
bool DrawLeftToRight { get; }
Property Value
Indicates whether this tab type should be made available in the design-time property grid for the TabStyle property.
Declaration
bool ShowInDesignMode { get; }
Property Value
Methods
Specifies the default active tab color.
Declaration
Color DefaultActiveTabColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Type |
System.Drawing.Color |
Specifies the default active tab font.
Declaration
Font DefaultActiveTabFont(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Specifies the default single border color.
Declaration
Color DefaultFixedSingleBorderColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Type |
System.Drawing.Color |
Specifies the default inactive tab color.
Declaration
Color DefaultInactiveTabColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Type |
System.Drawing.Color |
Specifies the default inactive tab font.
Declaration
Font DefaultInactiveTabFont(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Specifies the default tab fore color.
Declaration
Color DefaultTabForeColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Type |
System.Drawing.Color |
Specifies the default tab panel background color.
Declaration
Color DefaultTabPanelBackgroundColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Type |
System.Drawing.Color |
Specifies the default tab panel font.
Declaration
Font DefaultTabPanelFont(ITabPanelData panelData, ITabControl tabControl)
Parameters
Returns
Specifies the amount in X and Y directions, in which a selected tab will
overlap the inactive tab.
Declaration
SizeF GetOverlapSize(SizeF tabSize)
Parameters
Type |
Name |
Description |
System.Drawing.SizeF |
tabSize |
The user specified tab size, if any. If no size was specified by the user, then
this will be SizeF.Empty.
|
Returns
Type |
System.Drawing.SizeF |
Indicates whether the background will be a solid color.
Declaration
Returns
Type |
Description |
System.Boolean |
True if solid; false otherwise.
|
Draws the tab panel's background.
Declaration
void OnPaintPanelBackground(ITabControl tabControl, Graphics g, Color bgColor, Rectangle bounds)
Parameters
Type |
Name |
Description |
ITabControl |
tabControl |
|
System.Drawing.Graphics |
g |
|
System.Drawing.Color |
bgColor |
|
System.Drawing.Rectangle |
bounds |
|