Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to properly set Easing in XAML?

$
0
0

Hi!
I have a custom control with Easing bindable property.

public static readonly BindableProperty AnimationEasingProperty = BindableProperty.Create(nameof(AnimationEasing), typeof(Easing), typeof(BreadCrumb), Easing.CubicInOut, BindingMode.TwoWay);

public Easing AnimationEasing
{
      get { return (Easing)GetValue(AnimationEasingProperty); }
      set { SetValue(AnimationEasingProperty, value); }
}

When I add my control to page I have Error:
No property, bindable property, or event found for 'AnimationEasing', or mismatching type between value and property.

<breadcrumb:BreadCrumb ... AnimationEasing="SinIn"/>

How can I properly set value to AnimationEasing property?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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