Skip to content

DescriptionTagHelper

StrutTower edited this page Nov 11, 2022 · 1 revision

Renders the description of the property from the [DescriptionAttribute] or [DisplayAttribute.Description]. If the property does not have either the default name of the property will be shown.

Usage

<description asp-for="Property"></description>

Attributes

Name Required Data Type Description
asp-for Required ModelExpression Model property to show the description

Clone this wiki locally