Class StyleRendererPropertyDockingWhidbey
Represents the default tab properties for the
Inheritance
System.Object
StyleRendererPropertyDockingWhidbey
Implements
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 StyleRendererPropertyDockingWhidbey : TabPanelProperty2D, ITabDefaultProperties
Constructors
StyleRendererPropertyDockingWhidbey()
Declaration
public StyleRendererPropertyDockingWhidbey()
Properties
DrawEllipsis
Indicates whether to draw ellipsis if text width is larger than tab width.
Declaration
public override bool DrawEllipsis { get; }
Property Value
Type |
---|
System.Boolean |
Overrides
Methods
DefaultActiveTabColor(ITabPanelData, ITabControl)
Returns the default Active Tab Color.
Declaration
public override Color DefaultActiveTabColor(ITabPanelData panelData, ITabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
ITabPanelData | panelData | The tab panel data. |
ITabControl | tabControl | The tab control. |
Returns
Type | Description |
---|---|
System.Drawing.Color | A Color value. |
Overrides
Remarks
This implementation returns the tab control's BackColor.
GetOverlapSize(SizeF)
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
OnPaintPanelBackground(ITabControl, Graphics, Color, Rectangle)
Draws the background of the tab panel.
Declaration
public override void OnPaintPanelBackground(ITabControl tabControl, Graphics g, Color bgColor, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
ITabControl | tabControl | The parent ITabControl implementation. |
System.Drawing.Graphics | g | The Graphics into which to draw. |
System.Drawing.Color | bgColor | The background color. |
System.Drawing.Rectangle | bounds | The rectangular bounds of the tab panel. |