Stores the city, image, temperature, and additional text rows displayed by a weather card.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatWeatherCardDataItem : BaseChatCardDataItem, INotifyPropertyChanged
Inheritance: objectBaseChatCardDataItemChatWeatherCardDataItem
Implements:
Inherited Members
Constructors
Initializes weather-card content and application-defined user data.
public ChatWeatherCardDataItem(string city, Image image, string temperature, object userData, params string[] data)
The city name displayed by the card.
imageImageThe weather image displayed by the card.
temperaturestringThe temperature text displayed by the card.
userDataobjectApplication-defined data associated with the card.
datastring[]Additional text rows displayed below the weather details.
Initializes weather-card content without application-defined user data.
public ChatWeatherCardDataItem(string city, Image image, string temperature, params string[] data)
The city name displayed by the card.
imageImageThe weather image displayed by the card.
temperaturestringThe temperature text displayed by the card.
datastring[]Additional text rows displayed below the weather details.
Properties
Gets or sets the additional text rows displayed below the weather details.
public string[] Data { get; set; }
Gets or sets the temperature text displayed by the card.
public string Temperature { get; set; }