private void OnPropertyMarkerCommandsRecordCurrentValueCommand(object sender, ExecutedRoutedEventArgs eventArgs) { SceneNodeProperty associatedProperty = this.AssociatedProperty; if (associatedProperty != null) { associatedProperty.DoRecordCurrentValue(); } eventArgs.Handled = true; }