Class ThemedXPTaskBarBoxDrawing
Inheritance
System.Object
ThemedXPTaskBarBoxDrawing
Implements
System.IDisposable
Assembly: Syncfusion.Tools.Windows.dll
public class ThemedXPTaskBarBoxDrawing : ThemedControlDrawing, IDisposable
Constructors
Declaration
public ThemedXPTaskBarBoxDrawing(XPTaskBarBox control, string classList)
Parameters
| Type |
Name |
Description |
| XPTaskBarBox |
control |
|
| System.String |
classList |
|
Methods
DrawBarText(Graphics, String, Rectangle, Boolean, Boolean, Boolean, Boolean)
Declaration
public void DrawBarText(Graphics g, string text, Rectangle boundingRect, bool forheader, bool hot, bool bIsMirrored, bool bClipText)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.String |
text |
|
| System.Drawing.Rectangle |
boundingRect |
|
| System.Boolean |
forheader |
|
| System.Boolean |
hot |
|
| System.Boolean |
bIsMirrored |
|
| System.Boolean |
bClipText |
|
DrawBarText(Graphics, String, Rectangle, Boolean, Boolean, Boolean, StringAlignment, Boolean)
Declaration
public void DrawBarText(Graphics g, string text, Rectangle boundingRect, bool forheader, bool hot, bool bIsMirrored, StringAlignment alignmentFormat, bool bClipText)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.String |
text |
|
| System.Drawing.Rectangle |
boundingRect |
|
| System.Boolean |
forheader |
|
| System.Boolean |
hot |
|
| System.Boolean |
bIsMirrored |
|
| System.Drawing.StringAlignment |
alignmentFormat |
|
| System.Boolean |
bClipText |
|
Declaration
public void DrawButton(Graphics g, Rectangle rect, bool expand)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
expand |
|
Declaration
public void DrawHeader(Graphics g, Rectangle rect)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
Declaration
public void DrawItemsBG(Graphics g, Rectangle rect)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
GetBarTextExtent(String, Rectangle, Boolean)
Declaration
public Rectangle GetBarTextExtent(string text, Rectangle boundingRect, bool forheader)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| System.Drawing.Rectangle |
boundingRect |
|
| System.Boolean |
forheader |
|
Returns
| Type |
| System.Drawing.Rectangle |
Declaration
public Size GetHeaderButtonSize()
Returns
GetTextThemeColor(Boolean, Boolean)
Declaration
public Color GetTextThemeColor(bool header, bool hot)
Parameters
| Type |
Name |
Description |
| System.Boolean |
header |
|
| System.Boolean |
hot |
|
Returns
| Type |
| System.Drawing.Color |
Implements
System.IDisposable