Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2150
XamNumericSlider designer error message
posted

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" />

Parents
  • 2150
    Offline posted

    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

Reply Children
No Data