item font to bold?

Dewid

New member
Joined
May 6, 2024
Messages
1
Programming Experience
Beginner
How do I set ListBox item font to bold?

C# WPF - xaml:

C#:
<ListBox x:Name="gLBx"
Margin="5,0,5,0"
Foreground="#FF0000"
FontWeight="Bold"/>


This does not change the font to bold.
 
Seems to work for me:
1716948851826.png


Left listbox list item is bolder than the right listbox item.
 
Back
Top Bottom