Class ButtonViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
The ButtonViewModel class is a specialized view model for handling CTA buttonss. It extends from the ViewModelBase class.
public sealed class ButtonViewModel : ViewModelBase
- Inheritance
-
ButtonViewModel
- Inherited Members
Properties
Label
Gets the label.
public string Label { get; set; }
Property Value
- string
the label.
Link
Gets the link.
public LinkViewModel Link { get; set; }
Property Value
Style
Gets the style.
public string Style { get; set; }
Property Value
- string
the style.
Methods
ToString()
Returns the string representation of model
public override string ToString()