-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi,
I want to use LLMListView for Swipe mode "Fix".
I have three buttons in ItemRightSwipeContentTemplate.
LLMListView ItemSource is binded to "MyCustomClass" list collection.
"MyCustomClass" has a boolean property "IsVisible".
If "IsVisible" is true
I show one button,
else
I show two button.
If i set LLMListView .ItemRightSwipeMaxLength="180" in xaml, and if user do right to left swipe.
In case of two button visible, If a user want to reset the LLMListViewItem by moving left to right on same listview item after following above step, this can be done from any visible part of LLMListViewItem.
But when only one button is visible, there a gap in between LLMListViewItem and Button from ItemRightSwipeContent due to LLMListView .ItemRightSwipeMaxLength value (180).
So I want to bind LLMListViewItem.RightSwipeLength property with "IsVisible" taking help of a IsVisibleToItemSwipeMaxLengthConverter which set different ItemRightSwipeMaxLength based on "IsVisible".
How can I do that??
Thanks in advance.