Skip to main content

CssDefaults.Form

Assembly: ServiceStack.Blazor.dll
View Source
Declaration
public static class Form

Fields

DefaultFormStyle

View Source
Declaration
public const FormStyle DefaultFormStyle = FormStyle.SlideOver

ButtonsClass

View Source
Declaration
public const string ButtonsClass = "mt-4 px-4 py-3 bg-gray-50 dark:bg-gray-900 sm:px-6 flex flex-wrap justify-between"

LegendClass

View Source
Declaration
public const string LegendClass = "text-base font-medium text-gray-900 dark:text-gray-100 text-center mb-4"

Methods

GetPanelClass(FormStyle)

View Source
Declaration
public static string GetPanelClass(FormStyle style = FormStyle.SlideOver)
Returns

System.String

Parameters
TypeName
ServiceStack.Blazor.Components.FormStylestyle

GetFormClass(FormStyle)

View Source
Declaration
public static string GetFormClass(FormStyle style = FormStyle.SlideOver)
Returns

System.String

Parameters
TypeName
ServiceStack.Blazor.Components.FormStylestyle

GetHeadingClass(FormStyle)

View Source
Declaration
public static string GetHeadingClass(FormStyle style = FormStyle.SlideOver)
Returns

System.String

Parameters
TypeName
ServiceStack.Blazor.Components.FormStylestyle

GetSubHeadingClass(FormStyle)

View Source
Declaration
public static string GetSubHeadingClass(FormStyle style = FormStyle.SlideOver)
Returns

System.String

Parameters
TypeName
ServiceStack.Blazor.Components.FormStylestyle