PDA

View Full Version : animation



amator2009
دوشنبه 15 تیر 1388, 02:37 صبح
چگونه durationتعریف شده در wpf را در с # کنترل کنیم؟

majid325
شنبه 20 تیر 1388, 02:00 صبح
منظور شما این هست:

DoubleAnimation DoubAnimat = new DoubleAnimation();
DoubAnimat.From = 25;
DoubAnimat.To = 100;
DoubAnimat.Duration = new Duration(TimeSpan.FromSeconds(1));