Class TabsRendererBase
Implements
System.IDisposable
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
Assembly: Syncfusion.Shared.Base.dll
Syntax
public abstract class TabsRendererBase : Disposable, IDisposable
Fields
m_imageTextIndent
Indent from borders to the text.
Declaration
protected int m_imageTextIndent
Field Value
Type |
---|
System.Int32 |
Properties
ActiveTabFont
Font of the active tab.
Declaration
protected virtual Font ActiveTabFont { get; }
Property Value
Type |
---|
System.Drawing.Font |
Bounds
Bounds of the tab.
Declaration
public virtual Rectangle Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.Rectangle |
ForeColor
Color used to draw the text of the tab.
Declaration
protected virtual Color ForeColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
GetTabRegion
Gets the region which contains tab bounds.
Declaration
public virtual Region GetTabRegion { get; }
Property Value
Type |
---|
System.Drawing.Region |
InactiveTabFont
Font of the active tab.
Declaration
protected virtual Font InactiveTabFont { get; }
Property Value
Type |
---|
System.Drawing.Font |
Parent
Gets the tab.
Declaration
protected InternalTab Parent { get; }
Property Value
Type |
---|
Syncfusion.Windows.Forms.InternalTab |
TabBar
Returns the parent.
Declaration
public InternalTab TabBar { get; }
Property Value
Type |
---|
Syncfusion.Windows.Forms.InternalTab |
TabText
Text of the tab.
Declaration
public string TabText { get; }
Property Value
Type |
---|
System.String |
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
Remarks
See the documentation for the System.ComponentModel.Component class and its Dispose member.
DrawBackground(Graphics)
Declaration
public virtual void DrawBackground(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g |
DrawTab(Graphics)
Declaration
public virtual void DrawTab(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g |
DrawText(Graphics, String, Font, Color, Rectangle, Boolean)
Declaration
protected virtual void DrawText(Graphics g, string text, Font font, Color foreColor, Rectangle rectText, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.String | text | |
System.Drawing.Font | font | |
System.Drawing.Color | foreColor | |
System.Drawing.Rectangle | rectText | |
System.Boolean | enabled |
DrawTextAndImage(Graphics, Rectangle)
Declaration
protected virtual void DrawTextAndImage(Graphics g, Rectangle rectTextAndImage)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | rectTextAndImage |
GetItemPreferredSize()
Gets tab preferred size.
Declaration
public virtual Size GetItemPreferredSize()
Returns
Type |
---|
System.Drawing.Size |
GetOverlappedWidth()
Returns the overlapped size of the tabs.
Declaration
public virtual int GetOverlappedWidth()
Returns
Type |
---|
System.Int32 |
Implements
System.IDisposable