Hi,
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.
Can someone guide?
Thanks,
Ashish
ashishkt said: 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.
ashishkt said:Also is resource washing better than customizing the controls in terms of memory usage and performance.
Hi Andrew,
Thanks a lot for the help. Please see the code below:
<ResourceDictionary.MergedDictionaries>
<igThemes:DataPresenterWashBaseLight /> <igThemes:ResourceWasher AutoWash="True" WashColor="LightBlue" WashMode="HueSaturationReplacement"> <igThemes:ResourceWasher.SourceDictionary> <igThemes:DataPresenterWashBaseLightBrushes /> </igThemes:ResourceWasher.SourceDictionary> </igThemes:ResourceWasher>
</ResourceDictionary.MergedDictionaries>
The above code I am using to change the look and feel of the datapresenter. Whatever color I am passing to the WashColor, it is changing the whole look and feel based on that.
My question is if I want to have the totally different color for different parts of the datagrid like its header color should be light blue and than row color should be white. Can this kind of requirement be achieved with Resource washing or I need to go with re-templating approach.