Gente, bom dia.
Tenho o seguinte xaml:
<DataTemplate>
<ViewCell>
<ViewCell.View>
<StackLayout Orientation="Vertical" VerticalOptions="FillAndExpand">
<StackLayout Orientation="Horizontal" VerticalOptions="FillAndExpand">
<Label Text="{Binding EnderecoImovelCompleto}" VerticalOptions="FillAndExpand"></Label>
</StackLayout>
<StackLayout Orientation="Horizontal">
<StackLayout Orientation="Horizontal" HorizontalOptions="Start">
<Label Text="Compradores: 10"></Label>
</StackLayout>
<StackLayout Orientation="Horizontal" HorizontalOptions="End">
<Label Text="{Binding QtdCinetesFormatado}"></Label>
</StackLayout>
</StackLayout>
</StackLayout>
</ViewCell.View>
</ViewCell>
</DataTemplate>
o Label "QtdCinetesFormatado" que está formatado no StackLayout como End aparece alinhado a esquerda. Alguém poderia me ajudar a alinhar este label à direita?
Após pesquisa resolvi da seguinte forma:
<StackLayout Orientation="Horizontal">
<StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand">
<StackLayout HorizontalOptions="FillAndExpand" Orientation="Horizontal">
<Label Text="{Binding QtdCompradoresFormatado}" HorizontalTextAlignment="Start"></Label>
</StackLayout>
<StackLayout HorizontalOptions="EndAndExpand" Orientation="Horizontal">
<Label Text="{Binding QtdCinetesFormatado}" HorizontalTextAlignment="End"></Label>
</StackLayout>
</StackLayout>