Udostępnij za pośrednictwem


ButtonColumn.FormatDataTextValue(Object) Metoda

Definicja

Konwertuje określoną wartość na format wskazywany przez DataTextFormatString właściwość.

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

Parametry

dataTextValue
Object

Wartość do sformatowania.

Zwraca

String

Przekonwertowany dataTextValue na format wskazany przez DataTextFormatStringelement .

Uwagi

FormatDataTextValue Użyj metody , aby przekonwertować określoną wartość na format wskazywany przez DataTextFormatString właściwość.

Uwaga

Metoda FormatDataTextValue zwraca odpowiednik ciągu wartości, jeśli właściwość nie jest ustawiona DataTextFormatString .

Dotyczy

Zobacz też