Class
FormGroup

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class FormGroup : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IFormItemsContainer, IFormGroup, IFormItemBase, IDisposable

Inheritance: objectComponentBaseFormGroup

Implements: IComponentIDisposableIFormGroupIFormItemBaseIFormItemsContainerIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

FormGroup()

Declaration

cs-api-definition
public FormGroup()

Properties

ChildContent

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

Class

Defines custom CSS class of the group.

Declaration

cs-api-definition
[Parameter]
public string Class { get; set; }

Property Value

string

Implements IFormGroup.Class

ColumnSpacing

Defines the spacing between columns in form grid layout.

Declaration

cs-api-definition
[Parameter]
public string ColumnSpacing { get; set; }

Property Value

string

Implements IFormGroup.ColumnSpacing

Columns

Defines the count of columns in form grid layout.

Declaration

cs-api-definition
[Parameter]
public int Columns { get; set; }

Property Value

int

Implements IFormGroup.Columns

FormItemsCollection

Declaration

cs-api-definition
public List<IFormItemBase> FormItemsCollection { get; }

Property Value

List<IFormItemBase>

Implements IFormGroup.FormItemsCollection

Id

Defines the id of the form group that will be rendered.

Declaration

cs-api-definition
[Parameter]
public string Id { get; set; }

Property Value

string

LabelText

Defines the label text of the group.

Declaration

cs-api-definition
[Parameter]
public string LabelText { get; set; }

Property Value

string

Implements IFormGroup.LabelText

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()