Xaml ResourceDictionary

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ThoraD

    Xaml ResourceDictionary

    I have made a Xaml ResourceDiction ary dll using the UserControl template.

    I can access the ResourceDiction ary in code
    ResourceDiction ary resD = new ResourceDiction ary();

    resD.Source = new Uri("RedClassLi b;component/Red.Xaml", UriKind.Relativ e);

    When I try to use the ResourceDiction ary in Xaml (same program)

    xmlns:MyRed="cl r-namespace:RedCl assLib;assembly =RedClassLib"

    <MyRed:UserCont rol1></MyRed:UserContr ol1>

    <ResourceDictio nary Source="????"

    I get missing file (the file is where it is looking for it) or missing
    reference

    What is the syntax ? Ihave tried everything I can think of.

    TIA

    ThoraD




Working...