Class EditHint
Connection between view model property and content data property
Inheritance
System.Object
EditHint
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public class EditHint : Object
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 |