Embedded Font : Label « Windows Presentation Foundation « C# / C Sharp






Embedded Font

Embedded Font
     
<Window x:Class="ClassicControls.EmbeddedFont"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ClassicControls" Height="300" Width="300"
    >
    <Grid>
      <Label Name="tst" FontSize="20" FontFamily="./#Bayern"
             >This is an embedded font</Label>
    </Grid>
</Window>

   
    
    
    
    
  








Related examples in the same category

1.Create Label controls that have access keys and support text wrapping.Create Label controls that have access keys and support text wrapping.
2.Text Wrapping LabelText Wrapping Label
3.Set AccessText for LabelSet AccessText for Label
4.Binding Label to TextBoxBinding Label to TextBox