UIHintAttribute Constructor (String)
Initializes a new instance of the UIHintAttribute class by using a specified user control.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
A UIHintAttribute object that is created with this constructor is initialized using the specified uiHint, which specifies the user control (field template) to use in order to display the data field.
ASP.NET Dynamic Data provides field templates, page templates, and data controls to render data fields in a data model. You can modify these templates and controls to customize them, or you can create a custom user control. If you create a custom user control, you use the UIHint property to specify the user control to use to display a data field.
Available since 8
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 3.0