Hi all
When I try to bind WPF application with
<ig:ThemeManager.Theme> <ig:Office2013Theme StyleMicrosoftControls="True" /></ig:ThemeManager.Theme>
I've got the exception(look at attached pic). The main xaml looks like
<Window x:Class="Backup.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ignore="http://www.ignore.com" xmlns:ig="http://schemas.infragistics.com/xaml" mc:Ignorable="d ignore" Height="300" Width="300" Title="Backup V1.0" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None" DataContext="{Binding Main, Source={StaticResource Locator}}"> <Window.Resources> </Window.Resources> <ig:ThemeManager.Theme> <ig:Office2013Theme StyleMicrosoftControls="True" /> </ig:ThemeManager.Theme> <Grid x:Name="LayoutRoot"> <Button Content="Terst" Height="30" Width="30"></Button> </Grid></Window>
What am I doing wrong?
THanks
Hi Jean-Pascal Robert-Nicoud,
Could you please post the full exception details(Click "Copy exception detail to the clipboard" link on the exception popup in VS and paste it into a text file - check out the attached screenshot) so I could have a better chance to get some idea what's is going on. It would be even better if you could create a small sample that illustrate the exception you're getting.
When I execute the wpf application on other machine instead of mine, then I've got the following .net runtime error:
roblemsignatur: Problemereignisname: CLR20r3 Problemsignatur 01: dump.exe Problemsignatur 02: 0.0.0.1 Problemsignatur 03: 55af5a1e Problemsignatur 04: mscorlib Problemsignatur 05: 4.0.0.0 Problemsignatur 06: 4ee9af8e Problemsignatur 07: 2603 Problemsignatur 08: 0 Problemsignatur 09: System.Windows.Markup.XamlParse Betriebsystemversion: 6.1.7601.2.1.0.256.4 Gebietsschema-ID: 2055 Zusatzinformation 1: 0a9e Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789 Zusatzinformation 3: 0a9e Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789Lesen Sie unsere Datenschutzbestimmungen online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0407Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline: C:\Windows\system32\de-DE\erofflps.txt