RadzenDropDownItem<TValue> Class

Inheritance

Object

ComponentBase

RadzenDropDownItem<TValue>

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inherited Members

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.SetParametersAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenDropDownItem<TValue> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Type Parameters

Name Description
TValue

Constructors

RadzenDropDownItem<TValue>Link to this section

Declaration
public RadzenDropDownItem<TValue>()

Properties

AttributesLink to this section

Declaration
public IReadOnlyDictionary<string, object> Attributes { get; set; }
Property Value
Type Description
IReadOnlyDictionary<string, object>

DisabledLink to this section

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
bool

DropDownLink to this section

Declaration
public RadzenDropDown<TValue> DropDown { get; set; }
Property Value
Type Description
RadzenDropDown<TValue>

ItemLink to this section

Declaration
public object Item { get; set; }
Property Value
Type Description
object

Methods

BuildRenderTreeLink to this section

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

GetComponentCssClassLink to this section

Declaration
protected string GetComponentCssClass(string prefix)
Parameters
Type Name Description
string prefix
Returns
Type Description
string

ShouldRenderLink to this section

Skips re-rendering a plain item whose output has not changed, avoiding O(items) wasted work when the parent re-renders for an unrelated reason. A Template or ItemRender item always re-renders; the plain item is tracked by its resolved text, selected state, disabled state and layout, so an in-place mutation still re-renders.

Declaration
protected override bool ShouldRender()
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙