I have 2 views transalateTo one above the other and i made opacity 0 to the front view and i can see the behind view but i did not able to change and do action on the behind view.
Event though you set the front view's Opacity to 0, it still exists there. What you have done just makes it transparent, so that user can't see it on the screen.
If you don't want it to be interacted, you need to use the IsVisible property. When you need to hide the front view, set it to false.
@Chetan333 said:
I have 2 views transalateTo one above the other and i made opacity 0 to the front view and i can see the behind view but i did not able to change and do action on the behind view.
Answers
Event though you set the front view's
Opacity
to 0, it still exists there. What you have done just makes it transparent, so that user can't see it on the screen.If you don't want it to be interacted, you need to use the
IsVisible
property. When you need to hide the front view, set it to false.@Chetan333 Hi, did this solve your issues?
Check out the InputTransparent property. See https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.visualelement.inputtransparent?view=xamarin-forms
Also, consider RaiseChild. See https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.layout.raisechild?view=xamarin-forms