Class GridRow
- Namespace
- Dynamicweb.Content
- Assembly
- Dynamicweb.dll
public class GridRow : Entity<int>, IChangeTracking
- Inheritance
-
GridRow
- Implements
- Inherited Members
Constructors
GridRow()
public GridRow()
GridRow(int)
public GridRow(int pageId)
Parameters
pageId
int
Properties
Active
Gets or sets a value indicating whether the GridRow is active or not.
public bool Active { get; set; }
Property Value
Container
The container of the Grid in which the GridRow is placed.
public string Container { get; set; }
Property Value
DefinitionId
The definition id used to define the shape of the GridRow.
public string DefinitionId { get; set; }
Property Value
HideForDesktops
Gets or sets a value indicating whether this row should be hidden for desktops - that is devices not detected as phone or tablet.
public bool HideForDesktops { get; set; }
Property Value
- bool
true
if hide for desktops; otherwise,false
.
HideForPhones
Gets or sets a value indicating whether this row should be hidden for phones.
public bool HideForPhones { get; set; }
Property Value
- bool
true
if hide for phones; otherwise,false
.
HideForTablets
Gets or sets a value indicating whether this row should be hidden for tablets.
public bool HideForTablets { get; set; }
Property Value
- bool
true
if hide for tablets; otherwise,false
.
IsTemplate
Gets or sets a value indicating whether this instance is template.
public bool IsTemplate { get; set; }
Property Value
- bool
true
if this instance is template; otherwise,false
.
ItemId
The item id of the GridRow.
public string ItemId { get; set; }
Property Value
ItemType
The item type of the GridRow.
public string ItemType { get; set; }
Property Value
MasterRowId
Gets or sets the master row ID.
public int MasterRowId { get; set; }
Property Value
- int
- The master row ID.
PageId
public int PageId { get; set; }
Property Value
Sort
Gets or sets the sort order of the GridRow on the same page.
public int Sort { get; set; }
Property Value
TemplateDescription
Gets or sets the template description.
public string TemplateDescription { get; set; }
Property Value
- string
- The template description.
TemplateImage
Gets or sets the template image
public string TemplateImage { get; set; }
Property Value
- string
- The template image.
TemplateName
Gets or sets the template name.
public string TemplateName { get; set; }
Property Value
- string
- The template name.
UniqueId
Gets or sets the unique identifier for grid rows used in copy and deploy scenarios.
public Guid UniqueId { get; set; }
Property Value
- Guid
- The unique identifier.
ValidFrom
Gets or sets a value for when the GridRow is valid from.
null
means publication period doesn't have a lower limit.public DateTime? ValidFrom { get; set; }
Property Value
ValidTo
Gets or sets a value for when the GridRow is valid to.
null
means publication period doesn't have a upper limit.public DateTime? ValidTo { get; set; }