Share via


EditContextFieldClassExtensions.SetFieldCssClassProvider Method

Definition

Associates the supplied FieldCssClassProvider with the supplied EditContext. This customizes the field CSS class names used within the 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)

Parameters

editContext
EditContext

The EditContext.

fieldCssClassProvider
FieldCssClassProvider

The FieldCssClassProvider.

Applies to