This is a migrated thread and some comments may be shown as answers.

Synchronize Height of Items

0 Answers 22 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Kishorekumar
Top achievements
Rank 1
Veteran
Kishorekumar asked on 19 Apr 2021, 11:03 AM
I have a <Grid> which has two <ItemsControl> in it.
The first <ItemsControl-1> will be vertically placed and second <ItemsControl-2> will be horizontally placed.
Each <ItemsControl> will have same number of counts as child items.
I have attached a snap for reference(MockUI Changes.jpeg) of how it looks like. 
Be default the items in <ItemsControl> height is set to AUTO and it has lot of sub-control(telerik) in it and height of the ItemControl.items may vary based on datatrigger set for the viewmodel property. 
I want to synchronize Height of ItemsControl1.Item1 with ItemsContol2.Item.(ex:during runtime if the height of ItemControl1.Item1 is 20 then ItemControl2.Item1 must also be same).
Any Idea or suggestion or samples to implement this behavior.


Thanks and Regards,
Kishore

No answers yet. Maybe you can help?

Tags
ListBox
Asked by
Kishorekumar
Top achievements
Rank 1
Veteran
Share this question
or