Dropdown Class

Dropdowns are toggleable, contextual overlays for displaying lists of links and more.
They are toggled by clicking, not by hovering; this is an intentional design decision by bootstrap.
For more information, visit https://getbootstrap.com/docs/5.0/components/dropdowns/.

Definition

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

Constructors

DropdownInitializes a new instance of the Dropdown class

Properties

AutoClose If , enables the auto close.
AutoCloseBehavior Gets or sets the auto close behavior of the dropdown.
ChildContent Gets or sets the content to be rendered within the component.
Color Gets or sets the dropdown color.
Direction Gets or sets the direction of the dropdown menu.
Disabled If , dropdown will be disabled.
Split Gets or sets the toggle button split behavior.

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