Table of Contents

Class SwiftPosterViewModel

Namespace
Dynamicweb.Examples.Rendering
Assembly
Dynamicweb.Examples.dll
Custom paragraph viewmodel for specific item type. Use AddInName attribute with the item type name. See
[AddInName("MultiPurposeParagraphInfo")]
public class SwiftPosterViewModel : ParagraphViewModel
Inheritance
SwiftPosterViewModel
Inherited Members

Constructors

SwiftPosterViewModel()

public SwiftPosterViewModel()

Properties

Header

Take over default property of the base viewmodel. Suitable to change default behavior
public string Header { get; }

Property Value

string

NameOrTile

Addtional data property available in template. Suitable for additional data
public string NameOrTile { get; }

Property Value

string

Methods

GetPosterPadding()

Method to call from template using data from the model instance. Suitable for rendering logic
public string GetPosterPadding()

Returns

string
To top