This question is locked. New answers and comments are not allowed.
I need some help in how to solve what I want to do.
I have a radJumpList that is working great with databinding and now I wanted to expand the details in the Group Headers through my current GroupHeaderTemplate that also is using databinding for one item.
This idea is that my list is grouped by Server names and I wanted to also include more details to provide more details in the list accordingly.
Working Header with a single binding:
Working Group Descriptor:
I want to to Bind multiple items in the header for greater displayed details but can not figure out how to do it.
I have a class that I'm passing in that has these items I want to display:
.Server, .ResponseTime, .ServiceCount
I should note that I only want to group on .Server. The others are only for extra details to display.
I try to modify the the template like this:
This does not work and I am pretty sure I need to do something with the GroupDescriptor but have no idea how I would need to modify it to accomplish what I need to do. I do not know lamba expressions very well and it was luck to get the one that is working.
If this able to be done, I would also like to know how I could modify the GroupPicker to display the same details.
Thanks
I have a radJumpList that is working great with databinding and now I wanted to expand the details in the Group Headers through my current GroupHeaderTemplate that also is using databinding for one item.
This idea is that my list is grouped by Server names and I wanted to also include more details to provide more details in the list accordingly.
Working Header with a single binding:
<
DataTemplate
x:Key
=
"GroupHeaderTemplate"
>
<
Grid
HorizontalAlignment
=
"Stretch"
Height
=
"48"
>
<
Grid.Background
>
<
LinearGradientBrush
StartPoint
=
"1,0"
EndPoint
=
"0.89,1"
>
<
GradientStop
Color
=
"Transparent"
Offset
=
"0.13"
/>
<
GradientStop
Color
=
"#0795B9"
Offset
=
"0.13"
/>
</
LinearGradientBrush
>
</
Grid.Background
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"{Binding}"
Grid.Column
=
"0"
VerticalAlignment
=
"Bottom"
FontSize
=
"{StaticResource PhoneFontSizeMedium}"
FontFamily
=
"{StaticResource PhoneFontFamilyLight}"
FontWeight
=
"SemiBold"
Margin
=
"6"
Foreground
=
"White"
/>
</
Grid
>
</
DataTemplate
>
Working Group Descriptor:
Dim
groupByServer
As
New
GenericGroupDescriptor(Of ServiceInfoSend,
String
)(
Function
(server) server.Server)
radJumpListServices.GroupDescriptors.Add(groupByServer)
I want to to Bind multiple items in the header for greater displayed details but can not figure out how to do it.
I have a class that I'm passing in that has these items I want to display:
.Server, .ResponseTime, .ServiceCount
I should note that I only want to group on .Server. The others are only for extra details to display.
I try to modify the the template like this:
<
DataTemplate
x:Key
=
"GroupHeaderTemplate"
>
<
Grid
HorizontalAlignment
=
"Stretch"
Height
=
"48"
>
<
Grid.Background
>
<
LinearGradientBrush
StartPoint
=
"1,0"
EndPoint
=
"0.89,1"
>
<
GradientStop
Color
=
"Transparent"
Offset
=
"0.13"
/>
<
GradientStop
Color
=
"#0795B9"
Offset
=
"0.13"
/>
</
LinearGradientBrush
>
</
Grid.Background
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
"{Binding Server}"
Grid.Column
=
"0"
VerticalAlignment
=
"Bottom"
FontSize
=
"{StaticResource PhoneFontSizeMedium}"
FontFamily
=
"{StaticResource PhoneFontFamilyLight}"
FontWeight
=
"SemiBold"
Margin
=
"6"
Foreground
=
"White"
/>
<
TextBlock
Text
=
"{Binding ResponseTime}"
Grid.Column
=
"1"
VerticalAlignment
=
"Bottom"
FontSize
=
"{StaticResource PhoneFontSizeMedium}"
FontFamily
=
"{StaticResource PhoneFontFamilyLight}"
FontWeight
=
"SemiBold"
Margin
=
"6"
Foreground
=
"White"
/>
<
TextBlock
Text
=
"{Binding ServiceCount}"
Grid.Column
=
"2"
VerticalAlignment
=
"Bottom"
FontSize
=
"{StaticResource PhoneFontSizeMedium}"
FontFamily
=
"{StaticResource PhoneFontFamilyLight}"
FontWeight
=
"SemiBold"
Margin
=
"6"
Foreground
=
"White"
/>
</
Grid
>
</
DataTemplate
>
This does not work and I am pretty sure I need to do something with the GroupDescriptor but have no idea how I would need to modify it to accomplish what I need to do. I do not know lamba expressions very well and it was luck to get the one that is working.
If this able to be done, I would also like to know how I could modify the GroupPicker to display the same details.
Thanks