Всем привет, относительно недавно начал изучать WPF, что посоветуете по адаптивному дизайну вроде как его еще називають "жидким" У меня есть окно которое должно при растяжении на весь экран пропорционально растягивать элементы управления и т.д... Вот примерный код зарание всем спасибо)
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:PRAKTIKA_FULL"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" x:Class="PRAKTIKA_FULL.Alphabet"
mc:Ignorable="d"
Title="Алфавіт" Height="600" Width="800" Background="{x:Null}">
<Grid Background="#FF3C3939"
Height="597"
VerticalAlignment="Top">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="285"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="612"/>
</Grid.RowDefinitions>
<ScrollViewer
VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" Width="188" HorizontalAlignment="Center" Margin="16,0,81,112" Grid.Row="1" >
<StackPanel
HorizontalAlignment="Center"
Height="1575"
VerticalAlignment="Center"
Width="214" Grid.RowSpan="4">
<Button Content="А" Click="A_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Б" Click="B_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="В" Click="V_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Г" Click="H_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ґ" Click="H1_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Д" Click="D_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Е" Click="E_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Э" Click="E1_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ж" Click="G_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="З" Click="Z_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="И" Click="I_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="І" Click="I1_Click" Height="37"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ї" Click="I2_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Й" Click="J1_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="К" Click="K_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Л" Click="L_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="М" Click="MM_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Н" Click="N_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="О" Click="O_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="П" Click="P_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Р" Click="R_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="С" Click="C_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Т" Click="TTT_Click" Height="37"/>
<Separator Opacity="0" Height="5"/>
<Button Content="У" Click="Y_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ф" Click="F_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Х" Click="X_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ц" Click="TS_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ч" Click="CH_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ш" Click="SH_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Щ" Click="SH1_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ь" Click="J_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Ю" Click="YU_Click" Height="39"/>
<Separator Opacity="0" Height="5"/>
<Button Content="Я" Click="YA_Click" Height="39"/>
</StackPanel>
</ScrollViewer>
<MediaElement
x:Name="Media"
Grid.Column="1"
HorizontalAlignment="Center"
Height="440"
VerticalAlignment="Center"
Width="476" Margin="19,30,12,142" Grid.Row="1"/>
</Grid>
</Window>


Width="476" Margin="19,30,12,142". Забудьте про дизайнер студии, пишите код сами! – EvgeniyZ Jun 15 '21 at 20:10