Hello
I have a class that holds two other classes Like this
However I need to list a collection of Class c in a list where some columns shouldn't show, some should be readable only, some should have another Columnheader name than class property name. I figure I need to make a template class where I extend a gridview template class, however I am unable to find a tutorial on how to make such a template class
Any Information on this is appreciated.
----
Expected result
I am not exactly looking to change backgroundcolor or play music, but these are some of the things that are possible with a template
I have a class that holds two other classes Like this
public Class A{ Some properties From A some methods From A}public Class B{ some properties from B Some methods from A}public Class C{ public Aclass a; public Bclass b;}Any Information on this is appreciated.
----
Expected result
I am not exactly looking to change backgroundcolor or play music, but these are some of the things that are possible with a template
public Class Gridview
{
private void someMethod()
{
gridview.Template=new Templ;
}
private class templ : Template{
put this information from these classes into those columns
make some columns do thismake each four row have a button that play a songmake the background appear as something specific depending on teh information it has}
}