The FsXaml library can be installed from NuGet:
PM> Install-Package FsXaml.Wpf


This example demonstrates using the XAML type provider to create a UI.

open FsXaml

type MainWindow = XAML<"MainWindow.xaml">

Samples & documentation

  • Tutorial contains a further explanation of this sample library.

  • API Reference contains automatically generated documentation for all types, modules and functions in the library.

Contributing and copyright

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests. If you're adding a new public API, please also consider adding samples that can be turned into a documentation. You might also want to read the library design notes to understand how it works.

The library is available under the Apache 2.0 license, which allows modification and redistribution for both commercial and non-commercial purposes. For more information see the License file in the GitHub repository.

namespace FsXaml
Fork me on GitHub