Compartilhar via


FieldCssClassProvider.GetFieldCssClass(EditContext, FieldIdentifier) Método

Definição

Obtém uma cadeia de caracteres que indica o status do campo especificado como uma classe CSS.

public:
 virtual System::String ^ GetFieldCssClass(Microsoft::AspNetCore::Components::Forms::EditContext ^ editContext, Microsoft::AspNetCore::Components::Forms::FieldIdentifier ^ fieldIdentifier);
public virtual string GetFieldCssClass (Microsoft.AspNetCore.Components.Forms.EditContext editContext, in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
abstract member GetFieldCssClass : Microsoft.AspNetCore.Components.Forms.EditContext * FieldIdentifier -> string
override this.GetFieldCssClass : Microsoft.AspNetCore.Components.Forms.EditContext * FieldIdentifier -> string
Public Overridable Function GetFieldCssClass (editContext As EditContext, fieldIdentifier As FieldIdentifier) As String

Parâmetros

editContext
EditContext

O EditContext.

fieldIdentifier
FieldIdentifier

O FieldIdentifier.

Retornos

Uma cadeia de caracteres de nome de classe CSS.

Aplica-se a