Class CreateModel.CreatePageViewModel
Inheritance
CreateModel.CreatePageViewModel
Assembly: Volo.CmsKit.Admin.Web.dll
Syntax
public class CreateModel.CreatePageViewModel : ExtensibleObject, IHasExtraProperties, IValidatableObject
Constructors
CreatePageViewModel()
Declaration
public CreatePageViewModel()
Properties
Content
Declaration
[HiddenInput]
[DynamicMaxLength(typeof(PageConsts), "MaxContentLength")]
public string Content { get; set; }
Property Value
LayoutName
Declaration
[Required]
[DynamicMaxLength(typeof(PageConsts), "MaxLayoutNameLength")]
public string LayoutName { get; set; }
Property Value
Script
Declaration
[TextArea(Rows = 6)]
[DynamicMaxLength(typeof(PageConsts), "MaxScriptLength")]
public string Script { get; set; }
Property Value
Slug
Declaration
[Required]
[DynamicMaxLength(typeof(PageConsts), "MaxSlugLength")]
public string Slug { get; set; }
Property Value
Style
Declaration
[TextArea(Rows = 6)]
[DynamicMaxLength(typeof(PageConsts), "MaxStyleLength")]
public string Style { get; set; }
Property Value
Title
Declaration
[Required]
[DynamicMaxLength(typeof(PageConsts), "MaxTitleLength")]
public string Title { get; set; }
Property Value
Implements
Extension Methods