DockPanel overlay elements
See original GitHub issuein avalonia dockpanel overlay elements
<DockPanel>
<!-- <rxui:RoutedViewHost DockPanel.Dock="Bottom" Router="{Binding Router}"/> -->
<Button Content="Ok" DockPanel.Dock="Bottom" />
<!--Icon-->
<Viewbox DockPanel.Dock="Left" Margin="20,20,20,0" RenderTransformOrigin="0,0">
<ContentPresenter Content="{Binding Drawing}" />
</Viewbox>
<StackPanel DockPanel.Dock="Left" Margin="0,20,20,0">
<!--Bold text-->
<TextBlock Text="i set textblock textwrapping, and now it's looks very strange as i think it's shouldn't do like this"
TextWrapping="Wrap"/>
<!--Content text-->
<TextBlock Margin="0,20,0,0" Text="i set textblock textwrapping, and now it's looks very strange as i think it's shouldn't do like this"
TextWrapping="Wrap"/>
</StackPanel>
</DockPanel>
but in wpf evething is ok
<DockPanel>
<Button Content="Ok" DockPanel.Dock="Bottom" />
<!--Icon-->
<Viewbox DockPanel.Dock="Left" Margin="20,20,20,0" RenderTransformOrigin="0,0">
<Canvas Width="50" Height="50">
<!-- canvas data-->
</Canvas>
</Viewbox>
<StackPanel DockPanel.Dock="Left" Margin="0,20,20,0">
<!--Bold text-->
<TextBlock Text="i set textblock textwrapping, and now it's looks very strange as i think it's shouldn't do like this"
TextWrapping="Wrap"/>
<!--Content text-->
<TextBlock Margin="0,20,0,0" Text="i set textblock textwrapping, and now it's looks very strange as i think it's shouldn't do like this"
TextWrapping="Wrap"/>
</StackPanel>
</DockPanel>
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
wpf - How to avoid overlapping of content in dockpanel
I have two stackpanel inside Dock Panel. When the window is resizing the top panel is overlapping the bottom one.
Read more >DockPanel Class (System.Windows.Controls)
The position of child elements of a DockPanel on the screen is determined by the Dock property of the respective child elements and...
Read more >The DockPanel control
The DockPanel makes it easy to dock content in all four directions (top, bottom, left and right). This makes it a great choice...
Read more >WPF - DockPanel
DockPanel defines an area to arrange child elements relative to each other, either horizontally or vertically. With DockPanel you can easily dock child ......
Read more >Using DockPanel.Dock to position elements
Using DockPanel.Dock to position elements : DockPanel « Windows Presentation Foundation « VB.Net Tutorial ; 16.42.2. Use DockPanel to layout a Window ;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes , and i dislike this, i wanna as in wpf i try to play with opacity, but it didn’t help
DockPanel was ported from WPF https://github.com/AvaloniaUI/Avalonia/pull/2644