Sunday 8 November 2020

Xamarin Forms Upper and Lower Case

Xamarin Forms 4.8 release has provided us some recent hidden features.

One of them is Text Transform feature.


Which has 4 properties :
1. Default
2. None
3. Upper Case
4. Lower Case.

Ex: 

 <StackLayout Spacing="20" VerticalOptions="CenterAndExpand">

     <Label HorizontalTextAlignment="Center" TextTransform="Lowercase" Text="This is Lower Case implementation of label" TextColor="Black"/>

     <Label HorizontalTextAlignment="Center" TextTransform="Uppercase" Text="This is Upper Case implementation of label" TextColor="Black"/>

    </StackLayout>


No comments:

Post a Comment

All About .NET MAUI

  What’s .NET MAUI? .NET MAUI (.NET Multi-platform App UI) is a framework for building modern, multi-platform, natively compiled iOS, Androi...

Ads2