Class MetroMenuPainter
Inheritance
System.Object
MetroMenuPainter
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.XPMenus
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class MetroMenuPainter
Constructors
MetroMenuPainter()
Declaration
public MetroMenuPainter()
Methods
DrawComboButton(Graphics, Rectangle, ButtonState, Boolean, Boolean, Boolean)
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 |
DrawMenuBorder(Graphics, Rectangle, Boolean, Boolean)
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 |
DrawMenuChecked(Graphics, Rectangle, Boolean)
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 |
DrawMenuDropDownBarItem(Graphics, Rectangle, Boolean, Boolean)
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 |
DrawMenuItemHighlightBackground(Graphics, Rectangle)
Declaration
public static void DrawMenuItemHighlightBackground(Graphics g, Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | |
System.Drawing.Rectangle | rect |
DrawMenuParentBarItem(Graphics, Rectangle, Boolean)
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 |
DrawMenuTextBoxItem(Graphics, Rectangle, Boolean)
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 |
DrawMetroMenuColumn(Graphics, Rectangle, Boolean)
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 |
GetMetroColor(Color)
Declaration
public static void GetMetroColor(Color metrocolor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | metrocolor |