bsonnino님이 코드 없이 XAML만으로 시스템 폰트 목록을 조회할 수 있는 방법을 소개합니다.
<Window x:Class="FontsList.MainWindow"
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:FontsList" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Slider Minimum="5" Maximum="100" TickPlacement="BottomRight" x:Name="FontSlider" Value="48" />
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
<ListBox HorizontalAlignment="Stretch" x:Name="Listbox" Margin="0,0,5,0"
VerticalAlignment="Stretch" ItemsSource="{Binding Source={x:Static Fonts.SystemFontFamilies}}"
IsSynchronizedWithCurrentItem="True"/>
<GridSplitter HorizontalAlignment="Right" VerticalAlignment="Stretch" Width="5"/>
<TextBox HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
FontFamily="{Binding Path=SelectedItem, ElementName=Listbox, Mode=Default}"
FontSize="{Binding Path=Value, ElementName=FontSlider}" Grid.Column="1"
Text="The quick brown fox jumps over the lazy dog" TextWrapping="Wrap"/>
</Grid>
</Grid>
</Window>
https://blogs.msmvps.com/bsonnino/2022/03/18/no-code-font-tester-in-wpf/