// A DataGrid template column that forwards it's Binding to each Cell.
 // To use this:
 //  Define a 'DataTemplate' containing UI elements that contain bindings to some type or interface
 //  Use the 'DataGridBoundTemplateColumn' in your xaml 'DataGrid.Columns'
 //  The column type is basically a factory for cells in that column, the 'GenerateElement' method
 //  forwards the binding on to each created cell. The binding can contain a converter that converts
 //  the row type into some other type that is used by the bindings in the 'DataTemplate'.
 static DataGridBoundTemplateColumn()
 {
     BindingProperty = Gui_.DPRegister <DataGridBoundTemplateColumn>(nameof(Binding));
 }