
GroupBox
Simulate WinForm's GroupBox components
Basic usage
Put your own components inside the GroupBox
Demo
I'm an example of GroupBox
For more examples, please refer to the EditorForms
Form Example < a href'editorforms' target'_blank'> the portal
Attributes
Loading...
@page "/groupboxs"
@inject IStringLocalizer<GroupBoxs> Localizer
<h3>GroupBox</h3>
<h4>Simulate WinForm's GroupBox components</h4>
<DemoBlock Title="Basic usage" Introduction="Put your own components inside the <code>GroupBox</code>" Name="Normal">
<GroupBox Title="An example of a form">
<p>I'm an example of <code>GroupBox</code></p>
<p>For more examples, please refer to the <code>EditorForms</code> Form Example < a href'editorforms' target'_blank'> the portal </a></p>
</GroupBox>
</DemoBlock>
<AttributeTable Items="@GetAttributes()" />
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using BootstrapBlazor.Shared.Common;
namespace BootstrapBlazor.Shared.Samples;
/// <summary>
///
/// </summary>
public sealed partial class GroupBoxs
{
private IEnumerable<AttributeItem> GetAttributes() => new AttributeItem[]
{
new AttributeItem() {
Name = "Title",
Description = Localizer["AttTitle"],
Type = "string",
ValueList = " — ",
DefaultValue = " — "
}
};
}