IRadzenRadioButtonListItem Interface

Represents the common RadzenRadioButtonListItem<T> API used by RadzenRadioButtonList<T> regardless of the item value type. Allows items whose declared value type differs from the list value type (e.g. bool items in a bool? list).

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public interface IRadzenRadioButtonListItem

Properties

AttributesLink to this section

Gets the custom attributes rendered by the item.

Declaration
public IReadOnlyDictionary<string, object> Attributes { get; }
Property Value
Type Description
IReadOnlyDictionary<string, object>Gets the custom attributes rendered by the item.

DisabledLink to this section

Gets a value indicating whether the item is disabled.

Declaration
public bool Disabled { get; }
Property Value
Type Description
boolGets a value indicating whether the item is disabled.

ElementLink to this section

Gets or sets the item element reference.

Declaration
public ElementReference Element { get; set; }
Property Value
Type Description
ElementReferenceGets or sets the item element reference.

InputAttributesLink to this section

Gets the custom attributes rendered by the input.

Declaration
public IReadOnlyDictionary<string, object> InputAttributes { get; }
Property Value
Type Description
IReadOnlyDictionary<string, object>Gets the custom attributes rendered by the input.

StyleLink to this section

Gets the style.

Declaration
public string Style { get; }
Property Value
Type Description
stringGets the style.

TemplateLink to this section

Gets the item template.

Declaration
public RenderFragment Template { get; }
Property Value
Type Description
RenderFragmentGets the item template.

TextLink to this section

Gets the text.

Declaration
public string Text { get; }
Property Value
Type Description
stringGets the text.

ValueLink to this section

Gets the value.

Declaration
public object Value { get; }
Property Value
Type Description
objectGets the value.

VisibleLink to this section

Gets a value indicating whether the item is visible.

Declaration
public bool Visible { get; }
Property Value
Type Description
boolGets a value indicating whether the item is visible.

Methods

GetItemCssClassLink to this section

Gets the item CSS class.

Declaration
public abstract string GetItemCssClass()
Returns
Type Description
string

GetItemIdLink to this section

Gets the item id.

Declaration
public abstract string GetItemId()
Returns
Type Description
string
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙