Trying to set intervals in xaml but am getting the error "Only public or internal classes can be used within markup. 'Interval' type is not public or internal.". Am I missing something? - pulled implementation from an example.
If you are able to reproduce the reported problem, please revert us by modifying the sample. It would be helpful for us to sever you better.
Thanks, Santhiya A
ALAlan LOctober 27, 2016 02:59 PM UTC
The difference between our two solutions that make it work or fail...
My solution: (produces error) xmlns:chart="http://schemas.syncfusion.com/wpf"
Your solution: (good to go) xmlns:chart="clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.WPF"
I have been experimenting a lot with examples from online and must have an unhappy mishmash of code.
Thank you, Alan
SSSheik Syed Abthaheer M Syncfusion Team October 28, 2016 07:30 AM UTC
Sorry for the inconvenience caused.
Most Syncfusion WPF controls( SfChart,SfDataGrid,SfDateTimeRangeNavigator etc. ) namespace are included in single http://schemas.syncfusion.com/wpf schemas and we can access those controls from this namespace. In order to access SfDateTimeRangeNavigator control, we can use either “clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.WPF" or “http://schemas.syncfusion.com/wpf”.
In updated sample, we are unable to reproduce the issue in both namespace at our end. Also please refer the below UG documents for creating the SfDateTimeRangeNavigator control sample.