Hi ,
Can anyone give a sample code for applying custom themes /styles for the Xamdata grid?
Thanks in advance ..
Thanks a lot !!!
Keerthanaa
Hello Keerthanaa,
Here it is explained how to add Content to the ContentPanes:
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/xamDockManager_Add_Content_to_a_ContentPane.html
thanks a lot Stefan ..It works fyn :) ... I have got another doubt
How do you load a user control/ a "xaml" page into the pane of a XamDock manger?
Thank You ,
The definition of the DataPresenterResourceSet should be DataPresenterResourceSet<Locator>. I have logged this with development under ID: 118181 and I have also created a support ticket on your behalf: CAS-97185-ZDHBRY and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://es.infragistics.com/Membership/MySupport.aspx
I also attached a sample project, where I followed all the steps and everything works as expected on my side, when I change the definition of the mentioned class.
Hi Stefan,
Thanks for helping me out. I went through the Online Documentation for creating a theme Pack and did the 5 steps explained there. But i get err on the 2nd step where we need to inherit the ResourceSet. The err says "DataPresenter.Locator" doesn't exist . I have added all references as mentioned there.I have given the snippet for reference.
public class DataPresenter : DataPresenterResourceSet<DataPresenter.Locator> { private static DataPresenter g_Instance; public static DataPresenter Instance { get { if (g_Instance == null) g_Instance = new DataPresenter(); return g_Instance; } } } public class Locator : ResourceSetLocator { public override Assembly Assembly { get { return this.GetType().Assembly; } } public override string Theme { get { return "OrangePeel"; } } public override string Grouping { get { return DataPresenterGeneric.Instance.Grouping; } } public override string ResourcePath { get { return @"ResourceSets\DataPresenter\DataPresenter.xaml"; } } }