Open ac-lap opened 1 year ago
[Q4] Also is there any way I can customize the margin of the expand button/margins at each level, currently there are too close.
Update: I was able to address [Q3] by instead of binding IsVisible
, used multi binding and returned the image as null in case of leaf node.
Currently [Q2] is the main blocker for me.
Text Wrapping is the same issue with https://github.com/enisn/UraniumUI/issues/276
Also, the problem still open in dotnet maui: https://github.com/dotnet/maui/issues/8873#issuecomment-1287768160
Update: I was able to address [Q3] by instead of binding
IsVisible
, used multi binding and returned the image as null in case of leaf node.Currently [Q2] is the main blocker for me.
Hi, can you please share this pace of code about using multi binding instead of binding IsVisible
, because I'm new to MAUI and couldn't figure out how to do it.
Thanks in advance.
I am trying to use TreeView in my MAUI app and have been facing few challenges. Link to the sample app Doc followed
[Q1] How do I fix this?
To repro this issue in the sample app, comment out the
<material:TreeView.ExpanderTemplate>
sectionGrid
and enabledLineBreakMode
. Screenshot from # 1 shows it.[Q2] How do I enable text wrapping?
ExpanderTemplate
to create a custom arrow, but when I hide the expand button usingIsLeaf
, all the leaf node items gets hidden and not just the expand button. And somehow in this case the items are not truncated in Android.[Q3] How to hide the expand button for leaf nodes without hiding the entire leaf node item. Is there an issue with my implementation?
You can see from the screenshot, "Test 1", "Test 2" are not showing up.
I have been struggling since last 2 days to get the TreeView working for my app, I really need your help to get unblocked.