Has anyone tried to use XamNumericSlider in the VS 2015 Update 1 RC designer?
I get an error:
InvalidOperationException: Can only base on a Style with target type that is base type 'XamNumericSlider'.
I'm incorporating this style:
Office2010Blue.xamSlider.xaml
X:\Program Files (x86)\Infragistics\2015.2\WPF\Themes\Office2010Blue
My example is below
<IgSliders:XamNumericSlider
xmlns:IgSliders="http://schemas.infragistics.com/xaml"
Orientation="Vertical"
TrackFillBrush="Transparent"
Width="120"
Height="500"
FontWeight="Bold"
VerticalAlignment="Center"
MinValue="-11"
MaxValue="12"
Value="{Binding HoursOffset, Mode=TwoWay}"
Grid.Column="0"
Grid.RowSpan="1" />
I should note that this seems to only affect the designer. The app itself has no problems related to the slider.
There may be a regression in the Visual Studio designer. I had no problems before I upgraded to update 1. Although I also updated to IG15.2 at the same time so I couldn't be sure where things went wrong.
Anyhow, I found that I can use the new "disable project code" button in the palette below the XAML designer and that makes the designer error go away. (Although the slider now is replaced by a simple place-holder).
In my investigation, I found the following on CONNECT. Maybe all the WPF control vendors are running into the same issue now that update 1 is released?
https://connect.microsoft.com/VisualStudio/Feedback/Details/2005303
It turned out that my initial testing was wrong and the error in the designer is reproducible even if the Update 1 RC. This has been logged in our tracking system with ID 211009 and the following case was created for you: CAS-167047-Y1B3T2. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
Hello,
the development issue 211009 has been closed as not reproducible with VS 2015 Update 2. So the initial issue should have been more in the VS 2015 Update 1 RC since it is no longer reproducible.
You could check if the designer error is fixed in your end.