'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '12' and line position '18'.
<Window x:Class="Gasoline.Style.BaseWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="BaseWindow" Height="300" Width="300" ResizeMode="NoResize" WindowStyle="None" BorderBrush="Black">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="26"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<DockPanel LastChildFill="False" Height="26">
<DockPanel.Background>
<ImageBrush ImageSource="/Resources/FrameTitle.png"/>
</DockPanel.Background>
</DockPanel>
</Grid>
</Window>
And the line in cause is:
<ImageBrush ImageSource="/Resources/FrameTitle.png"/>
What am I doing wrong here?
As soon as I give the brush an image source (even through the properties window, which creates a different value), it throws that error when I start up the application.
The designer works fine.