因此,使用此代码,我的图像在文本上,如何在文本前面获取图像?
<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>
答案 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>