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

Stores departure and arrival location and timestamp data for one flight segment.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class FlightInfo

Inheritance: objectFlightInfo

Constructors

Initializes one flight segment's departure and arrival details.

C#
public FlightInfo(string departureCity, string departureAirport, DateTime departureDateTime, string arrivalCity, string arrivalAirport, DateTime arrivalDateTime)
Parameters:departureCitystring

The departure city.

departureAirportstring

The departure airport.

departureDateTimeDateTime

The departure date and time.

arrivalCitystring

The arrival city.

arrivalAirportstring

The arrival airport.

arrivalDateTimeDateTime

The arrival date and time.

Properties

Gets or sets the airport shown beneath the arrival city.

C#
public string ArrivalAirport { get; set; }

Gets or sets the city shown in the arrival block on the right side of a route row.

C#
public string ArrivalCity { get; set; }

Gets or sets the arrival timestamp, displayed using the current culture's short date and time patterns.

C#
public DateTime ArrivalDateTime { get; set; }

Gets or sets the airport shown beneath the departure city.

C#
public string DepartureAirport { get; set; }

Gets or sets the city shown in the departure block on the left side of a route row.

C#
public string DepartureCity { get; set; }

Gets or sets the departure timestamp, displayed using the current culture's short date and time patterns.

C#
public DateTime DepartureDateTime { get; set; }