ButtonColumn.FormatDataTextValue(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit la valeur spécifiée au format indiqué par la propriété DataTextFormatString.
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
dataTextValue
converti au format indiqué par DataTextFormatString.
Remarques
Utilisez la FormatDataTextValue méthode pour convertir la valeur spécifiée au format indiqué par la DataTextFormatString propriété .
Notes
La FormatDataTextValue méthode retourne la chaîne équivalente à la valeur, si la DataTextFormatString propriété n’est pas définie.
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour