Version: 2.0 |

ListGroupItem

in namespace DotVVM.Framework.Controls.Bootstrap4

Represents an item in the ListGroup control.

Properties

Name Type Description Notes Default Value
Badge Badge Gets or sets the Badge control that will be displayed with the list item.
attribute
inner element
static value
bindable
default
Color BootstrapOptionalColor Gets or sets the color of the list item.
attribute
inner element
static value
bindable
default
None
ContentTemplate ITemplate Gets or sets the template for content of the item.
attribute
inner element
static value
bindable
default
Enabled Boolean Gets or sets whether this item is enabled.
attribute
inner element
static value
bindable
default
True
IsSelected Boolean Gets or sets whether this item is selected.
attribute
inner element
static value
bindable
default
False
NavigateUrl String Gets or sets the URL of the item hyperlink.
attribute
inner element
static value
bindable
default
RouteName String Gets or sets the name of the route for the item hyperlink.
attribute
inner element
static value
bindable
default
Text String Gets or sets the text of the item.
attribute
inner element
static value
bindable
default
UrlSuffix String Gets or sets the suffix that will be appended to the generated URL.
attribute
inner element
static value
bindable
default

Events

Name Type Description
Click Action Gets or sets the command that will be triggered when the button is clicked.

Usage & Scenarios

Represents an item in ListGroup.

This control inherits from ListItem. Along with its properties, there are following extra properties:

  • Color specifies the Bootstrap color to be used for the list item.
  • Badge allows to specify a Badge control inside the list item to render additional content.

https://getbootstrap.com/docs/4.1/components/list-group/

HTML Rendered by the Control

Suggestions


Help & Contribute

The documentation is maintained on GitHub.
We'll be happy if you edit the page and create a pull request.

Send message