ERLEDIGT
NEIN
NEIN
ANTWORTEN
0
0
ZUGRIFFE
822
822
EMPFEHLEN
-
13.04.11 18:01 #1
- Registriert seit
- Oct 2003
- Beiträge
- 28
Hallo,
ich habe folgenden Problem
Ich habe eine normale CollectionViewSource
Code :1 2 3 4 5 6 7 8 9 10
<CollectionViewSource x:Key="AnträgeInBearbeitungGroups" Source="{Binding Path=AllAnträge}"> <CollectionViewSource.GroupDescriptions> <PropertyGroupDescription PropertyName="UserPLZ" /> </CollectionViewSource.GroupDescriptions> <CollectionViewSource.SortDescriptions> <!-- Sort descending by IsReturn so that the 'True' values appear first. --> <scm:SortDescription PropertyName="UserPLZ" Direction="Ascending"/> <scm:SortDescription PropertyName="AntragId" Direction="Ascending" /> </CollectionViewSource.SortDescriptions> </CollectionViewSource>
Jetzt werden sie auch ganz normal gegroupt und angezeigt.
Jetzt möchte ich aber, das in den Group Überschriften
Code :1 2 3 4 5 6 7 8 9
<GroupStyle x:Key="CustomerGroupStyle"> <GroupStyle.HeaderTemplate> <DataTemplate> <StackPanel> <TextBlock x:Name="txt1" Visibility="Visible" FontWeight="Bold" Foreground="White" Margin="1" Padding="4,2,0,2" Text="HIER SOLL ES STEHEN" Background="{StaticResource Brush_HeaderBackground}"/> </StackPanel> </DataTemplate> </GroupStyle.HeaderTemplate> </GroupStyle>
Soll der Wert stehen, nach dem gegroupt worden ist.
Wie referenziere ich auf diesen Wer.
Ich hoffe jemand kann mir da weiter helfen.
MFG
Ähnliche Themen
-
WPF/XAML Infos
Von DarkWizzard im Forum .NET WPF & SilverlightAntworten: 4Letzter Beitrag: 15.05.10, 19:39 -
3D Modelllierung für XAML
Von andralin im Forum Sonstige 3D-ProgrammeAntworten: 0Letzter Beitrag: 12.09.08, 14:29 -
Serverseitig XAML generieren
Von Basti8 im Forum .NET WPF & SilverlightAntworten: 1Letzter Beitrag: 06.05.08, 16:28 -
XAML mit Eclipse SWT
Von Thomas Darimont im Forum JavaAntworten: 1Letzter Beitrag: 14.10.07, 16:12 -
TreeViews und Xaml
Von Clipp3r im Forum .NET CaféAntworten: 3Letzter Beitrag: 27.03.07, 21:38





Zitieren
Login





