Interface ITabGroupRenderer
ITabGroupRenderer interface helps to paints the tab in group mode.
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public interface ITabGroupRenderer
Properties
Bounds
Gets/sets bounds.
Declaration
RectangleF Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.RectangleF |
TabData
Gets/sets group tab data.
Declaration
ITabData TabData { get; set; }
Property Value
Type |
---|
ITabData |
Methods
GetGroupItemBounds(Int32)
Gets group item bounds form number of items.
Declaration
RectangleF GetGroupItemBounds(int i)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | number of items. |
Returns
Type | Description |
---|---|
System.Drawing.RectangleF | Group item bounds. |
GetOverlapSize(SizeF)
Gets overlap size for current size.
Declaration
SizeF GetOverlapSize(SizeF tabSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | tabSize | Starting size. |
Returns
Type | Description |
---|---|
System.Drawing.SizeF | Overlap size. |
GetPreferredSize(Graphics)
Gets preferred size for item.
Declaration
SizeF GetPreferredSize(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics in which to measure strings. |
Returns
Type | Description |
---|---|
System.Drawing.SizeF | Preferred size. |