Hi guys,
I got a couple of infragistics controls in my app and I'd like to apply the blue theme from xaml (maybe the app.xaml if possible) How do I do that?
Thanks,
Stevo
Hello Stevo,
from the code snippet that you posted , the error that you are seeing might be because you are not having reference to XamDialogWindow control. If you want to style particular control you could manualy add the theme for that control or you could comment out those controls that are not used in the Office2010Blue.SL.LOB.xaml file .
HTH,
regards Nikola
Thanks Nikolay,
after copying all the themes into a directory in my solution and referencing the LOB one:
<ResourceDictionary Source="Themes/Office2010Blue.SL.LOB.xaml" />
I get this error (and many more regarding the xaml theme files)
Error 78 The property 'ToBounds' does not exist on the type 'Grid' in the XML namespace 'http://schemas.infragistics.com/xaml'. ...\Themes\Office2010Blue.xamDialogWindow.xaml 817 79
Am I missing something?
Hi, Stevo,
There is a theme resource file: Office2010Blue.SL.LOB.xaml that references all controls themes in one resource file.
Svetla
Hi,
You can find samples and description of how to apply the Office 2010 Blue theme in this article:
http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_Office_2010_Theme.html
HTH