public static SwipeReleaseAnimationConstructor Create(SwipeConfig config)
        {
            SwipeReleaseAnimationConstructor constructor = new SwipeReleaseAnimationConstructor();

            constructor.Config = config;
            return(constructor);
        }
Esempio n. 2
0
 public LLMListViewItem()
 {
     DefaultStyleKey            = typeof(LLMListViewItem);
     Loaded                    += LLMListViewItem_Loaded;
     _swipeAnimationConstructor = SwipeReleaseAnimationConstructor.Create(new SwipeConfig());
 }
 public static SwipeReleaseAnimationConstructor Create(SwipeConfig config)
 {
     SwipeReleaseAnimationConstructor constructor = new SwipeReleaseAnimationConstructor();
     constructor.Config = config;
     return constructor;
 }
Esempio n. 4
0
 private void LLMListViewItem_Loaded(object sender, RoutedEventArgs e)
 {
     _swipeAnimationConstructor = SwipeReleaseAnimationConstructor.Create(new SwipeConfig());
     UpdateConfig();
     SizeChanged += LLMListViewItem_SizeChanged;
 }