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

Binding IsEnabled on Entry not working

$
0
0

I'm experiencing a strange behavior when binding the IsEnabled property of an Entry tag, to a property of my model.
Although my backing property is True, the entry is not enabled.
If I output my backing property to the Text of the entry, the result is "True".

<DataTemplate x:Key="textBoxTemplate">
            <ViewCell>
                <Entry FontSize="14" Grid.Row="1"  VerticalOptions="Start" 
                        Text="{Binding Enabled}"  IsEnabled="{Binding Enabled}"></Entry>  
            </ViewCell>
 </DataTemplate>`

The result is the entry with the text "True", but the entry is Disabled.

Any ideas?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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