System.Windows.Forms.DataGridViewCellFormattingEventArgs.FormattingApplied Property

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

Syntax

public bool FormattingApplied { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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.

Requirements

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