ButtonField.FormatDataTextValue(Object) Método

Definição

Formata o valor do campo especificado para uma célula no objeto de ButtonField.Formats the specified field value for a cell in the ButtonField object.

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

Parâmetros

dataTextValue
Object

O valor do campo para formatar.The field value to format.

Retornos

String

O valor do campo convertido para o formato especificado pela propriedade DataTextFormatString.The field value converted to the format specified by the DataTextFormatString property.

Comentários

O FormatDataTextValue método é um método auxiliar que é usado para transformar um valor de campo para o formato especificado pela DataTextFormatString propriedade.The FormatDataTextValue method is a helper method that is used to transform a field value to the format that is specified by the DataTextFormatString property.

Notas aos Herdeiros

Ao estender a ButtonField classe, você pode substituir o FormatDataTextValue(Object) método para executar uma rotina de formatação personalizada.When extending the ButtonField class, you can override the FormatDataTextValue(Object) method to perform a custom formatting routine.

Aplica-se a

Confira também