I have static data that I want to display in Datagrid format. The values are for display purposes only and will not change. Can it be added as some kind of subtag of the Dat
You can do static data in XAML, yes, but you will need to create a simple class for the record format. For example, you could create this class file:
namespace TestNamespace
{
public class MockRecord
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
}
}
Now in your XAML DataGrid you can do this: