ASP.NET MVC 3 and MVC 4 Razor
The UIHint attribute as the name itself suggest gives the Asp.net MVC run time the name of a template to use when rendering output with the templated helpers like (DisplayFor and EditorFor).
The UIHint attribute accepts the name of the Editor template to use to render the content on UI.
In this video we have explained how to use UIHint attibute in MVC3 Razor.