DisplayName<TValue> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays the display name for a specified field, reading from DisplayAttribute or DisplayNameAttribute if present, or falling back to the property name.
public class DisplayName<TValue> : Microsoft.AspNetCore.Components.IComponent
type DisplayName<'Value> = class
interface IComponent
Public Class DisplayName(Of TValue)
Implements IComponent
Type Parameters
- TValue
The type of the field.
- Inheritance
-
DisplayName<TValue>
- Implements
Constructors
| Name | Description |
|---|---|
| DisplayName<TValue>() | |
Properties
| Name | Description |
|---|---|
| For |
Specifies the field for which the display name should be shown. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IComponent.Attach(RenderHandle) |
Attaches the component to a RenderHandle. |
| IComponent.SetParametersAsync(ParameterView) |
Sets parameters supplied by the component's parent in the render tree. |