This question is locked. New answers and comments are not allowed.
I'm using ToolTip Control in the RadDataBoundListBox, and the Itemtemplate is as followed:
The problem is that the Binding didn't work. It's supposed that when the user tap the Grid, a ToolTip, containing the Name, Gender and Location info, will pop up. But it didn't perform correctly.
The Image and the last TextBolck work well, so it's not the Binding's fault.
<
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Grid
Margin
=
"6"
Height
=
"150"
HorizontalAlignment
=
"Left"
telerikPrimitives:RadToolTipService.Style
=
"{StaticResource HubStyle}"
telerikPrimitives:RadToolTipService.ShowGesture
=
"Tap"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"90"
/>
<
RowDefinition
Height
=
"40"
/>
</
Grid.RowDefinitions
>
<
telerikPrimitives:RadToolTipService.ToolTip
>
<
StackPanel
Width
=
"230"
Margin
=
"3, 0, 0, 0"
>
<
TextBlock
TextWrapping
=
"Wrap"
FontSize
=
"23"
Text
=
"{Binding Path=screen_name}"
>
</
TextBlock
>
<
TextBlock
TextWrapping
=
"Wrap"
FontSize
=
"23"
>
Gender: <
Run
Text
=
"{Binding gender}"
/>
</
TextBlock
>
<
TextBlock
TextWrapping
=
"Wrap"
FontSize
=
"23"
>
Location: <
Run
Text
=
"{Binding Path=location}"
/>
</
TextBlock
>
</
StackPanel
>
</
telerikPrimitives:RadToolTipService.ToolTip
>
<
Image
Height
=
"90"
Width
=
"90"
Source
=
"{Binding profile_image_url_large}"
>
<
Image.Clip
>
<
RectangleGeometry
Rect
=
"0,0,90,90"
RadiusX
=
"3"
RadiusY
=
"3"
/>
</
Image.Clip
>
</
Image
>
<
TextBlock
Text
=
"{Binding screen_name,Converter={StaticResource RecommandNameConverter},Mode=OneWay}"
Width
=
"90"
Grid.Row
=
"1"
Margin
=
"0,3"
Foreground
=
"{StaticResource Fanfou_Foreground}"
/>
</
Grid
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
The problem is that the Binding didn't work. It's supposed that when the user tap the Grid, a ToolTip, containing the Name, Gender and Location info, will pop up. But it didn't perform correctly.
The Image and the last TextBolck work well, so it's not the Binding's fault.