This question is locked. New answers and comments are not allowed.
Hi all,
Can anyone explain how to access or get names of children inside DataBoundListBox..in this case names of TextBlock-s?!
Xaml is as follows.
One more question though it's not related to this but anyways it has to do with DataBoundListBox....
Check out here VirtualizingDataCollection When i debug i see that (startIndex=0) is always zero.Does it mean that it should be always zero?!
Thanks to all,
Regards
Can anyone explain how to access or get names of children inside DataBoundListBox..in this case names of TextBlock-s?!
Xaml is as follows.
One more question though it's not related to this but anyways it has to do with DataBoundListBox....
Check out here VirtualizingDataCollection When i debug i see that (startIndex=0) is always zero.Does it mean that it should be always zero?!
Thanks to all,
Regards
<
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>
<
DataTemplate
>
<
Border
Background
=
"#FFE5FFCB"
BorderThickness
=
"0.7"
BorderBrush
=
"#FFD5E2D0"
>
<
StackPanel
Name
=
"mystack"
Width
=
"480"
>
<!--<Border Background="#B4B900AF">-->
<
TextBlock
Name
=
"txtName"
VerticalAlignment
=
"Stretch"
FontSize
=
"34"
FontFamily
=
"Fonts/customFont.ttf#customFont"
TextAlignment
=
"Left"
TextWrapping
=
"Wrap"
Text="{Binding
Path
=
FirstName
}"
Foreground
=
"#FF25334B"
Visibility
=
"Visible"
HorizontalAlignment
=
"Right"
Margin
=
"8,1,12,0"
FontWeight
=
"ExtraBold"
FontStretch
=
"UltraCondensed"
/>
<!--</Border>-->
<!--<Border Background="#FF20BAE2">-->
<
TextBlock
Name
=
"txtLastName"
FontSize
=
"28"
TextWrapping
=
"Wrap"
Foreground
=
"#FF532372"
Text
=
"{Binding Path=LastName}"
FontStretch
=
"Condensed"
FontFamily
=
"Portable User Interface"
Margin
=
"8,1,8,0"
HorizontalAlignment
=
"Left"
UseLayoutRounding
=
"False"
/>
<!--</Border>-->
</
StackPanel
>
</
Border
>
</
DataTemplate
>
</
telerikPrimitives:RadDataBoundListBox.ItemTemplate
>