ButtonColumn.FormatDataTextValue(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET