How to: Change An Element's Font

You can change the font properties of a WPF or Silverlight element by using the Properties window in the WPF Designer for Visual Studio.

Change the Font in Alphabetical View

To change an element's font in Alphabetical view

  1. In Design view, select an element that has font properties.

  2. At the top of the Properties window, click the Alphabetical button to sort the properties alphabetically.

  3. Scroll to the font-related properties.

  4. Click the font property that you want to change and select a new value from the drop-down list.

    The font changes for the selected element.

Change the Font in Categorized View

To change an element's font in Categorized view

  1. In Design view, select an element that has font properties.

  2. At the top of the Properties window, click the Categorized button to sort the properties into categories.

  3. Scroll to the Text category.

  4. Set the font properties from the various font options.

    The font changes for the selected element.

See Also

Reference

FontFamily

FontFamily

Other Resources

Working with the WPF Designer