tkowalczyk / SimpleCustomGestureFrame

Swipe gestures on custom frame in Xamarin.Forms project.
MIT License
38 stars 12 forks source link

xaml gestureFrame #6

Closed micuentadecasa closed 8 years ago

micuentadecasa commented 8 years ago

Hi, I'm trying to add your gestureFrame but in Xaml and it says this:

/Users/luis/Dropbox/projects/rasoApp/xxx/obj/Debug/testFramePage.xaml.g.cs(17,17): Error CS0246: The type or namespace name GestureFrame' could not be found. Are you missingSimpleCustomGesureFrame' using directive? (CS0246) (xxx)

it works using the gestureFrame declaratively but not in xaml

tkowalczyk commented 8 years ago

have you added a namespace needed in your xaml file?

micuentadecasa commented 8 years ago

no, please tell me how

tkowalczyk commented 8 years ago

Please, better read some docs. For example here: https://developer.xamarin.com/guides/xamarin-forms/custom-renderer/introduction/

You will have to add smth similiar to this code:

`<ContentPage ... xmlns:local="clr-namespace:CustomRenderer;assembly=CustomRenderer" ...> ...

...

`

If you solved it with your own it will be better for you and you also will learn something,

micuentadecasa commented 8 years ago

You were right, it was a 5 minute task and I learned something new. Thanks @tkowalczyk