Düzenle

Aracılığıyla paylaş


ButtonColumn.FormatDataTextValue(Object) Method

Definition

Converts the specified value to the format that is indicated by the DataTextFormatString property.

protected:
 virtual System::String ^ FormatDataTextValue(System::Object ^ dataTextValue);
protected virtual string FormatDataTextValue (object dataTextValue);
abstract member FormatDataTextValue : obj -> string
override this.FormatDataTextValue : obj -> string
Protected Overridable Function FormatDataTextValue (dataTextValue As Object) As String

Parameters

dataTextValue
Object

The value to format.

Returns

The dataTextValue converted to the format indicated by the DataTextFormatString.

Remarks

Use the FormatDataTextValue method to convert the specified value to the format that is indicated by the DataTextFormatString property.

Note

The FormatDataTextValue method returns the string equivalent of the value, if the DataTextFormatString property is not set.

Applies to

See also