Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Support to apply the styles of SfPopupLayout such as BackgroundColor, HeaderBackgroundColor, HeaderTextColor and FooterBackgroundColor Properties, etc through implicit style applying concept in Xamarin.Forms.


[XAML]
<
ResourceDictionary>

   <Style TargetType="sfPopupLayout:PopupView">

     <Setter Property="BackgroundColor"> </Setter>

   </Style>

</ResourceDictionary>

[.CS]

ResourceDictionary  resource = new ResourceDictionary();

Style popupStyle = new Style(typeof(PopupView)) { ApplyToDerivedTypes = true };


 Setter background = new Setter { Property = PopupView.BackgroundColorProperty, Value = Color.Red };

App.Current.Resources.Add(resource);