New to Telerik UI for WinForms? Start a free 30-day trial

Provides shared user data and property-change notifications for chat card data items.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class BaseChatCardDataItem : INotifyPropertyChanged

Inheritance: objectBaseChatCardDataItem

Derived Classes: ChatFlightCardDataItemChatImageCardDataItemChatProductCardDataItemChatWeatherCardDataItem

Implements: INotifyPropertyChanged

Constructors

Initializes the card data item with application-defined user data.

C#
public BaseChatCardDataItem(object userData)
Parameters:userDataobject

The data associated with the card and later exposed with card-action events.

Properties

Gets or sets application-defined data associated with this card.

C#
public object UserData { get; set; }

Methods

Notifies subscribers that one of the card data item's properties changed.

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the changed property.

Events

Occurs when a card data item property changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged