Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Border on Custom Control

$
0
0

Hi, I'm creating a custom panel which is derived from the Layout and it's children is added with a custom control derived from ContentControl (ContentView) in this case the content = label .

Public GridCell: ContentView
{
/**********/
public GridCell()
{
this.content = new Label();
}
/************/
}

The exact problem am facing is i need a border on the bottom and right of the Label (i.e the content of the ContentView) for which i don't see any options available by default in xamarin.forms.

I tried working on custom Renderer for iOS but got nothing , i knew there may be a way to achieve it can you people please guide me achieve it.

Thanks in advance
Dinesh


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>