Renders individual form fields with automatic editor selection, label generation, and validation display within custom form templates. Used exclusively within FormItemsTemplate and Template for manual form layout control. Provides complete form field functionality including data binding, validation messages, hints, and accessibility features. Essential for maintaining full form field capabilities when implementing custom form layouts and complex field arrangements.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikFormItemRenderer : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseTelerikFormItemRenderer
Implements:
Inherited Members
Constructors
public TelerikFormItemRenderer()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
public void Dispose()
Implements:
protected override void OnParametersSet()
Overrides:
Properties
Specifies the form item configuration object that defines how this individual field should be rendered and behave. The item contains all field metadata including field name, label text, editor type, validation settings, and layout properties. Used within FormItemsTemplate to manually control the rendering of specific form fields. The item object implements IFormItem interface providing access to field binding, validation, and display properties. Essential for custom form layouts where you need precise control over individual field rendering and positioning.
[Parameter]
public IFormItem Item { get; set; }