<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0-preview.2.20160.6" />

System.ComponentModel.DataAnnotations.UIHintAttribute

public class UIHintAttribute : Attribute
Specifies the template or user control that Dynamic Data uses to display a data field.
public IDictionary<string, object> ControlParameters { get; }

Gets or sets the DynamicControlParameter object to use to retrieve values from any data source.

public string PresentationLayer { get; }

Gets or sets the presentation layer that uses the UIHintAttribute class.

public string UIHint { get; }

Gets or sets the name of the field template to use to display the data field.

public UIHintAttribute(string uiHint)

Initializes a new instance of the UIHintAttribute class by using a specified user control.

public UIHintAttribute(string uiHint, string presentationLayer)

Initializes a new instance of the UIHintAttribute class using the specified user control and specified presentation layer.

public UIHintAttribute(string uiHint, string presentationLayer, object[] controlParameters)

Initializes a new instance of the UIHintAttribute class by using the specified user control, presentation layer, and control parameters.