Class EditHint
Connection between view model property and content data property
Inheritance
System.Object
EditHint
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class EditHint
Constructors
EditHint()
Initializes a new instance of the EditHint class.
Declaration
public EditHint()
EditHint(String, String)
Initializes a new instance of the EditHint class.
Declaration
public EditHint(string viewModelPropertyName, string contentDataPropertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | viewModelPropertyName | Name of the view model property. |
System.String | contentDataPropertyName | Name of the content data property. |
Properties
ContentDataPropertyName
Gets or sets the name of the content data property.
Declaration
public string ContentDataPropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
None
Gets an empty edit hint, indicating there should not be an editing hint.
Declaration
public static EditHint None { get; }
Property Value
Type | Description |
---|---|
EditHint |
ViewModelPropertyName
Gets or sets the name of the property.
Declaration
public string ViewModelPropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |