Class GridRowViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
Represents a view model for a grid row in the frontend.
- Inheritance
-
Grid
Row View Model
- Implements
- Inherited Members
Constructors
GridRowViewModel()
Initializes a new instance of the Grid
Properties
BackgroundImage
Gets or sets the background image.
Property Value
- Image
File View Model The image as an Image
File .View Model
BottomSpacing
Gets or sets the bottom spacing.
Property Value
- int?
ColorScheme
Gets or sets the color scheme.
Property Value
- Color
Scheme View Model The color scheme as an Color
Scheme .View Model
Columns
Gets the columns.
Property Value
ContainerWidth
Gets or sets the container width.
Property Value
- int?
Definition
Gets or sets the grid row definition.
Property Value
GapX
Gets or sets the gap size between columns.
Property Value
- int?
GapY
Gets or sets the gap size between rows.
Property Value
- int?
Id
Gets or sets the id of the row.
Property Value
- int
213
Item
Gets an Item
Property Value
- Item
View Model An Item
View instance.Model
TemplatePath
Gets or sets the template path.
Property Value
TopSpacing
Gets or sets the top spacing.
Property Value
- int?
VerticalAlignment
Gets or sets the vertical alignment
Property Value
Methods
Column(int)
Gets the column at the specified number.
Parameters
number
intThe column number.
Returns
- Grid
Column View Model The Grid
Column at the specified number.View Model