Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi Everyone,

I want to add a slide menu to my windows phone 8 application.As I am new to this, I am feeling some kind of difficulty in achieving this. I have gone through the following url and tried to implement it in my app.

slideview[^]

nuget[^]

If anyone have already used / implemented this, please share the steps to achieve this.

What I have tried....

I have installed "slideview" using package manager console with following code
XML
Install-Package SlideView


Then added the following code in app.xaml

XML
<Application.RootVisual>
            <library:SlideApplicationFrame Header="ManageIT"
                                       Background="White">
                <!--<library:SlideApplicationFrame.LeftContent>
                <pages:LeftView />
            </library:SlideApplicationFrame.LeftContent>-->
                <!--<library:SlideApplicationFrame.RightContent>
                <pages:RightView />
            </library:SlideApplicationFrame.RightContent>-->
            </library:SlideApplicationFrame>
        </Application.RootVisual>


Now I have following build errors...

XML
Error   1   Nested properties are not supported: Application.RootVisual.
Error   2   The attachable property 'RootVisual' was not found in type 'Application'.
Error   3   Unexpected PROPERTYELEMENT in parse rule PropertyElement ::= . PROPERTYELEMENT Content? ENDTAG..


Update

I have undone the above change and added the following in mainpage.xaml after installing slideview using package manager console

HTML
<controls:SlideView>
    
    <Grid background="Teal"
            Width="400" />

    <Grid background="Tomato" />

    <Grid background="LightYellow" />
            
    <Grid background="YellowGreen"
            Width="400"/>
                
</controls:SlideView>


But I have another set of build errors as follows...

XML
Error 1 The namespace prefix "controls" is not defined.

Error 2 SlideView is not supported in a Silverlight project.

Error 3 The namespace prefix "controls" is not defined.

Error 4 The type 'controls:SlideView' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.


Thanks & regards
Sebastian
Posted
Updated 9-Jul-14 0:42am
v9
Comments
Maciej Los 7-Jul-14 9:28am    
Sebastian, you are experienced member of this forum. Please, be more specific and provide more details about your issue. "I'm feeling kind of difficulty" description of your issue is not enoogh.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900