Hi I'm trying to use StaticResource in my xaml page, but i get the error below when viewing in web browser
InitializeError- Invalid or malformed application: Check manifest
Any help would be appreciated
George
My code is:
<
Application xmlns="http://schemas.microsoft.com/client/2007"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Forum.App"
>
<Application.Resources>
<Style x:Key="PlayPauseStopButton" TargetType="Button">
<Setter Property="CornerRadius" Value="5"/>
<Setter Property="Background" Value="#000000"/>
</Style></Application.Resources>
</
Application>
============================
<
Button Click="Media_Play"
x:Name="mPlay"
Style="{StaticResource PlayPauseStopButton}"
Canvas.Top="261"
Canvas.Left="10" Width="40"
Content="Play">
</Button>