Search code examples
xamarinxamarin.formswin-phone-silverlight-8.1xamarin.winphone

Xamarin Forms WinPhone - How to make Label Text Underline WinPhone?


How can I make Label text Underline in WinPhone using Xamarin Forms ?


Solution

  • Try using following xaml;

    <StackLayout Orientation="Vertical">
        <Label Text="SomeText"/>
        <BoxView HeightRequest="1" HorizontalOptions="FillAndExpand" BackgroundColor="Black"/>
    </StackLayout>
    

    this should do it for all 3 platforms. :)