Share via


CardViewParameters.TextInputCardViewParameters Method

Definition

Helper method to create a Text Input Card View.

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

Parameters

cardBar
CardBarComponent

Card bar component.

header
CardTextComponent

Text component to display as header.

body
CardTextInputComponent

Text input component to display as body.

footer
IList<CardButtonComponent>

Up to two buttons to display as footer.

image
CardImage

Optional image to display.

Returns

Card view configuration.

Remarks

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

Applies to