Condividi tramite


EditContextFieldClassExtensions.SetFieldCssClassProvider Metodo

Definizione

Associa l'oggetto fornito FieldCssClassProvider all'oggetto EditContextfornito. In questo modo vengono personalizzati i nomi delle classi CSS del campo usati all'interno di 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)

Parametri

editContext
EditContext

Oggetto EditContext.

fieldCssClassProvider
FieldCssClassProvider

Oggetto FieldCssClassProvider.

Si applica a