Table of Contents

Class GridRowViewModel

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

Represents a view model for a grid row in the frontend.

public class GridRowViewModel : ViewModelBase, IViewModelTemplatePath
Inheritance
GridRowViewModel
Implements
Inherited Members

Constructors

GridRowViewModel()

Initializes a new instance of the GridRowViewModel class.

public GridRowViewModel()

Properties

BackgroundImage

Gets or sets the background image.

public ImageFileViewModel BackgroundImage { get; set; }

Property Value

ImageFileViewModel

The image as an ImageFileViewModel.

ColorScheme

Gets or sets the color scheme.

public ColorSchemeViewModel ColorScheme { get; set; }

Property Value

ColorSchemeViewModel

The color scheme as an ColorSchemeViewModel.

Columns

Gets the columns.

public IEnumerable<GridColumnViewModel> Columns { get; }

Property Value

IEnumerable<GridColumnViewModel>

Definition

Gets or sets the grid row definition.

public GridRowDefinition Definition { get; }

Property Value

GridRowDefinition

Id

Gets or sets the id of the row.

public int Id { get; }

Property Value

int

Item

Gets an ItemViewModel instance of this row item.

public ItemViewModel Item { get; }

Property Value

ItemViewModel

An ItemViewModel instance.

TemplatePath

Gets or sets the template path.

public string TemplatePath { get; }

Property Value

string

Methods

Column(int)

Gets the column at the specified number.

public GridColumnViewModel Column(int number)

Parameters

number int

The column number.

Returns

GridColumnViewModel

The GridColumnViewModel at the specified number.

To top