We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can't set Intervals in xaml

Thread ID:





127112 Oct 26,2016 06:03 PM UTC Oct 28,2016 07:30 AM UTC WPF 3
Tags: SfDateTimeRangeNavigator
Alan L
Asked On October 26, 2016 06:03 PM UTC

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.

                    <chart:SfDateTimeRangeNavigator x:Name="RangeNavigator"
                                            Minimum="2015/5/18" Maximum="2015/5/18"
                                            ViewRangeStart="2015/5/18" ViewRangeEnd="2015/5/19"
                                            ShowGridLines="True" ShowToolTip="True"
                                            ItemsSource="{Binding StockPriceDetails}" XBindingPath="_Date" Height="179">

                            <chart:Interval IntervalType="Quarter"/>
                            <chart:Interval IntervalType="Month"/>


Santhiya Arulsamy [Syncfusion]
Replied On October 27, 2016 09:25 AM UTC

Hi Alan,

Thanks for contacting Syncfusion Support.

We are unable to reproduce the reported problem. We have prepared a sample based on requirement and it can be downloaded from below link,

Sample: SfRangeNavigator_127112

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.

Santhiya A

Alan L
Replied On October 27, 2016 02:59 PM UTC

The difference between our two solutions that make it work or fail...

My solution: (produces error)

Your solution: (good to go)

I have been experimenting a lot with examples from online and must have an unhappy mishmash of code.

Thank you,

Sheik Syed Abthaheer M [Syncfusion]
Replied On October 28, 2016 07:30 AM UTC

Hi Alan,

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.


M. Sheik



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon