Skip to content

CardContent

Mika Berglund edited this page Feb 28, 2020 · 1 revision

CardContent component

Represents the main content of a Card component. Acts as a wrapper for the CardBody and CardImage components.

Inheritance

CardContent : BootstrapComponentBase

Parameters

Name Type Description
BodyTemplate RenderFragment Allows you to customize how the body is rendered. Consider using the CardBody component.
ImagePosition CardImagePosition Allows you to specify how the image in the card is positioned. Defaults to CardImagePosition.Top.
ImageTemplate RenderFragment Allows you to customize how the image in the card is rendered. Consider using the CardImage component.
ImageUrl string The URL to the image to show in the card. If not specified, only the body will be rendered in the card.
Clone this wiki locally