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

Xamarin.Forms 1.3 Behavior.BindingContext is null

$
0
0

Hi all!

I have this XAML:

        <Entry Keyboard="Numeric" Text="{Binding Pin, Mode=TwoWay}" IsVisible="{Binding ShowLogin}">
          <Entry.Behaviors>
            <controls:FocusBehavior Focused="{Binding PinFocused, Mode=TwoWay}" />
          </Entry.Behaviors>
        </Entry>

Problem is that Entry has BindingContext and FocusBehavior has no BindingContext or InheritedBindingContext. Why? Should I set BindingContext manually? Why?
Thank you!


Viewing all articles
Browse latest Browse all 58056

Trending Articles