Class TabRendererOffice2016Colorful
The TabRenderer that implements look and feel of the TabRendererOffice2016Colorful style.
Inheritance
System.Object
TabRendererOffice2016Colorful
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
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TabRendererOffice2016Colorful : TabRenderer2D, ITabRenderer, IDisposable
Constructors
TabRendererOffice2016Colorful(ITabControl, ITabPanelRenderer)
Constructor of the TabRendererOffice2016Colorful class.
Declaration
public TabRendererOffice2016Colorful(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Type | Name | Description |
---|---|---|
ITabControl | parent | |
ITabPanelRenderer | panelRenderer |
Properties
TabPanelPropertyExtender
Gets the TabPanelPropertyExtender.
Declaration
public static TabPanelRendererOffice2016Colorful TabPanelPropertyExtender { get; }
Property Value
Type |
---|
TabPanelRendererOffice2016Colorful |
TabStyleName
Gets the unique name of this tab renderer.
Declaration
public static string TabStyleName { get; }
Property Value
Type |
---|
System.String |
Methods
DrawBackground(DrawTabEventArgs)
Declaration
protected override void DrawBackground(DrawTabEventArgs drawItemInfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawItemInfo |
Overrides
DrawBorders(DrawTabEventArgs)
Declaration
protected override void DrawBorders(DrawTabEventArgs drawItemInfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawItemInfo |
Overrides
DrawFocusRect(Graphics, RectangleF, Color, Color)
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
DrawText(Graphics, RectangleF, String, StringFormat, DrawTabEventArgs)
Declaration
protected override void DrawText(Graphics g, RectangleF rectText, string text, StringFormat format, DrawTabEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.RectangleF | rectText | |
System.String | text | |
System.Drawing.StringFormat | format | |
DrawTabEventArgs | e |
Overrides
GetBorderPathForBottom(RectangleF)
Gets the path for for the tab and the line beneath the tabs.
Declaration
protected virtual GraphicsPath GetBorderPathForBottom(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds | Rectangle bounds |
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | Returns Graphics Path |
GetBorderPathFromBounds(RectangleF)
Gets the path for for the tab and the line beneath the tabs.
Declaration
protected virtual GraphicsPath GetBorderPathFromBounds(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds | Rectangle bounds |
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | Returns Graphics Path |
GetLowerTabBorderPath()
Gets the path for the line beneath the tabs.
Declaration
protected virtual GraphicsPath GetLowerTabBorderPath()
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | Returns Graphics Path |
GetTabBorderPath(RectangleF)
Gets the path for the tab.
Declaration
protected virtual GraphicsPath GetTabBorderPath(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds | Rectangle bounds |
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | Returns Graphics path |
RegisterTabType()
Registers the type of the tab.
Declaration
public static void RegisterTabType()
Implements
System.IDisposable