Forum Xamarin Xamarin.Forms

IsVisible Binding

Hi,

Given that my page contains 1 switch and many fields. When the switch is on, some fields are invisible. I do a binding for IsVisible but not working.

Have you ever got the same problem?

Tagged:

Answers

  • seanydaseanyda GBMember ✭✭✭✭✭

    Nope, Show us how you're doing the binding and we can tell you where you've gone wrong.

  • AlmaJensen.9398AlmaJensen.9398 USMember ✭✭✭

    I've successfully bound IsVisible. IsVisible={Binding VisibleBool} is how you'd normally set it in xaml. In your view model there are a few different ways of setting up the INotifiyPropertyChanged. I personally use Fody Property Changed.

    Yeah without actually seeing some code it's hard to do anything more than just speculate.

Sign In or Register to comment.