Share via


CardViewParameters.BasicCardViewParameters Method

Definition

Helper method to create a Basic Text Card View.

public static Microsoft.Bot.Schema.SharePoint.CardViewParameters BasicCardViewParameters (Microsoft.Bot.Schema.SharePoint.CardBarComponent cardBar, Microsoft.Bot.Schema.SharePoint.CardTextComponent header, System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.BaseCardComponent> footer);
static member BasicCardViewParameters : Microsoft.Bot.Schema.SharePoint.CardBarComponent * Microsoft.Bot.Schema.SharePoint.CardTextComponent * System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.BaseCardComponent> -> Microsoft.Bot.Schema.SharePoint.CardViewParameters
Public Shared Function BasicCardViewParameters (cardBar As CardBarComponent, header As CardTextComponent, footer As IList(Of BaseCardComponent)) As CardViewParameters

Parameters

cardBar
CardBarComponent

Card bar component.

header
CardTextComponent

Text component to display as header.

footer
IList<BaseCardComponent>

Up to two buttons or text input to display as footer.

Returns

Card view configuration.

Remarks

The Basic Text card view displays the following: - Card bar - One primary text field - Zero or one button in the Medium card size, up to two buttons in Large card size; or text input.

Applies to