Skip to content
xtuzy edited this page Dec 5, 2021 · 7 revisions

Welcome to the SharpConstraintLayout wiki! There have some document about api.

Use ConstraintSet or NewApi?

Because i don't want support motionlayout at Wpf, so i just need more easy code to write constraint.

NewApi more simple, code little, i will add more func at it, suggest only use ConstraintSet to Clean, a truth is that i want delete ConstraintSet.

How to use at ListView

If the count of items is little, you can create ConstraintLayout as item and listView.Items.Add(item), see ListViewNestConstraintTest

If count is big, you can create Custom Control, use ConstraintLayout as its Content, then add other control to ConstraintLayout, create some DependencyProperty, then you can use the custom control in DataTemplate of ListView at xaml. see ScrollTestWindow

Clone this wiki locally