Perhaps, your new derived class is defined in the namespace that is not referenced in XAML. Add clr-namespace directive to make your new control visible.
How to declared DataGrid with generic parameter in XAML
BitSmithy
2,141
Reputation points
Hello,
I want to extend DataGrid (from UWP Toolkit).
I tried in user class do such definition
public class MyDataGrid<T> : DataGrid
{
...
}
but it probably isnt the right way, because XAML doesnt see such extended DataGrid.
How to extends DataGrid, but extended class should have generic parameter <T>? Is it possible?