private void OnLeftChanged(object sender, LocationChangedEventArgs locationChangedEventArgs)
 {
     SetLeft(locationChangedEventArgs.OldValue, locationChangedEventArgs.NewValue);
 }
 private void OnTopChanged(object sender, LocationChangedEventArgs locationChangedEventArgs)
 {
     Children.SwapCoordinates();
     SetLeft(locationChangedEventArgs.OldValue, locationChangedEventArgs.NewValue);
     Children.SwapCoordinates();
 }
Example #3
0
 protected virtual void OnTopChanged(LocationChangedEventArgs e)
 {
     var handler = TopChanged;
     if (handler != null) handler(this, e);
 }