Udostępnij przez


EditContextFieldClassExtensions.FieldCssClass Metoda

Definicja

Przeciążenia

FieldCssClass(EditContext, FieldIdentifier)

Pobiera ciąg wskazujący stan określonego pola jako klasę CSS.

FieldCssClass<TField>(EditContext, Expression<Func<TField>>)

Pobiera ciąg wskazujący stan określonego pola jako klasę CSS. Będzie to obejmować kombinację "zmodyfikowanej", "prawidłowej" lub "nieprawidłowej", w zależności od stanu pola.

FieldCssClass(EditContext, FieldIdentifier)

Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs

Pobiera ciąg wskazujący stan określonego pola jako klasę CSS.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ FieldCssClass(Microsoft::AspNetCore::Components::Forms::EditContext ^ editContext, Microsoft::AspNetCore::Components::Forms::FieldIdentifier % fieldIdentifier);
public static string FieldCssClass (this Microsoft.AspNetCore.Components.Forms.EditContext editContext, in Microsoft.AspNetCore.Components.Forms.FieldIdentifier fieldIdentifier);
static member FieldCssClass : Microsoft.AspNetCore.Components.Forms.EditContext * FieldIdentifier -> string
<Extension()>
Public Function FieldCssClass (editContext As EditContext, ByRef fieldIdentifier As FieldIdentifier) As String

Parametry

editContext
EditContext

Element EditContext.

fieldIdentifier
FieldIdentifier

Identyfikator pola.

Zwraca

Ciąg wskazujący stan pola.

Dotyczy

FieldCssClass<TField>(EditContext, Expression<Func<TField>>)

Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs
Źródło:
EditContextFieldClassExtensions.cs

Pobiera ciąg wskazujący stan określonego pola jako klasę CSS. Będzie to obejmować kombinację "zmodyfikowanej", "prawidłowej" lub "nieprawidłowej", w zależności od stanu pola.

public:
generic <typename TField>
[System::Runtime::CompilerServices::Extension]
 static System::String ^ FieldCssClass(Microsoft::AspNetCore::Components::Forms::EditContext ^ editContext, System::Linq::Expressions::Expression<Func<TField> ^> ^ accessor);
public static string FieldCssClass<TField> (this Microsoft.AspNetCore.Components.Forms.EditContext editContext, System.Linq.Expressions.Expression<Func<TField>> accessor);
static member FieldCssClass : Microsoft.AspNetCore.Components.Forms.EditContext * System.Linq.Expressions.Expression<Func<'Field>> -> string
<Extension()>
Public Function FieldCssClass(Of TField) (editContext As EditContext, accessor As Expression(Of Func(Of TField))) As String

Parametry typu

TField

Parametry

editContext
EditContext

Element EditContext.

accessor
Expression<Func<TField>>

Identyfikator pola.

Zwraca

Ciąg wskazujący stan pola.

Dotyczy