-
[WPF] GridSplitter bugC#/WPF 2024. 11. 1. 08:54
GridSplitter 칸을 auto 가 아니라 고정 width로 하고
Split 되는 Grid를 auto로
Ex)
<Grid> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="5"/> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <TextBlock Text="Hello"/> <GridSplitter Grid.Row="1" ResizeDirection="Rows" Height="5" HorizontalAlignment="Stretch" /> <Image Grid.Row="2" Source="{Binding ImagePath}" Stretch="Uniform" StretchDirection="DownOnly"/> </Grid>
https://github.com/dotnet/wpf/issues/1687
728x90'C# > WPF' 카테고리의 다른 글
[WPF] WPF Unity 연동 (0) 2024.11.08 [WPF] Hosting external app in WPF Seamlessly (3) 2024.11.06 [WPF] Build 시 폴더 OutDir 복사 (1) 2024.10.29 [WPF] PropertyGroup (4) 2024.10.28 [WPF] Get Solution Directory (0) 2024.10.17 댓글