CardViewParameters.TextInputCardViewParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.