Hello fellow Xamarin Forms users,
I already found out that borders on a label are not supported out of the box by Xamarin Froms. So after some searching is still have no clue how to make it possible. Is it possible to add a border using the custom renderer? If so does someone have an example? and if not does someone have any other out of the box idea to make this possible.
Thank you in advance
You can add a Label
within Frame
element, and setup OutlineColor
for Frame
:
<Frame OutlineColor="Black">
<Label Text="My Label With Frame" />
</Frame>
If you want to use custom renderer, you should implement custom renderer for each platform you want to support (i.e. Android, iOS, UWP, WinPhone)