HintAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets a hint for a form field. The hint is shown when the field label is hovered. This has no effect on columns.
[AttributeUsage(AttributeTargets.All)]
public class HintAttribute : Attribute, IHasTextKey
| parameter | description |
|---|---|
| hint | The hint. |
Public Members
| name | description |
|---|---|
| HintAttribute() | Creates a new instance of the HintAttribute class. Use this overload for creating a hint with a local text key, and no default hint. |
| HintAttribute(…) | Sets a hint for a form field. The hint is shown when the field label is hovered. This has no effect on columns. |
| Hint { get; } | Gets the hint. |
| TextKey { get; set; } | Gets or sets the local text key for the category. |
Remarks
Initializes a new instance of the HintAttribute class.
See Also
- interface IHasTextKey
- Source: HintAttribute.cs