Border Color for Editor in Xamarin.Forms

前端 未结 8 956
[愿得一人]
[愿得一人] 2020-12-29 05:06

How can i make a border color for Editor in Xamarin.Forms?

I used this link, but it works only for Android. I want it to work in all platforms!

I\'m a little

8条回答
  •  天涯浪人
    2020-12-29 05:38

    You may also archieve this by wrapping your Editor with a StackLayout with BackgroundColor="your color" and Padding="1" and set the BackgroundColor of your Editor to the same color of the form.

    Something like this:

    
          
              
          
      ...
    
    

    Not that fancy, but this will at least get you a border!

提交回复
热议问题