public static SwipeReleaseAnimationConstructor Create(SwipeConfig config) { SwipeReleaseAnimationConstructor constructor = new SwipeReleaseAnimationConstructor(); constructor.Config = config; return(constructor); }
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; }
private void LLMListViewItem_Loaded(object sender, RoutedEventArgs e) { _swipeAnimationConstructor = SwipeReleaseAnimationConstructor.Create(new SwipeConfig()); UpdateConfig(); SizeChanged += LLMListViewItem_SizeChanged; }