title: how use icon [Font-awesome] in WPF
body: <p>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 </p>
  
  <p>I install Font-awesome resource to my application.</p>
  
  <p>Let me know the way how can I use it</p>
  
  <p>Thank You,</p>
  
  <p>I really need it please help me..</p>
  
  <p><a href="https://i.stack.imgur.com/CRUMQ.png" rel="noreferrer">Example</a></p>
  
  <p>Step 1 : Download Font-Awesome</p>
  
  <p>Tools  ->  Library Package Manager  -> Package Manager Console
  Install</p>
  
  <p>PM > Install-Package FontAwesome.WPF</p>
  
  <p>Step 2 : Add Resource</p>
  
  <pre><code>&lt;Application&gt; xmlns:fa="http://schemas.fontawesome.io/icons/" &lt;/Application&gt;
  </code></pre>
  
  <p>Step 3 : Put App.xaml</p>
  
  <pre><code>&lt;Application.Resources&gt;
  
      &lt;Style x:Key="FontAwesome"&gt;
          &lt;Setter Property="TextElement.FontFamily" Value="pack://application:,,,/fonts/#FontAwesome" /&gt;
      &lt;/Style&gt;
  
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>Step 4 : Use it in Demo.xaml</p>
  
  <pre><code>&lt;TextBlock Style="{StaticResource FontAwesome}"
  FontSize="75"
  Text="&amp;#xf133;" /&gt;
  </code></pre>
  
  <p>Step 5 :- Output</p>
  
  <p><a href="https://i.stack.imgur.com/Tq1mk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Tq1mk.png" alt="My Output is this "></a></p>