Answer the question
In order to leave comments, you need to log in
How can I set the MaxWidth of a WrapPanel to be equal to the width of the grid it's in?
The form has a grid that contains a WrapPanel. The initial grid width is automatic. You need to make the maximum width of the WrapPanel the same as the grid, so that when the form is stretched and contracted, the elements on the wrapPanel are transferred or returned to the next / previous line. How to do it? Is it possible only in xaml? If not, how can it be done through binding using the MVVM pattern?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question