menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DrawDataBarCellEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DrawDataBarCellEventArgs

    Provides data about the cancelable event.

    Inheritance
    System.Object
    DrawDataBarCellEventArgs
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public sealed class DrawDataBarCellEventArgs : CancelEventArgs
    Remarks

    DrawDataBarCellEventArgs is a custom event argument class used by the event to allow custom drawing of a DataBar cell. Set the Cancel property true if you have drawn the cell contents and do not want the grid to proceed with default drawing of the cell.

    Constructors

    DrawDataBarCellEventArgs(Graphics, ConditionalFormatDataBarRule, GridStyleInfo, Rectangle)

    Initializes a new instance of the DrawDataBarCellEventArgs class.

    Declaration
    public DrawDataBarCellEventArgs(Graphics _graphics, ConditionalFormatDataBarRule _dataBarConditionalFormatRule, GridStyleInfo _style, Rectangle _cellBounds)
    Parameters
    Type Name Description
    System.Drawing.Graphics _graphics
    ConditionalFormatDataBarRule _dataBarConditionalFormatRule

    A ConditionalFormatDataBarRule for the DataBar cell

    GridStyleInfo _style

    A style for the DataBar cell.

    System.Drawing.Rectangle _cellBounds

    Cell bounds of the DataBar cell.

    Properties

    CellBounds

    Gets or Sets the cellbounds of the databar cell.

    Declaration
    public Rectangle CellBounds { get; set; }
    Property Value
    Type
    System.Drawing.Rectangle

    DataBarConditionalFormatRule

    Gets the conditional format rule for DataBar cell.

    Declaration
    public ConditionalFormatDataBarRule DataBarConditionalFormatRule { get; }
    Property Value
    Type
    ConditionalFormatDataBarRule

    Graphichs

    Gets the Graphics context.

    Declaration
    public Graphics Graphichs { get; }
    Property Value
    Type
    System.Drawing.Graphics

    Handled

    Gets or Sets whether determine that event has handled or not.

    Declaration
    public bool Handled { get; set; }
    Property Value
    Type
    System.Boolean

    Style

    Gets the databar cell styles.

    Declaration
    public GridStyleInfo Style { get; }
    Property Value
    Type
    GridStyleInfo

    See Also

    DrawDataBarCellEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved