2
내 Application.Current.MainWindow (물론 OOB를 실행할 때)의 크기를 늘려야합니다.
스토리 보드에서이를 수행 할 수있는 방법이 있습니까?
나는 프로그래밍 방식으로 수행 할 수있는 통찰력SL5 - OOB - 기본 창 애니메이션하기
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
}
감사합니다 ...
내가이 링크 당신은 확실하지 될 수 있습니다 도움이 될 것입니다 생각 [유래] [1] [1] : http://stackoverflow.com/questions/2527490/silverlight- 4-and-of-browser –
그 링크는 매우 도움이되었다, JR 감사합니다. – Number8