You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/List/ListSubheader.razor.cs

28 lines
685 B

using Connected.Annotations;
using Connected.Utilities;
using Microsoft.AspNetCore.Components;
namespace Connected.Components;
public partial class ListSubheader : UIComponent
{
protected string Classname =>
new CssBuilder("mud-list-subheader")
.AddClass("mud-list-subheader-gutters", !DisableGutters)
.AddClass("mud-list-subheader-inset", Inset)
.AddClass(Class)
.Build();
[Parameter]
[Category(CategoryTypes.List.Behavior)]
public RenderFragment ChildContent { get; set; }
[Parameter]
[Category(CategoryTypes.List.Appearance)]
public bool DisableGutters { get; set; }
[Parameter]
[Category(CategoryTypes.List.Appearance)]
public bool Inset { get; set; }
}