<UserControl x:Class="MyApp.PrinterSelection"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:Printing="clr-namespace:System.Drawing.Printing;assembly=System.Drawing"
xmlns:local="clr-namespace:MyApp"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<ListBox x:Name="displayInstalledPrinterListView" HorizontalAlignment="Left" Height="311" Margin="10,0,0,0" VerticalAlignment="Top" Width="499" ItemsSource="{x:Static Printing:PrinterSettings.InstalledPrinters}" SelectionChanged="displayInstalledPrinterListView_SelectionChanged" AlternationCount="2" FontSize="16"/>
</Grid>
how can I indicate which printer in the ListBox is the default printer using XAML. If it's not possible to do this with XAML, then whats the best approach?
I know I can programatically check each printer to see if IsDefaultPrinter is true. However I wanted to know if this can be done with XAML (only)