ILRepack.IntegrationTests/Scenarios/LibraryClassUsageInXAML/MainWindow.xaml (15 lines of code) (raw):
<Window x:Class="LibraryClassUsageInXAML.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:classLibrary="clr-namespace:ClassLibrary;assembly=ClassLibrary"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
Title="MainWindow" Height="350" Width="525">
<Window.Resources>
<classLibrary:DummyConverter x:Key="DummyConverter" />
</Window.Resources>
<TextBlock Text="{Binding Converter={StaticResource DummyConverter}}">
<dxmvvm:Interaction.Behaviors>
<dxmvvm:EventToCommand EventName="Loaded" Command="{Binding LoadedCommand}" />
</dxmvvm:Interaction.Behaviors>
</TextBlock>
</Window>