I need to apply an effect that simulates movement in a toolbar item. I tried to add an effect but the effect never runs
Finally I used PageRenderer for add effect to page toolbar item. With NavigationRenderer I set style to navigation's bar but was more difficult add effect to a determinate toolbar item.
Thanks for answering.
We can't use effect on ToolbarItems the OnAttached event will not be called: https://github.com/xamarin/Xamarin.Forms/issues/5337
If you want to change the navigation bar's style on each platform you can consume custom renderer.
[assembly: ExportRenderer(typeof(NavigationPage), typeof(CustomNavigationRenderer))]
public class CustomNavigationRenderer : NavigationRenderer
public override void ViewDidLoad()
this.NavigationBar.TintColor = UIColor.Red;
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies