Inheritance
System.Object
MetroMenuPainter
Assembly: Syncfusion.Tools.Windows.dll
public class MetroMenuPainter : Object
Constructors
Declaration
public MetroMenuPainter()
Methods
Declaration
public static void DrawComboButton(Graphics g, Rectangle rect, ButtonState buttonState, bool bDroppedDown, bool bSelected, bool bRTL)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Windows.Forms.ButtonState |
buttonState |
|
| System.Boolean |
bDroppedDown |
|
| System.Boolean |
bSelected |
|
| System.Boolean |
bRTL |
|
Declaration
public static void DrawMenuBorder(Graphics g, Rectangle rect, bool bParent, bool bRTL)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
bParent |
|
| System.Boolean |
bRTL |
|
Declaration
public static void DrawMenuChecked(Graphics g, Rectangle rect, bool bDrawCheckmark)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
bDrawCheckmark |
|
Declaration
public static void DrawMenuDropDownBarItem(Graphics g, Rectangle rect, bool selected, bool bRTL)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
selected |
|
| System.Boolean |
bRTL |
|
Declaration
public static void DrawMenuItemHighlightBackground(Graphics g, Rectangle rect)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
Declaration
public static void DrawMenuParentBarItem(Graphics g, Rectangle rect, bool bRTL)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
bRTL |
|
Declaration
public static void DrawMenuTextBoxItem(Graphics g, Rectangle rect, bool selected)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
selected |
|
Declaration
public static void DrawMetroMenuColumn(Graphics g, Rectangle rect, bool bRTL)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
rect |
|
| System.Boolean |
bRTL |
|
Declaration
public static void GetMetroColor(Color metrocolor)
Parameters
| Type |
Name |
Description |
| System.Drawing.Color |
metrocolor |
|