locked
Font size RRS feed

  • Question

  • I am trying to alter the size and face of the font in a wpf/e xaml file, but cant get anything to work, can someone advise?

     

    <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Width="800" Height="600" Background="#ffffff" Canvas.Left="10" Canvas.Top="10">

     

    <TextBlock Canvas.Top="10" Canvas.Left="0" Text="Caribbean" />
    <TextBlock Canvas.Top="40" Canvas.Left="0" Text="Europe" />
    <TextBlock Canvas.Top="70" Canvas.Left="0" Text="USA" />
    <TextBlock Canvas.Top="100" Canvas.Left="0" Text="Contempo" />
    <TextBlock Canvas.Top="130" Canvas.Left="0" Text="W.W." />
    <TextBlock Canvas.Top="160" Canvas.Left="0" Text="Agents" />

     

     
    </Canvas>

    Thursday, April 19, 2007 10:20 AM

Answers