New to Telerik UI for BlazorStart a free 30-day trial

Provides context data for custom form item templates when using FormItemsTemplate. Contains the collection of form items and groups that need to be rendered with custom layout logic.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class FormItemsTemplateContext

Inheritance: objectFormItemsTemplateContext

Constructors

C#
public FormItemsTemplateContext()

Properties

Gets the collection of form elements (items and groups) that should be rendered within the custom template. Items maintain their original structure and order as defined in the FormItems parameter. Each element can be either an IFormItem for individual fields or an IFormGroup for grouped sections. Use TelerikFormItemRenderer and TelerikFormGroupRenderer to render these items with proper functionality.

C#
public List<IFormItemBase> Items { get; }