Share via


FieldCssClassProvider.GetFieldCssClass(EditContext, FieldIdentifier) Method

Definition

Gets a string that indicates the status of the specified field as a CSS class.

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

Parameters

editContext
EditContext

The EditContext.

fieldIdentifier
FieldIdentifier

The FieldIdentifier.

Returns

A CSS class name string.

Applies to