using System; namespace EstusShots.Gtk.Controls { public class DataColumn { public DataColumn() { } public DataColumn(string propertyName) { PropertyName = propertyName; } /// /// The name of the property in the data source, that should be show nin the view /// public string PropertyName { get; } /// /// The column header. /// public string Title { get; set; } /// /// Applies the given transformation on each item in the column. /// This changes only the display of the value. /// public Func Format { get; set; } } }