Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DataAnnotations.​UIHintAttribute

Assembly: System.ComponentModel.Annotations

Inheritance: object → Attribute → UIHintAttribute

Specifies the template or user control that Dynamic Data uses to display a data field.

Properties

public Collections.​Generic.​IDictionary<​string, object>
ControlParameters
Gets or sets the <see cref="T:System.Web.DynamicData.DynamicControlParameter" /> object to use to retrieve values from any data source.
public string
PresentationLayer
Gets or sets the presentation layer that uses the <see cref="T:System.ComponentModel.DataAnnotations.UIHintAttribute" /> class.
public string
UIHint
Gets or sets the name of the field template to use to display the data field.
public object
TypeId

Methods

public bool
Equals​(object obj)
Gets a value that indicates whether this instance is equal to the specified object.
Returns <see langword="true" /> if the specified object is equal to this instance; otherwise, <see langword="false" /> .
obj The object to compare with this instance, or a <see langword="null" /> reference.
public int
GetHashCode​()
Gets the hash code for the current instance of the attribute.
Returns The attribute instance hash code.
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object