private void OnRootVisualManipulationCompleted(object sender, ManipulationCompletedEventArgs e) { // Breaking contact during the ContextMenu show animation should cancel the ContextMenu if (_openingStoryboardPlaying && (DateTime.UtcNow <= _openingStoryboardReleaseThreshold)) { IsOpen = false; } }