Stores the passenger name, flight segments, image, and total displayed by a flight card.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatFlightCardDataItem : BaseChatCardDataItem, INotifyPropertyChanged
Inheritance: objectBaseChatCardDataItemChatFlightCardDataItem
Implements:
Inherited Members
Constructors
Initializes the data for a flight card.
public ChatFlightCardDataItem(string passengerName, IEnumerable<FlightInfo> flights, Image image, string total, object userData)
The passenger name displayed by the card.
flightsIEnumerable<FlightInfo>The flight segments displayed in the route section.
imageImageThe image displayed between departure and arrival details.
totalstringThe total displayed at the bottom of the card.
userDataobjectApplication-defined data associated with the card.
Exceptions: ArgumentNullExceptionThe constructor's initial passenger-name assignment reads its uninitialized character buffer.
Properties
Flights
IEnumerable<FlightInfo>
Gets or sets the flight segments rendered in sequence between the card's departure and arrival headings. Assigning a different sequence raises PropertyChanged; changes within the sequence do not.
public IEnumerable<FlightInfo> Flights { get; set; }
Gets or sets the plane image repeated in each flight segment.
public Image Image { get; set; }
Gets or sets the passenger name displayed by the flight card.
public string PassangerName { get; set; }