I have a working pivotiviewor with 128 images of cars, which I put myself together at work Used several tutorials on the web to work, and it works well. Then I thought that I should decorate the page a little bit, so I put the grid in which PV lives inside a bounding stackpanel, which is with some text blocks above it to tell what the archive is. Everything is fine except images, comment on the stackpanel lines and it works perfectly.
Any thoughts? How can some very easy fail?
The men page here. All of the codes in Xml are:
& lt; StackPainel & gt; & Lt; TextBloc Font Syses = "24" Horizontal Alignment = "Center" Vertical Element = "Top" & gt; Silverlight PivotProoter Example & lt; / TextBlock & gt; & Lt; Textblocks fontisystem = "16" horizontal alignment = "center" vertical alignment = "top" & gt; Cool Automobiles & lt; / TextBlock & gt; & Lt; Grid X: Name = "Layouts" background = "White" & gt; & Lt; Pivoter: pivot viver x: name = "pivot hour" /> & Lt; / Grid & gt; & Lt; / StackPanel & gt;
Your grid, "layout", is your main Layout control You need to wrap your stackpanel in grid control.
Something like this:
& lt; Grid X: Name = "Layouts" background = "white" & lt; StackPainel & gt; & Lt; TextBloc Font Syses = "24" Horizontal Alignment = "Center" Vertical Element = "Top" & gt; Silverlight Photovatviewer Example / & gt; & Lt; Textblocks fontisystem = "16" horizontal alignment = "center" vertical alignment = "top" & gt; Cool Automobile / & gt; & Lt; Pivoter: pivot viver x: name = "pivot hour" /> & Lt; / StackPanel & gt; & Lt; / Grid & gt; After the announcement of your grid, I will add some lines, i.e. 0, 1, 2. Then I'll layout your stackpellels, pivotovers, etc.
Hope it helps.
Comments
Post a Comment