Table of Contents

Class ButtonData

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll

Represents an item field Button data.

public sealed class ButtonData
Inheritance
ButtonData
Inherited Members

Properties

Label

Gets or sets the label.

public string? Label { get; set; }

Property Value

string

Gets or sets the link.

public string? Link { get; set; }

Property Value

string

LinkType

Gets or sets the link type.

public string? LinkType { get; set; }

Property Value

string

SelectedValue

Gets or sets the value.

public object? SelectedValue { get; set; }

Property Value

object

Style

Gets or sets the button style.

public string? Style { get; set; }

Property Value

string

The type style of the button.

Remarks

One of these 5 styles that cannot be changed

  • "primary"
  • "outline-primary"
  • "secondary"
  • "outline-secondary"
  • "link"
To top