I'm using Expression Blend designer for UI work and I'm having hard time to get it working with v11.2. Basically the XamNumericRangeSlider works fine but it doesn't like when I add Thumbs and/or TickMarks in XAML.
So if I try to use something like this:
<ig:XamNumericRangeSlider IsSelectionRangeEnabled="True" MinValue="-10" MaxValue="10"> <ig:XamSliderNumericThumb InteractionMode="Lock" Value="-5" /> <ig:XamSliderNumericThumb InteractionMode="Push" Value="0" /> <ig:XamSliderNumericThumb InteractionMode="Push" Value="4" /> <ig:XamSliderNumericThumb InteractionMode="Lock" Value="8" /> <ig:XamNumericRangeSlider.TickMarks> <ig:SliderTickMarks TickMarksFrequency="5" UseFrequency="True" /> </ig:XamNumericRangeSlider.TickMarks> </ig:XamNumericRangeSlider>
This doesn't work and the designer says "Cannot add content to an object of type "XamNumericRangeSlider" and from the TickMarks the error is "The member "TickMarks" is not recoqnized or is not accessible."
I think I've seen you using the previous markup in your samples and it works fine during runtime. It's just the designer that breaks. Should I add some references or XAML namespaces? the ig is mapped to xmlns:ig="http://schemas.infragistics.com/xaml"
Am I trying to use it incorrectly? How could I get it working? It would make my life a lot easier to be able to work with the Blend Designer.
Hi anttisimonen,
I will spent some time investigating your problem today and will let you know sooner what you can do to resolve your issues! I have also read the other forum post that you have written about XamNumericRangeSlider and Thumbs and will let you know also about it!
Regards,
Nikola.
Sounds great, thank you. Will wait for your answer then...
My Blend version is 4.0.30816.0 but I doubt it's because of that. Things can't have changed that much between our versions. I can try few things to see if they help. This is not so big of a problem since I can work with it in code view and the designer works in Visual Studio so maybe it's just something in my environment. Thanks for the help.
I have tried to reproduce your problem but without any success. All SliderTickMarks were added withouth any warning or errors. What version of blend are you using? Is that problem occuring all the time or it is just one time experience? I have tested that with the RTM build of 11.2 version of Silverlight product and with version 4.0.20525.0 of Blend 4.