protected void BackgroundChangedEvent(BackgroundChangedEventArgs e)
 {
     if (OnBackgroundChangedEvent != null)
     {
         OnBackgroundChangedEvent(this, e);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Call to indicate background has changed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void InvokeBackgroundChanged(object sender, BackgroundChangedEventArgs e)
 {
     if (OnBackgroundChangedEvent != null)
     {
         OnBackgroundChangedEvent(sender, e);
     }
 }
Esempio n. 3
0
 private void _optionsControl_OnBackgroundChangedEvent(object sender, BackgroundChangedEventArgs e)
 {
     if (ActualWidth >= 550)
     {
         UpdateBackground(e.Background, true);
     }
 }