Bug 43354 - Button IsEnabled binding is position dependent
Summary: Button IsEnabled binding is position dependent
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.3.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
: 58996 (view as bug list)
Depends on:
Reported: 2016-08-15 16:37 UTC by Sylvain Gravel
Modified: 2017-08-24 17:01 UTC (History)
4 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:


Description Sylvain Gravel 2016-08-15 16:37:47 UTC
If I set my Command binding after my IsEnabled binding, teh button will always start as enabled, regardless of binding value returned.

            <Button Margin="0, 40, 0, 0"
                    Text="{Binding TextProvider, Converter={StaticResource LanguageConverter}, ConverterParameter='Login'}"
                    TextColor="{StaticResource ContrastColor}"
                    Command="{Binding LoginToServerCommand}"
                    IsEnabled="{Binding HasCredentials}"/>

If you ivert last 2 lines, you will get the issue even if HasCredentials is false.
Comment 1 Samantha Houts [MSFT] 2016-09-12 18:29:53 UTC
Should be fixed in 2.3.3-pre1. Thank you!
Comment 2 Paul DiPietro [MSFT] 2017-08-24 17:01:14 UTC
*** Bug 58996 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.