I`m usinglistViewTemplateCell with vertical stack layout contains image and label. Once I`m changing the device orientation cell changing orientation too and cutting the image and label is disappearing.
here is the code:
<
telerik:RadListView.ItemTemplate
>
<
DataTemplate
>
<
listView:ListViewTemplateCell
>
<
listView:ListViewTemplateCell.View
>
<
StackLayout
Padding
=
"10"
Orientation
=
"Vertical"
>
<
Image
Aspect
=
"AspectFit"
VerticalOptions
=
"Start"
HorizontalOptions
=
"Center"
Source
=
"{Binding ImagePath, Converter={StaticResource imageConverter}}"
/>
<
Label
Text
=
"{Binding ItemName}"
HorizontalOptions
=
"Center"
VerticalOptions
=
"EndAndExpand"
FontAttributes
=
"Bold"
/>
</
StackLayout
>
</
listView:ListViewTemplateCell.View
>
</
listView:ListViewTemplateCell
>
</
DataTemplate
>
</
telerik:RadListView.ItemTemplate
>
and here is the screenshots how the screens look
https://i.gyazo.com/babda11a4a72d23ed101af18123e7f7b.png Vertical
https://i.gyazo.com/e6f25b23b9393cb3544bb18ca0308c3e.png Horizontal
Thanks in advance for any help.