MaxBeauchemin
4/15/2020 - 7:32 PM

Class property attributes

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTOs
{
  public class CustomClass
  {
    [Description("Prop One")]
    [Horizontal(CellHorizontalAlignType.Left)]
    [Width(20f)]
    public string Prop1 { get; set; }

    [Description("Prop Two")]
    [Horizontal(CellHorizontalAlignType.Left)]
    [Width(20f)]
    public string Prop2 { get; set; }
  }
}