Created
July 15, 2010 20:38
-
-
Save PilotBob/477501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Theme.SetApplicationThemeUri(Application.Current, new Uri(@"System.Windows.Controls.Theming.ShinyBlue.xaml")); | |
also tried: | |
Theme.SetApplicationThemeUri(Application.Current, new Uri(@"AmsiSL;System.Windows.Controls.Theming.ShinyBlue.xaml")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following error:
Message: Unhandled Error in Silverlight Application Invalid URI: The format of the URI could not be determined. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at AmsiSL.SnapIns.button1_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Line: 1
Char: 1
Code: 0