Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

how to "!" in a binding in xaml

$
0
0

i.e.

`

    <Button Clicked="OnLoginClicked" 
        Image="Images/Login/loginWithFacebookButton.png" 
        IsEnabled="{!(Binding IsLoggingIn)}"  <<<<<<< this is the bit that I don't know how to do.

`

Do I just have to add a waiting variable too? (hope not).

Clicked answer on the wrong one!! - this is my preferred answer:

<Button Clicked="OnLoginClicked" 
            Image="Images/Login/loginWithFacebookButton.png" 
            IsEnabled="{!(Binding IsLoggingIn.Equals(false))}"

Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>