Repository navigation
Revit WPF UI
This is an edited version of the wpfui version 3.0.4+ with Update UiApplication.cs to work with Autodesk Revit 2025.
Use the code below to apply the Wpf.Ui theme to your WPF application.
public MainView()
{
InitializeComponent();
ApplicationThemeManager.Apply(this);
}In the .xaml use the default xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" to select the Wpf.Ui controls.
The assembly was changed to Revit.Wpf.Ui.3.0.4 to avoid conflicts with the original Wpf.Ui package.
The package id was changed to REVIT-WPF-UI.
<PackageReference Include="REVIT-WPF-UI" Version="3.0.4" />Check the sample: https://github.com/ricaun-io/RevitAddin.WpfUi.Sample