public void FadeIn() { //fade in animation for user control DoubleAnimation opFadeInAnim = new DoubleAnimation(1, FadeTime); opFadeInAnim.Completed += delegate(object s, EventArgs e) { if (OnFadedIn != null) OnFadedIn(this, EventArgs.Empty); }; this.BeginAnimation(UserControl.OpacityProperty, opFadeInAnim); }
OnFadedIn
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)