We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Button IsEnabled="{c:Binding '(IsBusy.Value || IsLoggedIn.Value) ? 0 : 1'}"/>
You want to set "IsBusy.Value or IsLoggedIn.Value is false if it is true, and true if it is false" to IsEnabled of Button.
IsBusy and IsLoggedIn are ReactiveProperty and debugging has confirmed that the values are set properly.
They seem to work as long as they have a single value, as shown in the following syntax
<Button IsEnabled="{c:Binding '!IsBusy.Value"/> or <Button IsEnabled="{c:Binding '(IsBusy.Value) ? 0 : 1'}"/>
<Button IsEnabled="{c:Binding '!IsBusy.Value"/>
<Button IsEnabled="{c:Binding '(IsBusy.Value) ? 0 : 1'}"/>
The text was updated successfully, but these errors were encountered:
Try this :
<Button IsEnabled="{c:Binding '(IsBusy.Value == 0 || IsLoggedIn.Value == 0) ? 0 : 1'}"/>
Sorry, something went wrong.
No branches or pull requests
<Button IsEnabled="{c:Binding '(IsBusy.Value || IsLoggedIn.Value) ? 0 : 1'}"/>
You want to set "IsBusy.Value or IsLoggedIn.Value is false if it is true, and true if it is false" to IsEnabled of Button.
IsBusy and IsLoggedIn are ReactiveProperty and debugging has confirmed that the values are set properly.
They seem to work as long as they have a single value, as shown in the following syntax
<Button IsEnabled="{c:Binding '!IsBusy.Value"/>
or
<Button IsEnabled="{c:Binding '(IsBusy.Value) ? 0 : 1'}"/>
The text was updated successfully, but these errors were encountered: