Exemplo n.º 1
0
        private void OnPropertyMarkerCommandsTemplateBindingCommand(object sender, ExecutedRoutedEventArgs eventArgs)
        {
            SceneNodeProperty associatedProperty = this.AssociatedProperty;

            if (associatedProperty != null)
            {
                using (WorkaroundPopup.LockOpen((DependencyObject)this))
                {
                    associatedProperty.DoSetToTemplateBinding((TemplateBindablePropertyModel)eventArgs.Parameter);
                    PropertyMarker.ResetPropertyContainerMode((RoutedEventArgs)eventArgs);
                }
            }
            eventArgs.Handled = true;
        }