Using implicit styles with the xaml-sdk\Diagram\MVVM sample leads to strange behavior.
Specifically, nodes are not rendered with labels matching their content; instead the labels are type names (e.g. MVVM.Brand).
Edge labels are unchanged.
To reproduce:
1. File -> New Project
2. Choose Telerik Silverlight Application (e.g. TelerikSilverlightApp1)
3. Accept defaults (e.g. Host the Silverlight Application in a new web site)
4. Project configuration, check "Use Implicit Styles", check "Diagrams" and "Diagram.Extensions" in Telerik.Windows.Controls
5. Next, Next, Finish (default is ExpressionDark theme)
6. Delete MainPage.xaml and cs
7. Add existing item(s) from xaml-sdk\Diagram\MVVM
-Brand
-CarGraphSource
-Link
-MainPage.xaml/cs
-Model
8. Change App.xaml.cs to "this.RootVisual = new MVVM.MainPage();"
9. Run
To fix the behavior, follow the above steps but *do not use implicit styles*.
Implicit styles seem to fail regardless of whether "Copy xaml files to project" or "Add references to theme assemblies" is chosen.
Specifically, nodes are not rendered with labels matching their content; instead the labels are type names (e.g. MVVM.Brand).
Edge labels are unchanged.
To reproduce:
1. File -> New Project
2. Choose Telerik Silverlight Application (e.g. TelerikSilverlightApp1)
3. Accept defaults (e.g. Host the Silverlight Application in a new web site)
4. Project configuration, check "Use Implicit Styles", check "Diagrams" and "Diagram.Extensions" in Telerik.Windows.Controls
5. Next, Next, Finish (default is ExpressionDark theme)
6. Delete MainPage.xaml and cs
7. Add existing item(s) from xaml-sdk\Diagram\MVVM
-Brand
-CarGraphSource
-Link
-MainPage.xaml/cs
-Model
8. Change App.xaml.cs to "this.RootVisual = new MVVM.MainPage();"
9. Run
To fix the behavior, follow the above steps but *do not use implicit styles*.
Implicit styles seem to fail regardless of whether "Copy xaml files to project" or "Add references to theme assemblies" is chosen.