Closed alinouri1989 closed 4 years ago
Simply use x:Name on <bit:BitDateTimePicker x:Name="DateSellDateTimePicker" and then in code behind use DateSellDateTimePicker.SelectedDateTime
I Got Error When Use X:Name in
It seems to be an issue with custom namespace schema in xamarin forms Use xmlns:bit="clr-namespace:Bit.View.Controls;assembly=Bit.Client.Xamarin.Controls" instead of xmlns:bit="https://bitframework.com"
I'd recommend you to use MVVM approach. You can also take a look at followings: https://www.dotnettips.info/learningpaths/details/77 Watch this video before reading those articles:
I Like Working MVVM Architecture But I Not Use In All Page ,Tanks Alot, This Name Space Worked For Me, I Replaced xmlns:bit="https://bitframework.com" With xmlns:bit="clr-namespace:Bit.View.Controls;assembly=Bit.Client.Xamarin.Controls"