0

I have a picker on my Xamarin mac app, I want to change the background color and the border color (blue), How can I do that?

enter image description here

Picker picker1 = new Picker { Items = { translateExt.transltR("Option1"), "Option2", "Option3" }, SelectedIndex = outputMode, WidthRequest = 210, TextColor = Color.FromHex(fileManagerPlatform.getColorText()), VerticalOptions = LayoutOptions.CenterAndExpand};
picker1.BackgroundColor = Color.Transparent;

The previous code works on Android, iOs, UWP to change the background color, but not on Mac.

Led Machine
  • 7,122
  • 3
  • 47
  • 49

0 Answers0