Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CategoryViewModel

Inheritance
System.Object
CategoryViewModel
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.Cms.Shell.UI.Rest.Models.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public class CategoryViewModel

Constructors

CategoryViewModel(Category)

Declaration
public CategoryViewModel(Category cat)
Parameters
Type Name Description
Category cat

Properties

Description

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

HasChildren

Declaration
public bool HasChildren { get; set; }
Property Value
Type Description
System.Boolean

Id

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

ParentsNameCollection

Declaration
public List<string> ParentsNameCollection { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Selectable

Declaration
public bool Selectable { get; set; }
Property Value
Type Description
System.Boolean

Visible

Declaration
public bool Visible { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods