Some of the columns in my DataGridView
hold times. Others hold dates. Currently, the only way to know which is which is to inspect their naming convention. I would much rather this knowledge be held somewhere in the grid itself. Is there any feature that provides this?
Frame challenges are welcome. What I really want is to be able to tell a column that is intended for one job from a column that is intended for another.
My current, crude solution is to inherit from the type that I wanted to use and add a property that marks down what I want e.g.
using System.Windows.Forms;
namespace foo;
public class TimeCol : DataGridViewTextBoxColumn
{
public bool IsTime {get => true ;}
}