Je dois augmenter la taille de ma Application.Current.MainWindow (lors de l'exécution de OOB, bien sûr).
Y a-t-il un moyen de le faire dans un Storyboard?
Je peux le faire programatically:SL5 - OOB - animation de la fenêtre principale
private long timerCntr = 0;
private void OpenBtn_OnClick(object sender, RoutedEventArgs e)
{
timerCntr = 0;
DispatcherTimer t = new DispatcherTimer();
t.Interval = new TimeSpan(0, 0, 0, 0, 10);
t.Tick += (o, args) =>
{
if (timerCntr < 100)
{
Application.Current.MainWindow.Height += 1;
userControl.Height += 1;
LayoutRoot.Height += 1;
++timerCntr;
}
else
{
t.Stop();
}
};
t.Start();
OpenStory.Begin(); // Controls opacity of object becoming visible
}
Merci pour tout ... aperçu
Je pense que ce lien Aide vous pouvez être pas sûr [Stackoverflow] [1] [1]: http://stackoverflow.com/questions/2527490/silverlight- 4-and-out-of-browser –
Ce lien a été très utile, merci JR. – Number8