WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawToolbarItemEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DrawToolbarItemEventArgs

    Inheritance
    System.Object
    DrawToolbarItemEventArgs
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class DrawToolbarItemEventArgs : DrawItemEventArgs

    Constructors

    DrawToolbarItemEventArgs(Graphics, Boolean, Boolean, Font, Rectangle, Int32, DrawItemState, Color, Color, Color, Rectangle, DrawToolbarItemEventArgs.DrawDefaultBackground, DrawToolbarItemEventArgs.DrawDefaultBorders, DrawToolbarItemEventArgs.DrawDefaultInterior)

    Declaration
    public DrawToolbarItemEventArgs(Graphics g, bool mouseDown, bool dropdown, Font font, Rectangle bounds, int index, DrawItemState state, Color foreColor, Color backColor, Color backColor2, Rectangle boundsInterior, DrawToolbarItemEventArgs.DrawDefaultBackground defaultDrawBackground, DrawToolbarItemEventArgs.DrawDefaultBorders defaultDrawBorders, DrawToolbarItemEventArgs.DrawDefaultInterior defaultDrawInterior)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Boolean mouseDown
    System.Boolean dropdown
    System.Drawing.Font font
    System.Drawing.Rectangle bounds
    System.Int32 index
    System.Windows.Forms.DrawItemState state
    System.Drawing.Color foreColor
    System.Drawing.Color backColor
    System.Drawing.Color backColor2
    System.Drawing.Rectangle boundsInterior
    DrawToolbarItemEventArgs.DrawDefaultBackground defaultDrawBackground
    DrawToolbarItemEventArgs.DrawDefaultBorders defaultDrawBorders
    DrawToolbarItemEventArgs.DrawDefaultInterior defaultDrawInterior

    Properties

    BackColor2

    Declaration
    public Color BackColor2 { get; }
    Property Value
    Type Description
    System.Drawing.Color

    BoundsInterior

    Declaration
    public Rectangle BoundsInterior { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    DropDown

    Declaration
    public bool DropDown { get; }
    Property Value
    Type Description
    System.Boolean

    MouseDown

    Declaration
    public bool MouseDown { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    DrawBackground()

    Declaration
    public override void DrawBackground()

    DrawBorders()

    Declaration
    public void DrawBorders()

    DrawInterior()

    Declaration
    public void DrawInterior()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved