Table of Contents

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

objectEntityPage

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

AccessRule

Events

Gets or sets the events associated with the page.

public IList<PageEvent> Events { get; set; }

Property Value

IList<PageEvent>

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

bool

IsLocked

public bool IsLocked { get; set; }

Property Value

bool

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

Layout

Name

Gets or sets the name of the page.

public string Name { get; set; }

Property Value

string

PageCustomScript

public PageCustomScript PageCustomScript { get; set; }

Property Value

PageCustomScript

ProductId

Gets or sets the product ID of the page.

public Guid ProductId { get; set; }

Property Value

Guid

Tags

public IList<string> Tags { get; set; }

Property Value

IList<string>

Template

Gets or sets the template of the page.

public PageTemplate Template { get; set; }

Property Value

PageTemplate

Title

Gets or sets the title of the page.

public string Title { get; set; }

Property Value

string

WidgetIds

Gets or sets the widget IDs associated with the page.

public IList<Guid> WidgetIds { get; set; }

Property Value

IList<Guid>

Methods

GetResourceName()

Gets the display name of the entity.

public override string GetResourceName()

Returns

string

The display name of the entity.