Class GridRow
- Namespace
- Dynamicweb.Content
- Assembly
- Dynamicweb.dll
[PermissionEntity("GridRow")]
public class GridRow : Entity<int>, IChangeTracking, IPermissionEntity, IPermissionEntityLookup
- Inheritance
-
GridRow
- Implements
- Inherited Members
- Extension Methods
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
BackgroundImage
Gets or sets the background image.
public string BackgroundImage { get; set; }
Property Value
BottomSpacing
Gets or sets the bottom spacing.
public int? BottomSpacing { get; set; }
Property Value
- int?
ColorSchemeId
The id of the color scheme ColorScheme.
public string ColorSchemeId { get; set; }
Property Value
Container
The container of the Grid in which the GridRow is placed.
public string Container { get; set; }
Property Value
ContainerWidth
Gets or sets the container width.
public int? ContainerWidth { get; set; }
Property Value
- int?
DefinitionId
The definition id used to define the shape of the GridRow.
public string DefinitionId { get; set; }
Property Value
GapX
Gets or sets the gap size between columns.
public int? GapX { get; set; }
Property Value
- int?
GapY
Gets or sets the gap size between rows.
public int? GapY { get; set; }
Property Value
- int?
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.
MobileLayout
Gets or sets the row layout for mobile devices.
public string MobileLayout { get; set; }
Property Value
MobileSortColumns
Gets or sets columns sort order for mobile devices.
public string MobileSortColumns { get; set; }
Property Value
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.
TopSpacing
Gets or sets the top spacing.
public int? TopSpacing { get; set; }
Property Value
- int?
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; }
Property Value
VerticalAlignment
Gets or sets the vertical alignment.
public VerticalAlignment VerticalAlignment { get; set; }