Quantcast
Channel: WPF - wrapping stackpanel
Viewing all articles
Browse latest Browse all 3

WPF - wrapping stackpanel

$
0
0

Hallo Syslock,

Du kannst es ohne StackPanel ausprobieren, so funktioniert es.

PS Auch mit StackPanel

<StackPanel x:Name="myStackPanel" Grid.Column="1" Grid.Row="1" Background="#FFEAEEFC"><ScrollViewer x:Name="body"  HorizontalScrollBarVisibility="Disabled" MaxHeight="{Binding ActualHeight, ElementName=myStackPanel}"><WrapPanel Margin="10" MaxWidth="1400" ><Border BorderBrush="Black" BorderThickness="1" Width="700" Height="400"></Border><Border BorderBrush="Black" BorderThickness="1" Width="700" Height="400"></Border><Border BorderBrush="Black" BorderThickness="1" Width="700" Height="400"></Border><Border BorderBrush="Black" BorderThickness="1" Width="700" Height="400"></Border></WrapPanel></ScrollViewer></StackPanel>

Gruss,

Ionut


Ionut Duma, MICROSOFT   Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-PrinzipEntwickler helfen Entwickler“ beruht, kein technischer Support geleistet werden kann oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können.



Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>