pas trouvé : clr-namespace:System.Windows.Data ; assembly=System.ComponentModel"
Bonjour à tous,
Je débute en Silverlight 3 et je n'arrive pas à avoir accès au groupement des valeurs dans un DataGrid via GroupDescriptions.
En fait il ne reconnait pas l'assembly (voir en rouge plus bas).
Et en effet dans mes références (via l'intellicence) cet assembly n'apparait pas.
Si je le copie tel quel il se souligne en bleu signalant qu'il n'est pas trouvé.
Est-ce bien à cette emplacement que doit se trouver cette DLL : C:\Program Files\Microsoft SDKs\Silverlight\v3.0\Libraries\Client
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| <navigation: Page x:Class="SilverlightApplication32.AboutPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns: x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:navigation="clr-amespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
xmlns:cm="clr-namespace:System.Windows.Data;assembly=System.ComponentModel"
Title="AboutPage Page">
<Grid x: Name="LayoutRoot" Background="White">
<StackPanel>
<TextBlock Text="Detail" Style="{StaticResource HeaderTextStyle}"/>
<TextBlock Text="Detail list of members with gender." Style="{StaticResource ContentTextStyle}"/>
<data: DataGrid ItemsSource="{Binding}">
<data: DataGrid.GroupDescriptions>
<cm: PropertyGroupDescription PropertyName="Gender" />
</data: DataGrid.GroupDescriptions>
</data: DataGrid>
</StackPanel>
</Grid>
</navigation: Page> |
Merci pour votre aide :P