Partager via


ButtonColumn.FormatDataTextValue(Object) Méthode

Définition

Convertit la valeur spécifiée au format indiqué par la DataTextFormatString propriété.

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

Paramètres

dataTextValue
Object

Valeur à mettre en forme.

Retours

Converti dataTextValue au format indiqué par le DataTextFormatString.

Remarques

Utilisez la FormatDataTextValue méthode pour convertir la valeur spécifiée au format indiqué par la DataTextFormatString propriété.

Note

La FormatDataTextValue méthode retourne l’équivalent de chaîne de la valeur, si la DataTextFormatString propriété n’est pas définie.

S’applique à

Voir aussi