Expression > 포럼 홈 > Expression Blend + SketchFlow > External Resource Dictionaries
질문하기질문하기
 

답변됨External Resource Dictionaries

  • 2009년 6월 30일 화요일 오후 12:42David Rupp 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Hy all
    My problem is as follows:
    I built a resource dictionary with a lot of styleTemplates. This templates I compiled into a Class Library. I am used to work with Blend for its perfect support in this matter.

    What I want to to is to reference to an external dll (with all my style definitions) in the App.xaml by mergedDictionaries with the pack command. So far so good. Everything works fine, but now, when I am going to use the cool feature of blend (apply Resource) there are no styles to choose. When I look in the Resource Tab, there is my linked resource, but with doubleClick the exception "Unabel to find the specified file" occur.

    The curious thing is, when I hard code in XAML for example the Button Template={DynamicResource MyButtonTemplate} the Button appears in my defined style in the external DLL... :S

    Is blend not able to work in design time to apply resources by right Mousclick to (Edit Control Parts -> Apply Resource...) ?

    Thanks a lot for any answers...
    Greets dave

답변

모든 응답