Hi,
i just started to play with carousel and found some problems ;) In carousel each item got 1 textbox so user can write some notes, and i cant make two things:
1. How can i change selected item when user clicks on textbox in another item (not currently selected) it work only when user click on border
2. How can i focus on textbox when user change item via scroll or border click or anything, so basicly when selecteditem is changed than focus on selecteditems textbox
This is mine itemTemplate
i just started to play with carousel and found some problems ;) In carousel each item got 1 textbox so user can write some notes, and i cant make two things:
1. How can i change selected item when user clicks on textbox in another item (not currently selected) it work only when user click on border
2. How can i focus on textbox when user change item via scroll or border click or anything, so basicly when selecteditem is changed than focus on selecteditems textbox
This is mine itemTemplate
<
DataTemplate
x:Key
=
"ItemTemplate"
>
<
Grid
Width
=
"350"
Height
=
"450"
>
<
Grid.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFFFEA0"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFFFE6A"
Offset
=
"0.567"
/>
</
LinearGradientBrush
>
</
Grid.Background
>
<
TextBox
Grid.Row
=
"1"
Text
=
"{Binding Path=Content,Mode=TwoWay}"
Background
=
"Transparent"
/>
</
Grid
>
</
DataTemplate
>