0

I'm trying to use the WinRT Toolkit for wp 8.1 in my project. I installed the package from nuget and have written this snippet in the main grid.The Emulator works just fine. but The XAML Designer is not loading the control, what do I need to do?

<faysal:CascadingTextBlock 
        HorizontalAlignment="Center"
        VerticalAlignment="Center"
        Text="fafdsda"
        FontSize="35"
        />

XAML designer shows this!

the namespace in the xaml is like below

xmlns:faysal="using:WinRTXamlToolkit.Controls"
Munna
  • 109
  • 2
  • 12

2 Answers2

0

To install WinRT XAML Toolkit - Data Visualization Controls, run the following command in the Package Manager Console Install-Package WinRTXamlToolkit.Controls.DataVisualization then xmlns:faysal="using:WinRTXamlToolkit.Controls"

MrEko
  • 89
  • 1
  • 9
0

WinRT XAML Toolkit doesn't have good support for design view unfortunately. CascadingTextBlock is one of the controls that simply doesn't show up in the designer.

Filip Skakun
  • 31,624
  • 6
  • 74
  • 100
  • Just a note though - while design view isn't supported explicitly - you can use the visual tree debugger to see how your property adjustments affect the UI in the actually running application. This is actually more reliable than the design view. You'd want to NuGet-install WinRTXamlToolkit.Debugging.Windows and call WinRTXamlToolkit.Debugging.DC.ShowVisualTree(this); in your page to invoke it and then press Ctrl+Shift to select a control and adjust the parameters in the properties pane. – Filip Skakun Feb 20 '15 at 02:20
  • Thanks again, i'd definitely use it for my projects. – Munna Feb 20 '15 at 15:08