Compartilhar via


EditContextFieldClassExtensions.SetFieldCssClassProvider Método

Definição

Associa o fornecido FieldCssClassProvider ao fornecido EditContext. Isso personaliza os nomes de classe CSS do campo usados no EditContext.

public:
[System::Runtime::CompilerServices::Extension]
 static void SetFieldCssClassProvider(Microsoft::AspNetCore::Components::Forms::EditContext ^ editContext, Microsoft::AspNetCore::Components::Forms::FieldCssClassProvider ^ fieldCssClassProvider);
public static void SetFieldCssClassProvider (this Microsoft.AspNetCore.Components.Forms.EditContext editContext, Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider fieldCssClassProvider);
static member SetFieldCssClassProvider : Microsoft.AspNetCore.Components.Forms.EditContext * Microsoft.AspNetCore.Components.Forms.FieldCssClassProvider -> unit
<Extension()>
Public Sub SetFieldCssClassProvider (editContext As EditContext, fieldCssClassProvider As FieldCssClassProvider)

Parâmetros

editContext
EditContext

O EditContext.

fieldCssClassProvider
FieldCssClassProvider

O FieldCssClassProvider.

Aplica-se a