Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NDataGridView Class / CellFormatting Event


In This Topic
    CellFormatting Event
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatDisplay")>
    <SRDescriptionAttribute("DataGridView_CellFormattingDescr")>
    Public Event CellFormatting As System.Windows.Forms.DataGridViewCellFormattingEventHandler
    'Usage
     
    
    Dim instance As NDataGridView
    Dim handler As System.Windows.Forms.DataGridViewCellFormattingEventHandler
     
    AddHandler instance.CellFormatting, handler
    [SRCategory("CatDisplay")]
    [SRDescription("DataGridView_CellFormattingDescr")]
    public event System.Windows.Forms.DataGridViewCellFormattingEventHandler CellFormatting
    Event Data

    The event handler receives an argument of type System.Windows.Forms.DataGridViewCellFormattingEventArgs containing data related to this event. The following DataGridViewCellFormattingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets the style of the cell that is being formatted.  
    Gets the column index of the cell that is being formatted.  
    (Inherited from System.Windows.Forms.ConvertEventArgs)
    Gets or sets a value indicating whether the cell value has been successfully formatted.  
    Gets the row index of the cell that is being formatted.  
    (Inherited from System.Windows.Forms.ConvertEventArgs)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also