System.Windows.Forms.DataGridViewCellFormattingEventArgs.FormattingApplied Property

Gets or sets a value indicating whether the cell value has been successfully formatted.


public bool FormattingApplied { set; get; }


Documentation for this section has not yet been entered.


When handling the DataGridView.CellFormatting event, set the DataGridViewCellFormattingEventArgs.FormattingApplied property to true after setting the ConvertEventArgs.Value property if no further value formatting is required. If the DataGridViewCellFormattingEventArgs.FormattingApplied property value is false when the event handler exits, the formatting will be applied to the value as indicated by the DataGridViewCellStyle.Format, DataGridViewCellStyle.FormatProvider, DataGridViewCellStyle.NullValue, and DataGridViewCellStyle.DataSourceNullValue properties of the System.Windows.Forms.DataGridViewCellStyle object returned by the DataGridViewCellFormattingEventArgs.CellStyle property.


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions:
Since: .NET 2.0