GroupBox Component
Description
Usage
@namespace Gap.Blazor.Components
@using Gap.Blazor
@using System.Collections
@using Telerik.Blazor.Components
@inherits WMControlComponentBase
@if (this.Visible)
{
<WMStyleBase model=@groupBox></WMStyleBase>
<div>
<fieldset class="@this.groupBox.GetStringClasses()">
<legend>@this.Text</legend>
@ChildContent
</fieldset>
</div>
<style>
fieldset {
width: 100%;
border: 1px LightGrey solid;
}
legend {
position: absolute;
float: none;
transform: translateY(-50%);
width: auto;
margin: 0 0.3em 0 0.3em;
padding: 0 0.3em;
border-width: 0;
font-size: inherit;
background-color: inherit;
}
[email protected]() legend {
color: @GetLegendForeColorHex() !important;
}
</style>
}Properties
Methods
Dynamic Rendering
Styles
Events
Last updated