DropdownItem Class

Represents an item in a Dropdown

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class DropdownItem : BlazorBootstrapComponentBase
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    DropdownItem

Constructors

DropdownItemInitializes a new instance of the DropdownItem class

Properties

Active Gets or sets the dropdown item active state.
ChildContent Gets or sets the content to be rendered within the component.
Disabled If , dropdown item will be disabled.
TabIndex Gets or sets the dropdown item tab index.
Target Gets or sets the target of dropdown item (if Type is Link).
To Get or sets the link href attribute (if Type is Link).
Type Gets or sets the dropdown item type.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also