Click here to Skip to main content
15,867,997 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Converter Set or Library Pin
Gerry Schmitz13-Dec-21 7:26
mveGerry Schmitz13-Dec-21 7:26 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb13-Dec-21 14:44
michaelbarb13-Dec-21 14:44 
AnswerRe: WPF Converter Set or Library Pin
RedDk11-Dec-21 8:29
RedDk11-Dec-21 8:29 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb11-Dec-21 13:04
michaelbarb11-Dec-21 13:04 
GeneralRe: WPF Converter Set or Library Pin
trønderen11-Dec-21 13:27
trønderen11-Dec-21 13:27 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb11-Dec-21 14:05
michaelbarb11-Dec-21 14:05 
GeneralRe: WPF Converter Set or Library Pin
trønderen12-Dec-21 0:05
trønderen12-Dec-21 0:05 
AnswerRe: WPF Converter Set or Library Pin
Richard Deeming12-Dec-21 21:48
mveRichard Deeming12-Dec-21 21:48 
GeneralRe: WPF Converter Set or Library Pin
#realJSOP13-Dec-21 23:33
mve#realJSOP13-Dec-21 23:33 
AnswerRe: WPF Converter Set or Library Pin
Super Lloyd14-Dec-21 1:42
Super Lloyd14-Dec-21 1:42 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb14-Dec-21 3:59
michaelbarb14-Dec-21 3:59 
GeneralRe: WPF Converter Set or Library Pin
Super Lloyd14-Dec-21 5:17
Super Lloyd14-Dec-21 5:17 
QuestionListBox selection through code, in MVVM Pin
Amarnath S20-Nov-21 17:17
professionalAmarnath S20-Nov-21 17:17 
AnswerRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 3:10
mve#realJSOP21-Nov-21 3:10 
GeneralRe: ListBox selection through code, in MVVM Pin
Gerry Schmitz21-Nov-21 4:53
mveGerry Schmitz21-Nov-21 4:53 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 5:18
mve#realJSOP21-Nov-21 5:18 
GeneralRe: ListBox selection through code, in MVVM Pin
Amarnath S21-Nov-21 13:55
professionalAmarnath S21-Nov-21 13:55 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 15:08
mve#realJSOP21-Nov-21 15:08 
GeneralRe: ListBox selection through code, in MVVM Pin
Amarnath S23-Nov-21 0:40
professionalAmarnath S23-Nov-21 0:40 
GeneralRe: ListBox selection through code, in MVVM Pin
Gerry Schmitz23-Nov-21 7:28
mveGerry Schmitz23-Nov-21 7:28 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP23-Nov-21 8:52
mve#realJSOP23-Nov-21 8:52 
QuestionUsing custom fonts in WPF project Pin
Alex Dunlop11-Nov-21 21:29
Alex Dunlop11-Nov-21 21:29 
AnswerRe: Using custom fonts in WPF project Pin
#realJSOP12-Nov-21 4:22
mve#realJSOP12-Nov-21 4:22 
Try this:

XAML
<Window.Resources>
    <Style x:Key="Digital" x:Type="Label">
        <Setter Property="TextElement.FontFamily" Value="Fonts/#DS-DIGI" />
    </Style>
</Window.Resources>


And then set the style of the control to that style.

XAML
<Label Name="TimeLabel" Grid.Column="1" Foreground="White" FontSize="24" Style={StaticResource Digital}">00:00:00</Label>

".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Using custom fonts in WPF project Pin
Alex Dunlop13-Nov-21 8:05
Alex Dunlop13-Nov-21 8:05 
GeneralRe: Using custom fonts in WPF project Pin
#realJSOP14-Nov-21 0:14
mve#realJSOP14-Nov-21 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.