Skip to content
| Marketplace
Sign in
Visual Studio>Templates>F# Windows App (WPF)
F# Windows App (WPF)

F# Windows App (WPF)

Carl Nolan

|
5,665 installs
| (0) | Free
F# Windows Application for WPF
Download

This template is for a basic F# Windows Presentation Foundation (WPF) project.

This template that defines the following project elements:

  • MainWindow.fs: This is a module that has a single initControls() function that take in a Window element. The module provides a TODO tag showing the location for processing window elements and hooking up window events.
  • MainWindow.xaml: The XAML for the main window of the application.
  • App.xaml: XAML used for starting up the MainWindow window.
  • Program.fs: This controls the displaying of the window and ensures the STA Thread is used.

A blog about the template can be found at:

http://blogs.msdn.com/b/carlnol/archive/2011/12/11/wpf-project-template.aspx


The MainWindow.fs file provides the structure for processing the window elements. It demonstrates processing of window elements and how to add events for these elements.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft