Forum Xamarin.Forms

TNativeElement for StackLayout on Windows Phone?

nguoinguoi USMember

I write a custom view which contains a image and a entry. The view is is a subclass of StackLayout. I want it has a rounded corner, so I write a custom renderer for it. My custom renderer is a subclass of ViewRenderer<TView, TNavitveView>.
On Android, I use LinearLayout as TNavitveView and it works very well. But on Windows Phone, I don't know the correspond control (to use as TNativeElement). Can anyone give me a suggestion? Thank you.

Sign In or Register to comment.