This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
DevOpsOpenHack/MobileApps/MyDriving/MyDriving.iOS/Cells/TripTableViewCellWithImage.cs

44 lines
1.1 KiB
C#
Raw Permalink Normal View History

2022-11-03 20:41:13 +00:00
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using Foundation;
using UIKit;
namespace MyDriving.iOS
{
public partial class TripTableViewCellWithImage : UITableViewCell
{
public TripTableViewCellWithImage(IntPtr handle) : base(handle)
{
}
public TripTableViewCellWithImage(NSString cellId) : base(UITableViewCellStyle.Default, cellId)
{
}
public UIImageView DisplayImage
{
get { return displayImageView; }
set { displayImageView = value; }
}
public string LocationName
{
get { return lblTitle.Text; }
set { lblTitle.Text = value; }
}
public string TimeAgo
{
get { return lblDaysAgo.Text; }
set { lblDaysAgo.Text = value; }
}
public string Distance
{
get { return lblMiles.Text; }
set { lblMiles.Text = value; }
}
}
}