BaseComboBoxCellGetFormattedValue Method
Gets the formatted value of the cell's data
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override Object GetFormattedValue(
Object value,
int rowIndex,
ref DataGridViewCellStyle cellStyle,
TypeConverter valueTypeConverter,
TypeConverter formattedValueTypeConverter,
DataGridViewDataErrorContexts context
)
Protected Overrides Function GetFormattedValue (
value As Object,
rowIndex As Integer,
ByRef cellStyle As DataGridViewCellStyle,
valueTypeConverter As TypeConverter,
formattedValueTypeConverter As TypeConverter,
context As DataGridViewDataErrorContexts
) As Object
protected:
virtual Object^ GetFormattedValue(
Object^ value,
int rowIndex,
DataGridViewCellStyle^% cellStyle,
TypeConverter^ valueTypeConverter,
TypeConverter^ formattedValueTypeConverter,
DataGridViewDataErrorContexts context
) override
abstract GetFormattedValue :
value : Object *
rowIndex : int *
cellStyle : DataGridViewCellStyle byref *
valueTypeConverter : TypeConverter *
formattedValueTypeConverter : TypeConverter *
context : DataGridViewDataErrorContexts -> Object
override GetFormattedValue :
value : Object *
rowIndex : int *
cellStyle : DataGridViewCellStyle byref *
valueTypeConverter : TypeConverter *
formattedValueTypeConverter : TypeConverter *
context : DataGridViewDataErrorContexts -> Object
- value Object
- The value to be formatted.
- rowIndex Int32
- The index of the cell's parent row.
- cellStyle DataGridViewCellStyle
- The cell style.
- valueTypeConverter TypeConverter
- A TypeConverter associated with the value type that
provides custom conversion to the formatted value type, or null if no such custom conversion is
needed.
- formattedValueTypeConverter TypeConverter
- A TypeConverter associated with the formatted
value type that provides custom conversion from the value type, or null if no such custom conversion
is needed.
- context DataGridViewDataErrorContexts
- A bitwise combination of DataGridViewDataErrorContexts values
describing the context in which the formatted value is needed.
ObjectThe value of the cell's data after formatting has been applied or null if the cell is not
part of a
DataGridView control.