I am trying to create a table LineSeriesthat has objects DateTimeon its independent axis and integer values in the dependent axis. I want to show a tooltip text whenever the user closes their mouse on DataPoint, showing both their independent and dependent values, but I need to format the object DateTimeto display the formatting that I would like.
I found this example that uses the property ContentStringFormatfor ContentControl, but after some digging, I found out that this property is not available in Silverlight, only in WPF. So I found another example that uses a converter, but I can’t put the definition of the converter in ResourseDictionary, as I can, on UserControl, since a ResourceDictionarydoes not have the property Resources..: (
I don’t know if I explained correctly, but my question is: is it possible to supply a type converter for a static resource in Silverlight?
EDIT - XAML
source
share