Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Hinweis
Erstellen Sie Copilot-, Teams- oder Outlook-Szenarien, die von adaptiven Karten unterstützt werden? Besuchen Sie den Dokumentationshub für adaptive Karten, den neuen One-Stop-Shop für alle Ihre Anforderungen an adaptive Karten! Es verfügt über alle Ressourcen, die Sie suchen, einschließlich der vollständigen Dokumentation für viele neue Features, z. B. dynamisches Layout, Symbol, Badge, Karussell, Diagramme und vieles mehr!
Diese Seite dokumentiert das Table-Element , das eine Möglichkeit zum Anzeigen von Daten in tabellarischer Form bietet.
Eingeführt in Version 1.5
Wichtiger Hinweis zur Barrierefreiheit: In Version 1.3 des Schemas haben wir eine Bezeichnungseigenschaft für Eingaben eingeführt, um die Barrierefreiheit zu verbessern. Wenn die Host-App, auf die Sie abzielen , v1.3 unterstützt, sollten Sie die Bezeichnung anstelle eines TextBlock verwenden, wie in einigen Beispielen unten dargestellt. Sobald die meisten Host-Apps auf die neueste Version aktualisiert wurden, aktualisieren wir die Beispiele entsprechend.
Table
Bietet eine Möglichkeit zum Anzeigen von Daten in tabellarischer Form.
Eingeführt in Version 1.5
Tabelleneigenschaften
| Eigentum | Typ | Erforderlich | Description | Version |
|---|---|---|---|---|
| type | "Table" |
Yes | Muss "Table" sein. |
1.5 |
| columns | TableColumnDefinition[] |
Nein | Definiert die Anzahl der Spalten in der Tabelle, deren Größe und vieles mehr. | 1.5 |
| Reihen | TableRow[] |
Nein | Definiert die Zeilen der Tabelle. | 1.5 |
| ersteZeileAlsKopfzeile | boolean |
Nein, Standard: true |
Gibt an, ob die erste Zeile der Tabelle als Überschriftenzeile behandelt werden soll und durch Barrierefreiheitssoftware angekündigt werden soll. | 1.5 |
| showGridLines | boolean |
Nein, Standard: true |
Gibt an, ob Gitternetzlinien angezeigt werden sollen. | 1.5 |
| gridStyle | ContainerStyle? |
Nein, Standard: "default" |
Definiert den Stil des Rasters. Diese Eigenschaft steuert derzeit nur die Farbe des Rasters. | 1.5 |
| horizontalCellContentAlignment | HorizontalAlignment? |
Nein | Steuert, wie der Inhalt aller Zellen standardmäßig horizontal ausgerichtet ist. Wenn sie nicht angegeben ist, wird die horizontale Ausrichtung pro Zelle definiert. | 1.5 |
| verticalCellContentAlignment | VerticalAlignment? |
Nein | Steuert, wie der Inhalt aller Zellen standardmäßig vertikal ausgerichtet ist. Wenn sie nicht angegeben ist, wird die vertikale Ausrichtung pro Zelle definiert. | 1.5 |
Geerbte Eigenschaften
| Eigentum | Typ | Erforderlich | Description | Version |
|---|---|---|---|---|
| Ausweichlösung |
Element, FallbackOption |
Nein | Beschreibt, was zu tun ist, wenn ein unbekanntes Element auftritt oder dies oder alle untergeordneten Elemente nicht erfüllt werden können. | 1.2 |
| height | BlockElementHeight |
Nein | Gibt die Höhe des Elements an. | 1.1 |
| separator | boolean |
Nein | Wenn true, zeichnen Sie eine trennende Linie am oberen Rand des Elements. |
1.5 |
| Abstand | Spacing |
Nein | Steuert den Abstand zwischen diesem Element und dem vorherigen Element. | 1.5 |
| id | string |
Nein | Ein eindeutiger Bezeichner, der dem Element zugeordnet ist. | 1.5 |
| isVisible | boolean |
Nein, Standard: true |
Wenn false, wird dieses Element aus dem visuellen Baum entfernt. |
1.2 |
| erfordert | Dictionary<string> |
Nein | Eine Reihe von Schlüssel-Wert-Paaren, die Features angeben, die für das Element mit entsprechender Mindestversion erforderlich sind. Wenn ein Feature fehlt oder die Version nicht ausreichend ist, wird ein Rückfall ausgelöst. | 1.2 |
Example
Beispiel einer einfachen Tabelle (JSON)
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "Table",
"gridStyle": "accent",
"firstRowAsHeaders": true,
"columns": [
{
"width": 1
},
{
"width": 1
},
{
"width": 3
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Name",
"wrap": true,
"weight": "Bolder"
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Type",
"wrap": true,
"weight": "Bolder"
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Description",
"wrap": true,
"weight": "Bolder"
}
]
}
],
"style": "accent"
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"style": "good",
"items": [
{
"type": "TextBlock",
"text": "columns",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "warning",
"items": [
{
"type": "TextBlock",
"text": "ColumnDefinition[]",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "accent",
"items": [
{
"type": "TextBlock",
"text": "Defines the table's columns (number of columns, and column sizes).",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"style": "good",
"items": [
{
"type": "TextBlock",
"text": "rows",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "accent",
"items": [
{
"type": "TextBlock",
"text": "TableRow[]",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "attention",
"items": [
{
"type": "TextBlock",
"text": "Defines the rows of the Table, each being a collection of cells. Rows are not required, which allows empty Tables to be generated via templating without breaking the rendering of the whole card.",
"wrap": true
}
]
}
]
}
]
},
{
"type": "Table",
"gridStyle": "accent",
"firstRowAsHeaders": true,
"showGridLines" : false,
"columns": [
{
"width": 1
},
{
"width": 1
},
{
"width": 3
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Name",
"wrap": true,
"weight": "Bolder"
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Type",
"wrap": true,
"weight": "Bolder"
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Description",
"wrap": true,
"weight": "Bolder"
}
]
}
],
"style": "accent"
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"style": "good",
"items": [
{
"type": "TextBlock",
"text": "columns",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "warning",
"items": [
{
"type": "TextBlock",
"text": "ColumnDefinition[]",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "accent",
"items": [
{
"type": "TextBlock",
"text": "Defines the table's columns (number of columns, and column sizes).",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"style": "good",
"items": [
{
"type": "TextBlock",
"text": "rows",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "accent",
"items": [
{
"type": "TextBlock",
"text": "TableRow[]",
"wrap": true
}
]
},
{
"type": "TableCell",
"style": "attention",
"items": [
{
"type": "TextBlock",
"text": "Defines the rows of the Table, each being a collection of cells. Rows are not required, which allows empty Tables to be generated via templating without breaking the rendering of the whole card.",
"wrap": true
}
]
}
]
}
],
"showGridLines": false
}
]
}
Eigenschaften
columns
Definiert die Anzahl der Spalten in der Tabelle, deren Größe und vieles mehr.
-
Typ:
TableColumnDefinition[] - Erforderlich: Nein
-
Zulässige Werte:
TableColumnDefinition
rows
Definiert die Zeilen der Tabelle.
-
Typ:
TableRow[] - Erforderlich: Nein
-
Zulässige Werte:
TableRow
firstRowAsHeader
Gibt an, ob die erste Zeile der Tabelle als Überschriftenzeile behandelt werden soll und durch Barrierefreiheitssoftware angekündigt werden soll.
-
Typ:
boolean -
Erforderlich: Nein, Standard:
true
Gitternetzlinien anzeigen
Gibt an, ob Gitternetzlinien angezeigt werden sollen.
-
Typ:
boolean -
Erforderlich: Nein, Standard:
true
showGridLines-Beispiel (JSON)
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "Table with gridlines",
"wrap": true,
"style": "heading"
},
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "showGridLines value",
"wrap": true
}
],
"style": "accent"
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Behavior",
"wrap": true
}
],
"style": "accent"
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "true",
"wrap": true
}
],
"style": "accent"
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Cells are separated by 1px width gridlines",
"wrap": true
}
],
"style": "accent"
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "false",
"wrap": true
}
],
"style": "accent"
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Cells are separated by the cell spacing value configued in hostconfig",
"wrap": true
}
],
"style": "accent"
}
]
}
]
},
{
"type": "TextBlock",
"text": "Table without gridlines",
"wrap": true,
"style": "heading"
},
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "showGridLines value",
"wrap": true
}
],
"style": "accent"
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Behavior",
"wrap": true
}
],
"style": "accent"
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "true",
"wrap": true
}
],
"style": "accent"
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Cells are separated by 1px width gridlines",
"wrap": true
}
],
"style": "accent"
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "false",
"wrap": true
}
],
"style": "accent"
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Cells are separated by the cell spacing value configued in hostconfig",
"wrap": true
}
],
"style": "accent"
}
]
}
],
"showGridLines": false
}
]
}
gridStyle
Definiert den Stil des Rasters. Diese Eigenschaft steuert derzeit nur die Farbe des Rasters.
-
Typ:
ContainerStyle? -
Erforderlich: Nein, Standard:
"default" -
Zulässige Werte:
"default""emphasis"-
"good"(In Version 1.2 hinzugefügt) -
"attention"(In Version 1.2 hinzugefügt) -
"warning"(In Version 1.2 hinzugefügt) -
"accent"(In Version 1.2 hinzugefügt)
gridStyle-Beispiel (JSON)
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "GridStyle sets the color of the gridlines to the corresponding border color defined in host config",
"wrap": true,
"weight": "Bolder"
},
{
"type": "Table",
"verticalCellContentAlignment": "Center",
"columns": [
{
"width": 1
},
{
"width": 3
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "gridStyle Value",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Sample table",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Good",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"gridStyle": "good"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Warning",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"gridStyle": "warning"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Attention",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"gridStyle": "attention"
}
]
}
]
}
],
"showGridLines": false,
"firstRowAsHeaders": true
}
]
}
Horizontale Zellinhaltsausrichtung
Steuert, wie der Inhalt aller Zellen standardmäßig horizontal ausgerichtet ist. Wenn sie nicht angegeben ist, wird die horizontale Ausrichtung pro Zelle definiert.
-
Typ:
HorizontalAlignment? - Erforderlich: Nein
-
Zulässige Werte:
"left""center""right"
horizontalCellContentAlignment-Beispiel (JSON)
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "You can configure the horizontal alignment of table content with HorizontalCellContentAlignement",
"wrap": true,
"weight": "Bolder"
},
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 3
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Left",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"horizontalCellContentAlignment": "Left"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Center",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"horizontalCellContentAlignment": "Center"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Right",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Data",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"horizontalCellContentAlignment": "Right"
}
]
}
]
}
],
"showGridLines": false,
"firstRowAsHeaders": false,
"verticalCellContentAlignment": "Center"
}
]
}
Vertikale Zelleninhaltsausrichtung
Steuert, wie der Inhalt aller Zellen standardmäßig vertikal ausgerichtet ist. Wenn sie nicht angegeben ist, wird die vertikale Ausrichtung pro Zelle definiert.
-
Typ:
VerticalAlignment? - Erforderlich: Nein
-
Zulässige Werte:
"top""center""bottom"
verticalCellContentAlignment-Beispiel (JSON)
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "You can configure the vertical alignment of table content with VerticalCellContentAlignement",
"wrap": true,
"weight": "Bolder"
},
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 3
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Top",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A little bit of text.",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. ",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A little bit of text.",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. ",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"verticalCellContentAlignment": "Top"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Center",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A little bit of text.",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. ",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A little bit of text.",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. ",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"verticalCellContentAlignment": "Center"
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "Bottom",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "Table",
"columns": [
{
"width": 1
},
{
"width": 1
}
],
"rows": [
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A little bit of text.",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. ",
"wrap": true
}
]
}
]
},
{
"type": "TableRow",
"cells": [
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A little bit of text.",
"wrap": true
}
]
},
{
"type": "TableCell",
"items": [
{
"type": "TextBlock",
"text": "A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. A lot of text. ",
"wrap": true
}
]
}
]
}
],
"firstRowAsHeaders": false,
"verticalCellContentAlignment": "Bottom"
}
]
}
]
}
],
"showGridLines": false,
"firstRowAsHeaders": false,
"verticalCellContentAlignment": "Center"
}
]
}
Plan B
Beschreibt, was zu tun ist, wenn ein unbekanntes Element auftritt oder die Anforderungen dieses oder eines beliebigen untergeordneten Elements nicht erfüllt werden können.
-
Typ:
Element,FallbackOption - Version: 1.2
- Erforderlich: Nein
-
Zulässige Werte:
-
ActionSet,ColumnSet,Container,FactSet,Image,ImageSet,Input.ChoiceSet,Input.Date,Input.Number,Input.Text,Input.Time,Input.Toggle,Media,RichTextBlock,Table,TextBlock -
"drop": Bewirkt, dass dieses Element sofort gelöscht wird, wenn unbekannte Elemente gefunden werden. Das unbekannte Element taucht nicht weiter oben auf.
-
height
Gibt die Höhe des Elements an.
-
Typ:
BlockElementHeight - Version: 1.1
- Erforderlich: Nein
-
Zulässige Werte:
-
"auto": Die Höhe des Containers wird durch die Höhe des Inhalts bestimmt. -
"stretch": Der Container dehnt seine Höhe auf die verbleibende verfügbare Höhe des übergeordneten Containers.
-
Trennzeichen
Wenn true, zeichnen Sie eine trennende Linie am oberen Rand des Elements.
-
Typ:
boolean - Erforderlich: Nein
Abstand
Steuert den Abstand zwischen diesem Element und dem vorherigen Element.
-
Typ:
Spacing - Erforderlich: Nein
-
Zulässige Werte:
-
"default", ,"none""small","medium","large", ,"extraLarge""padding"
-
id
Ein eindeutiger Bezeichner, der dem Element zugeordnet ist.
-
Typ:
string - Erforderlich: Nein
isVisible
Wenn false, wird dieses Element aus dem visuellen Baum entfernt.
-
Typ:
boolean - Version: 1.2
-
Erforderlich: Nein, Standard:
true
erfordert
Eine Reihe von Schlüssel-Wert-Paaren, die Features angeben, die für das Element mit entsprechender Mindestversion erforderlich sind. Wenn ein Feature fehlt oder die Version nicht ausreichend ist, wird ein Rückfall ausgelöst.
-
Typ:
Dictionary<string> - Version: 1.2
- Erforderlich: Nein