Class PageLanguageViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
PageLanguageViewModel represents the rendering context used when a page language is rendered.
public class PageLanguageViewModel : ViewModelBase
- Inheritance
-
PageLanguageViewModel
- Inherited Members
Constructors
PageLanguageViewModel()
Initializes a new instance of the PageLanguageViewModel class.
public PageLanguageViewModel()
Properties
Culture
Gets or sets the culture.
public string? Culture { get; set; }
Property Value
- string
The culture.
FirstActivePage
Gets or sets the first active page.
public PageReferenceViewModel? FirstActivePage { get; set; }
Property Value
- PageReferenceViewModel
The first active page.
FirstPage
Gets or sets the first page.
public PageReferenceViewModel? FirstPage { get; set; }
Property Value
- PageReferenceViewModel
The first page.
ID
Gets or sets the identifier.
public int ID { get; set; }
Property Value
- int
The identifier.
IsCurrent
Gets or sets a value indicating whether this instance is current.
public bool IsCurrent { get; set; }
Property Value
- bool
true
if this instance is current; otherwise,false
.
IsMaster
Gets or sets a value indicating whether this instance is master.
public bool IsMaster { get; set; }
Property Value
- bool
true
if this instance is master; otherwise,false
.
Name
Gets or sets the name.
public string? Name { get; set; }
Property Value
- string
The name.
Page
Gets or sets the page.
public PageReferenceViewModel? Page { get; set; }
Property Value
- PageReferenceViewModel
The page.
PageIsHidden
Gets or sets a value indicating whether [page is hidden].
public bool PageIsHidden { get; set; }
Property Value
- bool
true
if [page is hidden]; otherwise,false
.
PageIsPublished
Gets or sets a value indicating whether [page is published].
public bool PageIsPublished { get; set; }
Property Value
- bool
true
if [page is published]; otherwise,false
.
PrimaryDomain
Gets or sets the primary domain.
public string? PrimaryDomain { get; set; }
Property Value
- string
The primary domain.