Skip to content

HintAttribute constructor (1 of 2)

Creates a new instance of the HintAttribute class. Use this overload for creating a hint with a local text key, and no default hint.

public HintAttribute()

See Also


HintAttribute constructor (2 of 2)

Sets a hint for a form field. The hint is shown when the field label is hovered. This has no effect on columns.

public HintAttribute(string? hint)
parameter description
hint The hint.

Remarks

Initializes a new instance of the HintAttribute class.

See Also