c# - Creating master view in Windows Phone application -



c# - Creating master view in Windows Phone application -

i creating masterview within views navigate have created simple xaml page , added transitionframe within navigating other pages within frame. when application start , navigates masterview crashes next error:

error:

{system.windows.markup.xamlparseexception: cannot create instance of type 'microsoft.phone.controls.transitionframe' [line: 32 position: 22] ---> system.invalidoperationexception: operation not valid due current state of object. @ microsoft.phone.controls.phoneapplicationframe..ctor() @ microsoft.phone.controls.transitionframe..ctor() --- end of inner exception stack trace --- @ system.windows.application.loadcomponent(object component, uri resourcelocator) @ view.masterview.initializecomponent() @ view.masterview..ctor()}

xaml:

<grid x:name="layoutroot" background="transparent"> <grid.rowdefinitions> <rowdefinition height="auto"/> <rowdefinition height="*"/> </grid.rowdefinitions> <!--titlepanel contains name of application , page title--> <stackpanel grid.row="0" margin="12,17,0,0"> <textblock text="my application" style="{staticresource phonetextnormalstyle}"/> </stackpanel> <!--contentpanel - place additional content here--> <toolkit:transitionframe x:name="masterframe" grid.row="1" > </toolkit:transitionframe> </grid>

c# wpf xaml silverlight windows-phone-8

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -