Hi,
I need to change the background color of xamRibbon's tab panel area. I have refered the style written for xamRibbon in RibbonGeneric.xaml file however not finding the place where I can change the background color.
Can anyone please guide me on this.
Thanks in advance.
Thanks,
Ashish
Hello Ashish,
Thank you for your post. I have been looking through it and I suggest you retemplate the style for xamTabControl. You can find it in the DefaultStyles folder which is installed by default here: C:\Program Files (x86)\Infragistics\NetAdvantage 2010.3\WPF\DefaultStyles and in it you can use: \Ribbon\RibbonGeneric.xaml file to copy the style. In it you can change the Background Property of a Border named “innerContentBorder” to achieve your goal.
If you have any further questions on this matter do not hesitate to ask.
Hi Stefan,
Thanks for the help however changing background color of innerContentBorder is not changing the backgrounnd of xamRibbon tab panel area. I dont know why. I am attaching image of exactly what is the requirement
The requirement that you want can be easily achieved using ResourceWasher. You can see sample in our xamFeatureBrowser - in ribbon's "Live ResourceWashing" sample.
All you have to do is to copy/paste this snippet in your project's App.xaml file:
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<igThemes:RibbonOffice2k7Black />
<igThemes:ResourceWasher AutoWash="True" WashMode="HueSaturationReplacement" >
<igThemes:ResourceWasher.SourceDictionary>
<igThemes:RibbonOffice2k7BlackBrushes />
</igThemes:ResourceWasher.SourceDictionary>
<igThemes:ResourceWasher.WashGroups>
<igThemes:WashGroupCollection>
<igThemes:WashGroup Name="HeaderPanel" WashColor="#FFCCA833"/>
</igThemes:WashGroupCollection>
</igThemes:ResourceWasher.WashGroups>
</igThemes:ResourceWasher>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
Hope this helps you.
Regards,
Anastas
Hi Anastas,
Can you please let me know how we can install the trial version of xamFeatureBrowser.I first installed NetAdvantage_20111_PlatformInstaller than run the exe NetAdvantage_Ultimate_20111.exe inside it. It installed NetAdvantage 2011.1 in the directory C:\Program Files\Infragistics however inside NetAdvantage 2011.1 folder i can't find anything which I can run as desktop application to have a look over xamFeatureBrowser.
Can you please guide.
Hi Ashish,
You have to choose the circle button "Samples" next to WPF button. After installing - shortcut should be added in StartMenu. Just click on in it and xamFeatureBrowser will start. The installing path of samples is "C:\Users\Public\Documents\Infragistics\NetAdvantage 2011.1\WPF\" - if "All Users" radio button is checked.
I have a question regarding styling of Infragistics controls. I think we can achieve styling by resource washing and also by customizing the templte from the default styles.
However i think that through resource washing we can only style the control up to some level but in case of re-templating we have full control over the look and feel and behavior of the controls.
My question is can resource washing technique is able to change the fundamental properties of the control or this only can give a new color to controls.
Also is resource washing better than customizing the controls in terms of memory usage and performance.
Please guide.
Thanks Anastas.