AdfBlockCard Class

Represents a smart link rendered as a block.

public sealed class AdfBlockCard : AdfNode
Inheritance
AdfNode AdfBlockCard

Constructors

NameDescription
AdfBlockCard()

AdfBlockCard()

public AdfBlockCard()

No documentation is available.

Properties

NameDescription
DataGets the JSON-LD description of the linked resource, when the card is defined by data.
DatasourceGets the datasource of the card, when the card is backed by a query.
KindGets the type of the node.
LayoutGets the layout of the card.
UrlGets the URL of the linked resource, when the card is defined by a URL.
WidthGets the width of the card.

Gets the JSON-LD description of the linked resource, when the card is defined by data.

public JsonElement? Data { get; init; }

Property value

JsonElement?

Datasource

AdfBlockCard.cs

Gets the datasource of the card, when the card is backed by a query.

public JsonElement? Datasource { get; init; }

Property value

JsonElement?

Gets the type of the node.

public override AdfNodeKind Kind { get; }

Property value

AdfNodeKind

Gets the layout of the card.

public string? Layout { get; init; }

Property value

string?

Gets the URL of the linked resource, when the card is defined by a URL.

public string? Url { get; init; }

Property value

string?

Gets the width of the card.

public double? Width { get; init; }

Property value

double?