Class Page
Namespace: Casewhere.Models.Pages
Assembly: Casewhere.Models.dll
Represents a page entity. Page entity is a container allow user can defined custom layout of the content and add multiple widgets into it.
public class Page : Entity, IIdentity
Inheritance
Implements
IIdentity
Inherited Members
Entity.GetResourceName(), Entity.Id, Entity.Version, Entity.CreatedBy, Entity.CreatedAt, Entity.ModifiedBy, Entity.ModifiedAt, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()
Extension Methods
ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<Page>(Page)
Constructors
Page()
public Page()
Properties
AccessRule
Gets or sets the access rule of the page.
public AccessRule AccessRule { get; set; }
Property Value
Events
Gets or sets the events associated with the page.
public IList<PageEvent> Events { get; set; }
Property Value
HideOnWorkerSite
Gets or sets a value indicating whether the page should be hidden on the worker site navigation bar.
public bool HideOnWorkerSite { get; set; }
Property Value
IsLocked
public bool IsLocked { get; set; }
Property Value
Layout
Gets or sets the layout of the page. Specify type of layout to be used for the page. It can be GridLayout or FilledLayout
public Layout Layout { get; set; }
Property Value
Name
Gets or sets the name of the page.
public string Name { get; set; }
Property Value
PageCustomScript
public PageCustomScript PageCustomScript { get; set; }
Property Value
ProductId
Gets or sets the product ID of the page.
public Guid ProductId { get; set; }
Property Value
Tags
public IList<string> Tags { get; set; }
Property Value
Template
Gets or sets the template of the page.
public PageTemplate Template { get; set; }
Property Value
Title
Gets or sets the title of the page.
public string Title { get; set; }
Property Value
WidgetIds
Gets or sets the widget IDs associated with the page.
public IList<Guid> WidgetIds { get; set; }
Property Value
Methods
GetResourceName()
Gets the display name of the entity.
public override string GetResourceName()
Returns
The display name of the entity.