Which control can place children horizontally and evenly resize elements to fit the available horizontal space? I am replacing the “ItemsPanelTemplate” in the tree structure template, and the stack pane will place the elements in the correct orientation but not resize them. The grid will display only the first child in the tree structure and will not support horizontal reorientation.
I think that <UniformGrid Rows="1"/>will only do what you want
<UniformGrid Rows="1"/>
viewbox:
<ViewBox StretchMode= "UniformToFill"> <UniformGrid Cols="5"> </UniformGrid> </ViewBox>
StretchMode ViewBox, . , .
Source: https://habr.com/ru/post/1768954/More articles:Save MediaElement file source for isolated storage - windows-phone-7toolstripbutton remove lighting - c #OpenMP Library Specification - c ++Add custom code to Visual Studio installation project? - c #What relative path do I need to use in my Java project - javaThe iOS device goes into standby mode, the network stops. How do I get an alert to enter an "idle" state? - iosLink counter when returning shared_ptr - c ++how to install dependency in maven not in WEB-INF / lib - mavenWhat does IsNumeric do? - sql-server-2008How to run a shell script after installing a device using UDEV - mountAll Articles