ClassTelerikFormItemRenderer
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
TelerikFormItemRenderer()
Declaration
public TelerikFormItemRenderer()
Properties
Item
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.
Declaration
[Parameter]
public IFormItem Item { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public void Dispose()
Implements
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides