Class
ImageCard

Definition

Namespace:Telerik.UI.Xaml.Controls.ConversationalUI

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class ImageCard : Card

Inheritance: objectCardImageCard

Derived Classes: ProductCardWeatherCard

Inherited Members Card.TitlePropertyCard.SubTitlePropertyCard.TextPropertyCard.ActionResultsOrientationPropertyCard.TitleCard.SubTitleCard.TextCard.ActionResultsOrientation

Constructors

ImageCard()

Initializes a new instance of the ImageCard class.

Declaration

cs-api-definition
public ImageCard()

Fields

CardOrientationProperty

Identifies the CardOrientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CardOrientationProperty

Field Value

DependencyProperty

ImageDisplayModeProperty

Identifies the ImageDisplayMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ImageDisplayModeProperty

Field Value

DependencyProperty

ImageSourceProperty

Identifies the ImageSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ImageSourceProperty

Field Value

DependencyProperty

Properties

CardOrientation

Gets or sets the layout orientation.

Declaration

cs-api-definition
public CardOrientation CardOrientation { get; set; }

Property Value

CardOrientation

ImageDisplayMode

Gets or sets the image display mode.

Declaration

cs-api-definition
public ImageDisplayMode ImageDisplayMode { get; set; }

Property Value

ImageDisplayMode

ImageSource

Gets or sets the image source.

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

Methods

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides Card.OnCreateAutomationPeer()

UpdateVisualStates(bool)

Updates the visual states.

Declaration

cs-api-definition
protected virtual void UpdateVisualStates(bool useTransitions)

Parameters

useTransitions

bool

If set to true use transitions.