Class RadzenFieldset
RadzenFieldset component.
public class RadzenFieldset : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
- Inheritance
-
RadzenFieldset
- Implements
- Inherited Members
Examples
<RadzenFieldset AllowCollapse="true"">
<HeaderTemplate>
Header
</HeaderTemplate>
<ChildContent>
Content
</ChildContent>
<SummaryTemplate>
Summary
</SummaryTemplate>
</RadzenFieldset>
Constructors
RadzenFieldset()
public RadzenFieldset()
Properties
AllowCollapse
Gets or sets a value indicating whether collapsing is allowed. Set to false
by default.
[Parameter]
public bool AllowCollapse { get; set; }
Property Value
- bool
true
if collapsing is allowed; otherwise,false
.
ChildContent
Gets or sets the child content.
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
- RenderFragment
The child content.
Collapse
Gets or sets the collapse callback.
[Parameter]
public EventCallback Collapse { get; set; }
Property Value
- EventCallback
The collapse callback.
CollapseAriaLabel
Gets or sets the aria-label attribute of the collapse button.
[Parameter]
public string CollapseAriaLabel { get; set; }
Property Value
- string
The aria-label attribute value of the collapse button.
CollapseTitle
Gets or sets the title attribute of the collapse button.
[Parameter]
public string CollapseTitle { get; set; }
Property Value
- string
The title attribute value of the collapse button.
Collapsed
Gets or sets a value indicating whether this RadzenFieldset is collapsed.
[Parameter]
public bool Collapsed { get; set; }
Property Value
- bool
true
if collapsed; otherwise,false
.
Expand
Gets or sets the expand callback.
[Parameter]
public EventCallback Expand { get; set; }
Property Value
- EventCallback
The expand callback.
ExpandAriaLabel
Gets or sets the aria-label attribute of the expand button.
[Parameter]
public string ExpandAriaLabel { get; set; }
Property Value
- string
The aria-label attribute value of the expand button.
ExpandTitle
Gets or sets the title attribute of the expand button.
[Parameter]
public string ExpandTitle { get; set; }
Property Value
- string
The title attribute value of the expand button.
HeaderTemplate
Gets or sets the header template.
[Parameter]
public RenderFragment HeaderTemplate { get; set; }
Property Value
- RenderFragment
The header template.
Icon
Gets or sets the icon.
[Parameter]
public string Icon { get; set; }
Property Value
- string
The icon.
IconColor
Gets or sets the icon color.
[Parameter]
public string IconColor { get; set; }
Property Value
- string
The icon color.
SummaryTemplate
Gets or sets the summary template.
[Parameter]
public RenderFragment SummaryTemplate { get; set; }
Property Value
- RenderFragment
The summary template.
Text
Gets or sets the text.
[Parameter]
public string Text { get; set; }
Property Value
- string
The text.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetComponentCssClass()
protected override string GetComponentCssClass()
Returns
OnInitialized()
protected override void OnInitialized()
OnParametersSetAsync()
protected override Task OnParametersSetAsync()
Returns
SetParametersAsync(ParameterView)
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
ParameterView