Frame.Navigate to an embedded resource F#
Posted
by akaphenom
on Stack Overflow
See other posts from Stack Overflow
or by akaphenom
Published on 2010-05-20T02:29:01Z
Indexed on
2010/05/20
2:30 UTC
Read the original article
Hit count: 412
silverlight-3.0
|F#
I have a 100% silverlight 3.0 / f# 2.0 application I am wrapping my brain around. I have the base application loading correctly - and now I want to add the naigation controls to it.
My page is stored as an embedded resource - but the Frame.Navigate takes a URI. I know what I have is wrong but here it is:
let nav : Frame = mainGrid ? mainFrame
let url = "/page1.xaml"
let uri = new System.Uri(url, System.UriKind.Relative) ;
nav.Navigate uri
Any thoughts?
© Stack Overflow or respective owner