Share via


IDataGridViewEditingCell.GetEditingCellFormattedValue Methode

Definition

Ruft den formatierten Wert der Zelle ab.

public:
 System::Object ^ GetEditingCellFormattedValue(System::Windows::Forms::DataGridViewDataErrorContexts context);
public object GetEditingCellFormattedValue (System.Windows.Forms.DataGridViewDataErrorContexts context);
public object? GetEditingCellFormattedValue (System.Windows.Forms.DataGridViewDataErrorContexts context);
abstract member GetEditingCellFormattedValue : System.Windows.Forms.DataGridViewDataErrorContexts -> obj
Public Function GetEditingCellFormattedValue (context As DataGridViewDataErrorContexts) As Object

Parameter

context
DataGridViewDataErrorContexts

Eine bitweise Kombination von DataGridViewDataErrorContexts-Werten, die den Kontext angibt, in dem die Daten benötigt werden.

Gibt zurück

Ein Object, das die formatierte Version des Zelleninhalts darstellt.

Hinweise

Der formatierte Wert stellt den Wert dar, wie er auf der Benutzeroberfläche der Zelle angezeigt wird. Der formatierte Wert kann sich in absolutem Wert und sogar datentyp vom tatsächlichen Wert in der Zelle unterscheiden.

Verwenden Sie die -Eigenschaft, um den EditingCellFormattedValue formatierten Wert der Zelle festzulegen.

Gilt für:

Weitere Informationen