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
30
Referencing WPFToolkit and System.Windows.Controls.Input.Toolkit
posted

Hi,

I've copied the RoyalLight theme files into my own theme directory in my project solution with the intent to edit theme for our custom theme, but there are several xmlns items and I'm not sure how/where to reference from. 

xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
xmlns:inputToolkitPrimitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Input.Toolkit"
xmlns:layoutToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
xmlns:layoutToolkitPrimitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Layout.Toolkit"
xmlns:vsm="clr-namespace:System.Windows;assembly=WPFToolkit"

The specific error (as an example) for 

<Style x:Key="RatingItemStyle" TargetType="{x:Type inputToolkit:RatingItem}">

is 


Error XDG0008 The name "RatingItem" does not exist in the namespace "clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit". [Redacted].MSControls.Toolkit.Implicit.xaml 46

Parents Reply Children
No Data