Class TabGroupRendererOffice2003
TabGroupRendererOffice2003 paints tabs in group mode.
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 TabGroupRendererOffice2003 : TabGroupRenderer, ITabRenderer, IDisposable, ITabGroupRenderer
Constructors
TabGroupRendererOffice2003(ITabControl, ITabPanelRenderer)
Creates an instance of the TabGroupRendererOffice2003.
Declaration
public TabGroupRendererOffice2003(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Type | Name | Description |
---|---|---|
ITabControl | parent | The ITabControl instance. |
ITabPanelRenderer | panelRenderer | The parent ITabPanelRenderer instance. |
Fields
DEF_BORDER_WIDTH
Item border width.
Declaration
public const int DEF_BORDER_WIDTH = 1
Field Value
Type |
---|
System.Int32 |
Properties
TabPanelPropertyExtender
Returns the ITabDefaultProperties instance that provides default properties for this renderer.
Declaration
public static TabUIOffice2003Properties TabPanelPropertyExtender { get; }
Property Value
Type |
---|
TabUIOffice2003Properties |
TabStyleName
Gets tab style name.
Declaration
public static string TabStyleName { get; }
Property Value
Type |
---|
System.String |
Methods
CorrectBounds(RectangleF)
Declaration
protected override RectangleF CorrectBounds(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | bounds |
Returns
Type |
---|
System.Drawing.RectangleF |
Overrides
DrawBackground(DrawTabEventArgs)
Draws background of tab.
Declaration
protected override void DrawBackground(DrawTabEventArgs drawItemInfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawItemInfo | Drawing arguments. |
Overrides
DrawBorders(DrawTabEventArgs)
Draws borders of tab.
Declaration
protected override void DrawBorders(DrawTabEventArgs drawItemInfo)
Parameters
Type | Name | Description |
---|---|---|
DrawTabEventArgs | drawItemInfo | Drawing arguments. |
Overrides
DrawShadow(Graphics, RectangleF)
Draws shadow near the tab.
Declaration
protected virtual void DrawShadow(Graphics g, RectangleF shadowRectangle)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics to use. |
System.Drawing.RectangleF | shadowRectangle | Rectangle to shadow near. |
Implements
System.IDisposable