This project was generated by the ricaun.AppLoader Revit plugin.
This project use the Wpf.Ui version 3.0.0
with the feature ApplicationThemeManager.Apply(this);
to applay the theme in the main Window
.
Warning: If you use the package Wpf.Ui version 3.0.0
you could have version issue if other version of the package is used inside Revit.
public partial class MainWindow
{
public MainWindow()
{
InitializeComponent();
ApplicationThemeManager.Apply(this);
}
}
Use ui:FluentWindow
to enable the Fluent Design in the Window
.
<ui:FluentWindow
...
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
ExtendsContentIntoTitleBar="True"
WindowBackdropType="Auto"
>
<StackPanel>
<ui:TitleBar Title="WPF UI"/>
<ui:Card Margin="8">
<ui:Button Content="Hello World" Icon="{ui:SymbolIcon Fluent24}" />
</ui:Card>
</StackPanel>
</ui:FluentWindow>
Video in English about this project.
- Download and install RevitAddin.WpfUi.Sample.exe
This project is licensed under the MIT Licence.
Do you like this project? Please star this project on GitHub!