ClassTelerikFormGroupRenderer
Renders form groups with their contained items and optional custom template support for advanced group layout scenarios. Used exclusively within FormItemsTemplate for manual control over form group rendering and organization. Maintains all group functionality including labeling, grid layouts, spacing, and hierarchical item management. Essential for preserving form group structure and capabilities when implementing custom form templates with complex organizational requirements.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikFormGroupRenderer : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance: objectComponentBaseTelerikFormGroupRenderer
Implements:
Inherited Members
Constructors
TelerikFormGroupRenderer()
Declaration
public TelerikFormGroupRenderer()
Properties
Group
Specifies the form group configuration object that defines how this group and its contained items should be rendered. The group contains metadata about the group label, layout settings, and collection of child form items. Used within FormItemsTemplate to manually control the rendering of form groups and their nested structure. The group object implements IFormGroup interface providing access to group properties and child item collections. Essential for custom form layouts that need to maintain group organization while controlling individual rendering.
Declaration
[Parameter]
public IFormGroup Group { get; set; }
Property Value
Template
Defines a custom rendering template for the form group with complete control over group layout and child item arrangement. Use this for advanced scenarios where the default group rendering doesn't meet specific layout or styling requirements. The template receives a FormGroupRendererTemplateContext containing the group's child items in their original structure. Within the template, use TelerikFormItemRenderer for individual fields and TelerikFormGroupRenderer for nested groups. Enables complex nested layouts, custom group headers, conditional rendering, and specialized group organization patterns.
Declaration
[Parameter]
public RenderFragment<FormGroupRendererTemplateContext> Template { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides