Hi,
I'm just wondering about how would I go about localizing this control? I am trying to localize the "Automatic" and "More Colors.." labels
Currently I'm trying to get to these properties for the control by:
PopupColorPickerTool colorPicker = (PopupColorPickerTool)ultraToolbarsManager.Ribbon.Tabs["tabHome"].Groups["grpHomeFormat"].Tools["cmdHomeFormatFontColorPicker"];
..but I'm unsure on what to do further. (I have localized PopupGalleryTools in a similar manner)
Any advice?
Thank you! :):)
Here's a code snippet that demonstrates how to set the text for those two labels in the PopupColorPickerTool so you can localize content.
Infragistics.Shared.ResourceCustomizer rc; rc = Infragistics.Win.Resources.Customizer; rc.SetCustomizedString("LDR_CustomColorBoxUIElement_Automatic", "Automatic"); rc.SetCustomizedString("LDR_CustomColorBoxUIElement_MoreColors", "More Colors...");
Documentation:
By the way.. this is what I mean