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

            constructor.Config = config;
            return(constructor);
        }
Пример #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;
 }
Пример #4
0
 private void LLMListViewItem_Loaded(object sender, RoutedEventArgs e)
 {
     _swipeAnimationConstructor = SwipeReleaseAnimationConstructor.Create(new SwipeConfig());
     UpdateConfig();
     SizeChanged += LLMListViewItem_SizeChanged;
 }