Class ThemedXPTaskBarBoxDrawing
Inheritance
System.Object
ThemedXPTaskBarBoxDrawing
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.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ThemedXPTaskBarBoxDrawing : ThemedControlDrawing, IDisposable
Constructors
ThemedXPTaskBarBoxDrawing(XPTaskBarBox, String)
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 |
DrawButton(Graphics, Rectangle, Boolean)
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 |
DrawHeader(Graphics, Rectangle)
Declaration
public void DrawHeader(Graphics g, Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | rect |
DrawItemsBG(Graphics, Rectangle)
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 |
GetHeaderButtonSize()
Declaration
public Size GetHeaderButtonSize()
Returns
Type |
---|
System.Drawing.Size |
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