Class
TelerikFormGroupRenderer

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

Constructors

TelerikFormGroupRenderer()

Declaration

cs-api-definition
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

cs-api-definition
[Parameter]
public IFormGroup Group { get; set; }

Property Value

IFormGroup

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

cs-api-definition
[Parameter]
public RenderFragment<FormGroupRendererTemplateContext> Template { get; set; }

Property Value

RenderFragment<FormGroupRendererTemplateContext>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

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

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)