CardViewParameters.ImageCardViewParameters 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 an Image Card View.
public static Microsoft.Bot.Schema.SharePoint.CardViewParameters ImageCardViewParameters (Microsoft.Bot.Schema.SharePoint.CardBarComponent cardBar, Microsoft.Bot.Schema.SharePoint.CardTextComponent header, System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.BaseCardComponent> footer, Microsoft.Bot.Schema.SharePoint.CardImage image);
static member ImageCardViewParameters : Microsoft.Bot.Schema.SharePoint.CardBarComponent * Microsoft.Bot.Schema.SharePoint.CardTextComponent * System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.BaseCardComponent> * Microsoft.Bot.Schema.SharePoint.CardImage -> Microsoft.Bot.Schema.SharePoint.CardViewParameters
Public Shared Function ImageCardViewParameters (cardBar As CardBarComponent, header As CardTextComponent, footer As IList(Of BaseCardComponent), image As CardImage) 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.
- image
- CardImage
Image to display.
Returns
Card view configuration.
Remarks
The Image Card view displays the following: - Card bar - One primary text field - One image - Zero buttons in the Medium card size, up to two buttons in Large card size; or text input.