Remove unnecessaray parameter of TizenDeviceInfo
[platform/upstream/xamarin-forms.git] / Xamarin.Forms.Pages / CardView.cs
1 using System;
2 using Xamarin.Forms;
3 using Xamarin.Forms.Pages;
4
5 namespace Xamarin.Forms.Pages
6 {
7         public class CardView : DataView
8         {
9                 public static readonly BindableProperty TextProperty =
10                         BindableProperty.Create(nameof(Text), typeof(string), typeof(CardView), null, BindingMode.OneWay);
11
12                 public string Text
13                 {
14                         get { return (string)GetValue(TextProperty); }
15                         set { SetValue(TextProperty, value); }
16                 }
17
18                 public static readonly BindableProperty DetailProperty =
19                         BindableProperty.Create(nameof(Detail), typeof(string), typeof(CardView), null, BindingMode.OneWay);
20
21                 public string Detail
22                 {
23                         get { return (string)GetValue(DetailProperty); }
24                         set { SetValue(DetailProperty, value); }
25                 }
26
27                 public static readonly BindableProperty ImageSourceProperty =
28                         BindableProperty.Create(nameof(ImageSource), typeof(ImageSource), typeof(CardView), null, BindingMode.OneWay);
29
30                 public ImageSource ImageSource
31                 {
32                         get { return (ImageSource)GetValue(ImageSourceProperty); }
33                         set { SetValue(ImageSourceProperty, value); }
34                 }
35         }
36 }
37