Can someone tell me what dataviz is?

Change the layout of a Silverlight chart legend element

Can someone tell me that the component datavizis in the following code (from a related question)

<dataviz:Legend x:Name="Legend" Header="{TemplateBinding LegendTitle}" Style="{TemplateBinding LegendStyle}" Grid.Row="2"/>

I get the following error when I try to use it:

The type 'dataviz: Title' was not found. Make sure you don’t miss the assembly link and that all reference assemblies are assembled

+3
source share
1 answer

dataviz: was a common xml namespace alias used to display silverlight toolkit object names. This was for Silverlight 3 at a time when libraries could not define their own XML namespaces.

.NET. System.Windows.Controls.DataVisualization dataviz : -

xmlns:dataviz="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"

Silverlight 4 URL- .NET, : -

 xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"

xmlns , , , Xaml ( ). - , Silverlight 4 , , .

+7

Source: https://habr.com/ru/post/1790697/


All Articles