前面的图像文字?

时间:2017-08-21 11:19:20

标签: c# image xaml listview xamarin

因此,使用此代码,我的图像在文本上,如何在文本前面获取图像?

<StackLayout Orientation="Vertical" BackgroundColor="DeepSkyBlue" >
    <Image Source="{Binding Image}" />
    <Label Text="{Binding Name}" TextColor="Black" FontSize="Medium" />
    <Label Text="{Binding Tlfnr}" TextColor="Black" FontSize="Small"  />
</StackLayout>

1 个答案:

答案 0 :(得分:0)

<StackLayout Orientation="Horizontal" BackgroundColor="DeepSkyBlue" >
    <Image Source="{Binding Image}" />
    <StackLayout Orientation="Vertical">
        <Label Text="{Binding Name}" TextColor="Black" FontSize="Medium" />
        <Label Text="{Binding Tlfnr}" TextColor="Black" FontSize="Small"  />
    </StackLayout>
</StackLayout>