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(); }
protected virtual void OnTopChanged(LocationChangedEventArgs e) { var handler = TopChanged; if (handler != null) handler(this, e); }