Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/CS/LayoutControlDemo.Wpf/Data/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/CS/LayoutControlDemo.Wpf/Data/Data1.cs

using System;
using System.ComponentModel.DataAnnotations;
using System.Windows;

namespace DevExpress.Xpf.LayoutControlDemo {
    public enum Gender { Male, Female }

    public class Data1 {
        public int IntProperty { get; set; }
        public int? NullableIntProperty { get; set; }
        public double DoubleProperty { get; set; }
        public double? NullableDoubleProperty { get; set; }
        public bool BoolProperty { get; set; }
        public bool? NullableBoolProperty { get; set; }
        public char CharProperty { get; set; }
        public char? NullableCharProperty { get; set; }
        public Gender EnumProperty { get; set; }
        public Gender? NullableEnumProperty { get; set; }
        public string StringProperty { get; set; }
        public DateTime DateTimeProperty { get; set; }
        public DateTime? NullableDateTimeProperty { get; set; }
        public decimal DecimalProperty { get; set; }
        public decimal? NullableDecimalProperty { get; set; }
        public Point ComplexTypeProperty { get; set; }

        [DataType(DataType.Currency)]
        public decimal CurrencyProperty { get; set; }
        [DataType(DataType.MultilineText)]
        public string MultilineTextProperty { get; set; }
        [DataType(DataType.Password)]
        public string PasswordProperty { get; set; }
        [DataType(DataType.PhoneNumber)]
        public string PhoneNumberProperty { get; set; }

        public override string ToString() {
            return "Supported data types (the Data1 class)";
        }
    }
}