How to Use the Wingdings Font Button in Silverlight

The Silverlight programming interface uses tags similar to HTML to set up a Web interface for your users. Use the "Font" property in a Silverlight button tag to set up a different font, such as the Wingding font which uses characters in place of letters. This font is part of the standard installation on a Windows computer.

Instructions

    • 1

      Open the Silverlight editor on your desktop and open the Web app you want to edit. Double-click the Web form on which you want to add the button and font code.

    • 2

      Create a standard button. Locate the section of the form at which you want to show the button. Copy and paste the following code to add a button:

      <Button x:Name="mybutton"
      Content="Click Here"
      Width="150" />

    • 3

      Add the font parameters to the button. Use the "FontFamily" to change the font to Wingding and the "FontSize" parameter to change the size of the font. The following code changes the button's font and font size:

      <Button x:Name="mybutton"
      Content="Click Here"
      Width="150"
      FontSize="Wingding" FontSize="14" />

Related Searches:

References

Comments

Related Ads

Featured