Hi,
Please find attached a simple project demonstrating strange behaviour with setting the "Generic" theme.
We have a base class that inherits from XamDataGrid. In here I set the active theme in code and to keep it simple, bind to sample data for this demo. I then use a copy of this new control within a window.
As you can see, the height of all the rows has become squashed, meaning you can't even see the headers.
I found that if I also set Theme="Generic" in the window in which my derived control is situated, all works ok.
I don't want to have to specify the theme on every instance of my control being used, I just want to set it in the base class so any changes here would apply globally.
Regards,
Dave
Hi Tammy,
Yes, this issue was fixed back on 5th Nov '09...
Issue "22990: Incorrect DataRecordPresenter height when setting the theme in the Initialized event" has been addressed in service release versions 10.1.20101.17, 9.2.20092.2012, 9.1.20091.2131.
Was this issue ever resolved?
Thanks Alex, much appreciated.
Dave,
I am creating a case on your behalf for this issue.
I would consult myself with the development team to double check this behavior. I will update the thread when I have more information on this and will open a support case for you if this is an issue.