Class TabRendererDockingWhidbeyBeta
Represents the default tab properties for the tab style.
Inheritance
System.Object
TabRendererDockingWhidbeyBeta
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()
Assembly: Syncfusion.Tools.Windows.dll
public class TabRendererDockingWhidbeyBeta : TabRendererWhidbey, ITabRenderer, IDisposable
Constructors
Initializes a new instance of the TabRendererDockingWhidbeyBeta class.
Declaration
public TabRendererDockingWhidbeyBeta(ITabControl parent, ITabPanelRenderer panelRenderer)
Parameters
Properties
Gets space in pixels between tab's interior and close button.
Declaration
public override int CloseButtonPadding { get; }
Property Value
Overrides
Declaration
protected override Point CorrectCloseButtonPosition { get; }
Property Value
Type |
System.Drawing.Point |
Overrides
Declaration
public static StyleRendererPropertyWhidbey TabPanelPropertyExtender { get; }
Property Value
Gets name of this tab renderer.
Declaration
public static string TabStyleName { get; }
Property Value
Methods
Declaration
protected override RectangleF CorrectInteriorBounds(RectangleF rectTextAndImage)
Parameters
Type |
Name |
Description |
System.Drawing.RectangleF |
rectTextAndImage |
|
Returns
Type |
System.Drawing.RectangleF |
Overrides
Declaration
protected override RectangleF CorrectInteriorBounds(RectangleF bounds, RectangleF interriorBounds)
Parameters
Type |
Name |
Description |
System.Drawing.RectangleF |
bounds |
|
System.Drawing.RectangleF |
interriorBounds |
|
Returns
Type |
System.Drawing.RectangleF |
Overrides
Declaration
protected override void DrawInterior(DrawTabEventArgs drawItemInfo)
Parameters
Overrides
Declaration
protected override GraphicsPath GetBorderPathFromBounds(RectangleF bounds)
Parameters
Type |
Name |
Description |
System.Drawing.RectangleF |
bounds |
|
Returns
Type |
System.Drawing.Drawing2D.GraphicsPath |
Overrides
Returns the current drawing bounds.
Declaration
public override RectangleF GetBoundsForScrolling()
Returns
Type |
Description |
System.Drawing.RectangleF |
The bounds as a rectangle.
|
Overrides
Declaration
protected override RectangleF GetCloseButtonBounds(DrawTabEventArgs drawItemInfo)
Parameters
Returns
Type |
System.Drawing.RectangleF |
Overrides
Returns the current drawing bounds.
Declaration
public override RectangleF GetCurrentBounds()
Returns
Type |
Description |
System.Drawing.RectangleF |
The bounds as a rectangle.
|
Overrides
Gets the interior bounds of the tab.
Declaration
protected override RectangleF GetInteriorBounds(RectangleF currentBounds, bool selectedTab)
Parameters
Type |
Name |
Description |
System.Drawing.RectangleF |
currentBounds |
The bounds of the current tab
|
System.Boolean |
selectedTab |
The Tab which is selected
|
Returns
Type |
Description |
System.Drawing.RectangleF |
Rectangle bounds
|
Overrides
Declaration
protected override SizeF GetItemPreferredSize(Graphics g)
Parameters
Type |
Name |
Description |
System.Drawing.Graphics |
g |
|
Returns
Type |
System.Drawing.SizeF |
Overrides
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 |
Tab size
|
Returns
Type |
Description |
System.Drawing.SizeF |
Returns the overlap size
|
Overrides
Registers custom tab styles with the framework.
Declaration
public static void RegisterTabType()
Implements
System.IDisposable