Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
CalendarNavigateBackToolTip customized text
posted

Hello,

I'm trying to override the content of the resource string CalendarNavigateBackToolTip (Back) with localized content, I'm using the SetCustomizedString method, tried initially under Infragistics.Windows.Resources.Customizer.SetCustomizedString with no success, looking at other code I see that method is also available on DataPresenter

I'm wondering if it's possible to override this string and if so which library would I use to call SetCustomizedString (or similar method call)?

Parents
No Data
Reply
  • 34510
    Offline posted

    Hi tsmoreland,

    The XamSchedule is our shared control so it doesn't actually use SetCustomizedString like the datapresenter does.  Please see the following documentation: http://help.infragistics.com/doc/WPF/2014.2/CLR4.0/?page=Developers_Guide_Customizing_Resource_Strings.html

    The basic idea for how you replace resource strings in shared controls is to use the RegisterResources method.  For the schedule control that method would be on ScheduleControlBase.  You pass in the name of your custom resx file and the assembly where the resx file is located.  Inside your custom resx file would be the CalendarNavigateBackToolTip entry with the value you want associated with it.

    Let me know if you have any questions.

Children