how use icon [Font-awesome] in WPF

后端 未结 4 1781
谎友^
谎友^ 2020-12-25 12:41

I am new in WPF. I want to use Font-awesome Icon in textbox and button. but the icon is not bind with my textbox

I install Font-awesome resource to my application.<

4条回答
  •  不思量自难忘°
    2020-12-25 13:15

    You could as well manually select FontAwesome from the FontFamily property of the TextBlock.That will solve the problem.

    If FontAwesome is not among the list of fonts then you probably need to import the font file just like the first answer suggested.

提交回复
热议问题