Skip to main content

Microsoft Silverlight

Unanswered Question Blend & SL2 Beta 2 SplashScreenRSS Feed

(0)

Synced
Synced

Member

Member

177 points

116 Posts

Blend & SL2 Beta 2 SplashScreen

Hey all.

I am new at making loading/splah screens. What are the limitations? I heard as of Beta 2 more is included in the runtime.

Currently in my web application if I create a .XAML file I am only capable of sing Canvas, with no alignment options etc. Very limiting. I can't center my loading screen etc.

How can I create a little richer splash screen experience via Blend? Can I create another .XAP which includes a little better UI than a Canvas with no alignment properties? Does a Splash Screen take .XAP or only .XAML files?

All the examples I can find use .XAML and javascript to update progress events, etc.

Thanks!

Skyrunner
Skyrunner

Contributor

Contributor

2489 points

485 Posts

Silverlight MVP

Re: Blend & SL2 Beta 2 SplashScreen

Did you look at here?

http://www.silverlight.net/QuickStarts/BuildUi/SplashScreen.aspx

Splashscreen its just a xaml file so you can build it with Blend like any other control.

Synced
Synced

Member

Member

177 points

116 Posts

Re: Blend & SL2 Beta 2 SplashScreen

Yes that is the tutorial I was following however have you tried to build one of these in Blend? All you get is a Canvas, with no alignment options. Makes it very difficult to make a loading screen in the center of the screen.

Unless I am doing something wrong. But when I create a XAML file in the Web project, it's a very basic Canvas with almost all of the properties gone.

Skyrunner
Skyrunner

Contributor

Contributor

2489 points

485 Posts

Silverlight MVP

Re: Blend & SL2 Beta 2 SplashScreen

I think you can use other layouts that Canvas (Grid or StackPanel).

Try to create a UserControl, then desing it as you want, and just copy Canvas/Grid/StackPanel markup and its child into another .xaml, and use it as splashscreen.

Synced
Synced

Member

Member

177 points

116 Posts

Re: Blend & SL2 Beta 2 SplashScreen

Ok I'll give that a try.

Please MS allow us to make splash screens with all the controls they support properly in Blend. I am trying to hand a workflow to a designer so we can have nice Designer/Developer workflow and things like this are frustrating to say the least. I know 2.5 is Beta, thats why I want ot mention that it would be really nice for things to just work properly.

I'll give it a shot tonight!

Synced
Synced

Member

Member

177 points

116 Posts

Re: Blend & SL2 Beta 2 SplashScreen

Nope.. doesn't work. I did the following:

<Grid Background="White"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

mc:Ignorable="d"

Width="800" Height="600">

 

<
Rectangle HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" Fill="#FFFF0000" Stroke="#FF000000" Width="200" Height="200"/>

</Grid>

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities