Skip to main content

Component Plug-In SDK 2026 R1

Class AbstractPlugInWindow

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Views
Assembly: Phoenix.ComponentPlugInSDK.dll

This class serves as a base class for CAM Windows. It expects derived class to have a VariableTreeControl for editing variables, and a Button for opening the VariableEditorView. This class handles saving on window close.

public abstract class AbstractPlugInWindow : Window, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ISaveableWindow

Inheritance

object ← DispatcherObject ← DependencyObject ← Visual ← UIElement ← FrameworkElement ← Control ← ContentControl ← Window ← AbstractPlugInWindow

Derived

ScriptEditorView, VariableBasedBuilderView

Implements

IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ISaveableWindow

Inherited Members

Window.TaskbarItemInfoProperty, Window.DpiChangedEvent, Window.AllowsTransparencyProperty, Window.TitleProperty, Window.IconProperty, Window.SizeToContentProperty, Window.TopProperty, Window.LeftProperty, Window.ShowInTaskbarProperty, Window.IsActiveProperty, Window.WindowStyleProperty, Window.WindowStateProperty, Window.ResizeModeProperty, Window.TopmostProperty, Window.ShowActivatedProperty, Window.Show(), Window.Hide(), Window.Close(), Window.DragMove(), Window.ShowDialog(), Window.Activate(), Window.GetWindow(DependencyObject), Window.OnCreateAutomationPeer(), Window.OnDpiChanged(DpiScale, DpiScale), Window.OnVisualParentChanged(DependencyObject), Window.MeasureOverride(Size), Window.ArrangeOverride(Size), Window.OnContentChanged(object, object), Window.OnSourceInitialized(EventArgs), Window.OnActivated(EventArgs), Window.OnDeactivated(EventArgs), Window.OnStateChanged(EventArgs), Window.OnLocationChanged(EventArgs), Window.OnClosing(CancelEventArgs), Window.OnClosed(EventArgs), Window.OnContentRendered(EventArgs), Window.OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs), Window.LogicalChildren, Window.TaskbarItemInfo, Window.AllowsTransparency, Window.Title, Window.Icon, Window.SizeToContent, Window.Top, Window.Left, Window.RestoreBounds, Window.WindowStartupLocation, Window.ShowInTaskbar, Window.IsActive, Window.Owner, Window.OwnedWindows, Window.DialogResult, Window.WindowStyle, Window.WindowState, Window.ResizeMode, Window.Topmost, Window.ShowActivated, Window.SourceInitialized, Window.DpiChanged, Window.Activated, Window.Deactivated, Window.StateChanged, Window.LocationChanged, Window.Closing, Window.Closed, Window.ContentRendered, ContentControl.ContentProperty, ContentControl.HasContentProperty, ContentControl.ContentTemplateProperty, ContentControl.ContentTemplateSelectorProperty, ContentControl.ContentStringFormatProperty, ContentControl.AddChild(object), ContentControl.AddText(string), ContentControl.OnContentChanged(object, object), ContentControl.OnContentTemplateChanged(DataTemplate, DataTemplate), ContentControl.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector), ContentControl.OnContentStringFormatChanged(string, string), ContentControl.LogicalChildren, ContentControl.Content, ContentControl.HasContent, ContentControl.ContentTemplate, ContentControl.ContentTemplateSelector, ContentControl.ContentStringFormat, Control.BorderBrushProperty, Control.BorderThicknessProperty, Control.BackgroundProperty, Control.ForegroundProperty, Control.FontFamilyProperty, Control.FontSizeProperty, Control.FontStretchProperty, Control.FontStyleProperty, Control.FontWeightProperty, Control.HorizontalContentAlignmentProperty, Control.VerticalContentAlignmentProperty, Control.TabIndexProperty, Control.IsTabStopProperty, Control.PaddingProperty, Control.TemplateProperty, Control.PreviewMouseDoubleClickEvent, Control.MouseDoubleClickEvent, Control.OnTemplateChanged(ControlTemplate, ControlTemplate), Control.ToString(), Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs), Control.OnMouseDoubleClick(MouseButtonEventArgs), Control.MeasureOverride(Size), Control.ArrangeOverride(Size), Control.BorderBrush, Control.BorderThickness, Control.Background, Control.Foreground, Control.FontFamily, Control.FontSize, Control.FontStretch, Control.FontStyle, Control.FontWeight, Control.HorizontalContentAlignment, Control.VerticalContentAlignment, Control.TabIndex, Control.IsTabStop, Control.Padding, Control.Template, Control.HandlesScrolling, Control.PreviewMouseDoubleClick, Control.MouseDoubleClick, FrameworkElement.StyleProperty, FrameworkElement.OverridesDefaultStyleProperty, FrameworkElement.UseLayoutRoundingProperty, FrameworkElement.DefaultStyleKeyProperty, FrameworkElement.DataContextProperty, FrameworkElement.BindingGroupProperty, FrameworkElement.LanguageProperty, FrameworkElement.NameProperty, FrameworkElement.TagProperty, FrameworkElement.InputScopeProperty, FrameworkElement.RequestBringIntoViewEvent, FrameworkElement.SizeChangedEvent, FrameworkElement.ActualWidthProperty, FrameworkElement.ActualHeightProperty, FrameworkElement.LayoutTransformProperty, FrameworkElement.WidthProperty, FrameworkElement.MinWidthProperty, FrameworkElement.MaxWidthProperty, FrameworkElement.HeightProperty, FrameworkElement.MinHeightProperty, FrameworkElement.MaxHeightProperty, FrameworkElement.FlowDirectionProperty, FrameworkElement.MarginProperty, FrameworkElement.HorizontalAlignmentProperty, FrameworkElement.VerticalAlignmentProperty, FrameworkElement.FocusVisualStyleProperty, FrameworkElement.CursorProperty, FrameworkElement.ForceCursorProperty, FrameworkElement.LoadedEvent, FrameworkElement.UnloadedEvent, FrameworkElement.ToolTipProperty, FrameworkElement.ContextMenuProperty, FrameworkElement.ToolTipOpeningEvent, FrameworkElement.ToolTipClosingEvent, FrameworkElement.ContextMenuOpeningEvent, FrameworkElement.ContextMenuClosingEvent, FrameworkElement.OnStyleChanged(Style, Style), FrameworkElement.ParentLayoutInvalidated(UIElement), FrameworkElement.ApplyTemplate(), FrameworkElement.OnApplyTemplate(), FrameworkElement.BeginStoryboard(Storyboard), FrameworkElement.BeginStoryboard(Storyboard, HandoffBehavior), FrameworkElement.BeginStoryboard(Storyboard, HandoffBehavior, bool), FrameworkElement.GetVisualChild(int), FrameworkElement.GetTemplateChild(string), FrameworkElement.FindResource(object), FrameworkElement.TryFindResource(object), FrameworkElement.SetResourceReference(DependencyProperty, object), FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs), FrameworkElement.OnVisualParentChanged(DependencyObject), FrameworkElement.GetBindingExpression(DependencyProperty), FrameworkElement.SetBinding(DependencyProperty, BindingBase), FrameworkElement.SetBinding(DependencyProperty, string), FrameworkElement.GetUIParentCore(), FrameworkElement.BringIntoView(), FrameworkElement.BringIntoView(Rect), FrameworkElement.GetFlowDirection(DependencyObject), FrameworkElement.SetFlowDirection(DependencyObject, FlowDirection), FrameworkElement.MeasureCore(Size), FrameworkElement.ArrangeCore(Rect), FrameworkElement.OnRenderSizeChanged(SizeChangedInfo), FrameworkElement.GetLayoutClip(Size), FrameworkElement.MeasureOverride(Size), FrameworkElement.ArrangeOverride(Size), FrameworkElement.MoveFocus(TraversalRequest), FrameworkElement.PredictFocus(FocusNavigationDirection), FrameworkElement.OnGotFocus(RoutedEventArgs), FrameworkElement.BeginInit(), FrameworkElement.EndInit(), FrameworkElement.OnInitialized(EventArgs), FrameworkElement.OnToolTipOpening(ToolTipEventArgs), FrameworkElement.OnToolTipClosing(ToolTipEventArgs), FrameworkElement.OnContextMenuOpening(ContextMenuEventArgs), FrameworkElement.OnContextMenuClosing(ContextMenuEventArgs), FrameworkElement.RegisterName(string, object), FrameworkElement.UnregisterName(string), FrameworkElement.FindName(string), FrameworkElement.UpdateDefaultStyle(), FrameworkElement.AddLogicalChild(object), FrameworkElement.RemoveLogicalChild(object), FrameworkElement.Style, FrameworkElement.OverridesDefaultStyle, FrameworkElement.UseLayoutRounding, FrameworkElement.DefaultStyleKey, FrameworkElement.Triggers, FrameworkElement.TemplatedParent, FrameworkElement.VisualChildrenCount, FrameworkElement.Resources, FrameworkElement.InheritanceBehavior, FrameworkElement.DataContext, FrameworkElement.BindingGroup, FrameworkElement.Language, FrameworkElement.Name, FrameworkElement.Tag, FrameworkElement.InputScope, FrameworkElement.ActualWidth, FrameworkElement.ActualHeight, FrameworkElement.LayoutTransform, FrameworkElement.Width, FrameworkElement.MinWidth, FrameworkElement.MaxWidth, FrameworkElement.Height, FrameworkElement.MinHeight, FrameworkElement.MaxHeight, FrameworkElement.FlowDirection, FrameworkElement.Margin, FrameworkElement.HorizontalAlignment, FrameworkElement.VerticalAlignment, FrameworkElement.FocusVisualStyle, FrameworkElement.Cursor, FrameworkElement.ForceCursor, FrameworkElement.IsInitialized, FrameworkElement.IsLoaded, FrameworkElement.ToolTip, FrameworkElement.ContextMenu, FrameworkElement.Parent, FrameworkElement.LogicalChildren, FrameworkElement.TargetUpdated, FrameworkElement.SourceUpdated, FrameworkElement.DataContextChanged, FrameworkElement.RequestBringIntoView, FrameworkElement.SizeChanged, FrameworkElement.Initialized, FrameworkElement.Loaded, FrameworkElement.Unloaded, FrameworkElement.ToolTipOpening, FrameworkElement.ToolTipClosing, FrameworkElement.ContextMenuOpening, FrameworkElement.ContextMenuClosing, UIElement.PreviewMouseDownEvent, UIElement.MouseDownEvent, UIElement.PreviewMouseUpEvent, UIElement.MouseUpEvent, UIElement.PreviewMouseLeftButtonDownEvent, UIElement.MouseLeftButtonDownEvent, UIElement.PreviewMouseLeftButtonUpEvent, UIElement.MouseLeftButtonUpEvent, UIElement.PreviewMouseRightButtonDownEvent, UIElement.MouseRightButtonDownEvent, UIElement.PreviewMouseRightButtonUpEvent, UIElement.MouseRightButtonUpEvent, UIElement.PreviewMouseMoveEvent, UIElement.MouseMoveEvent, UIElement.PreviewMouseWheelEvent, UIElement.MouseWheelEvent, UIElement.MouseEnterEvent, UIElement.MouseLeaveEvent, UIElement.GotMouseCaptureEvent, UIElement.LostMouseCaptureEvent, UIElement.QueryCursorEvent, UIElement.PreviewStylusDownEvent, UIElement.StylusDownEvent, UIElement.PreviewStylusUpEvent, UIElement.StylusUpEvent, UIElement.PreviewStylusMoveEvent, UIElement.StylusMoveEvent, UIElement.PreviewStylusInAirMoveEvent, UIElement.StylusInAirMoveEvent, UIElement.StylusEnterEvent, UIElement.StylusLeaveEvent, UIElement.PreviewStylusInRangeEvent, UIElement.StylusInRangeEvent, UIElement.PreviewStylusOutOfRangeEvent, UIElement.StylusOutOfRangeEvent, UIElement.PreviewStylusSystemGestureEvent, UIElement.StylusSystemGestureEvent, UIElement.GotStylusCaptureEvent, UIElement.LostStylusCaptureEvent, UIElement.StylusButtonDownEvent, UIElement.StylusButtonUpEvent, UIElement.PreviewStylusButtonDownEvent, UIElement.PreviewStylusButtonUpEvent, UIElement.PreviewKeyDownEvent, UIElement.KeyDownEvent, UIElement.PreviewKeyUpEvent, UIElement.KeyUpEvent, UIElement.PreviewGotKeyboardFocusEvent, UIElement.GotKeyboardFocusEvent, UIElement.PreviewLostKeyboardFocusEvent, UIElement.LostKeyboardFocusEvent, UIElement.PreviewTextInputEvent, UIElement.TextInputEvent, UIElement.PreviewQueryContinueDragEvent, UIElement.QueryContinueDragEvent, UIElement.PreviewGiveFeedbackEvent, UIElement.GiveFeedbackEvent, UIElement.PreviewDragEnterEvent, UIElement.DragEnterEvent, UIElement.PreviewDragOverEvent, UIElement.DragOverEvent, UIElement.PreviewDragLeaveEvent, UIElement.DragLeaveEvent, UIElement.PreviewDropEvent, UIElement.DropEvent, UIElement.PreviewTouchDownEvent, UIElement.TouchDownEvent, UIElement.PreviewTouchMoveEvent, UIElement.TouchMoveEvent, UIElement.PreviewTouchUpEvent, UIElement.TouchUpEvent, UIElement.GotTouchCaptureEvent, UIElement.LostTouchCaptureEvent, UIElement.TouchEnterEvent, UIElement.TouchLeaveEvent, UIElement.IsMouseDirectlyOverProperty, UIElement.IsMouseOverProperty, UIElement.IsStylusOverProperty, UIElement.IsKeyboardFocusWithinProperty, UIElement.IsMouseCapturedProperty, UIElement.IsMouseCaptureWithinProperty, UIElement.IsStylusDirectlyOverProperty, UIElement.IsStylusCapturedProperty, UIElement.IsStylusCaptureWithinProperty, UIElement.IsKeyboardFocusedProperty, UIElement.AreAnyTouchesDirectlyOverProperty, UIElement.AreAnyTouchesOverProperty, UIElement.AreAnyTouchesCapturedProperty, UIElement.AreAnyTouchesCapturedWithinProperty, UIElement.AllowDropProperty, UIElement.RenderTransformProperty, UIElement.RenderTransformOriginProperty, UIElement.OpacityProperty, UIElement.OpacityMaskProperty, UIElement.BitmapEffectProperty, UIElement.EffectProperty, UIElement.BitmapEffectInputProperty, UIElement.CacheModeProperty, UIElement.UidProperty, UIElement.VisibilityProperty, UIElement.ClipToBoundsProperty, UIElement.ClipProperty, UIElement.SnapsToDevicePixelsProperty, UIElement.GotFocusEvent, UIElement.LostFocusEvent, UIElement.IsFocusedProperty, UIElement.IsEnabledProperty, UIElement.IsHitTestVisibleProperty, UIElement.IsVisibleProperty, UIElement.FocusableProperty, UIElement.IsManipulationEnabledProperty, UIElement.ManipulationStartingEvent, UIElement.ManipulationStartedEvent, UIElement.ManipulationDeltaEvent, UIElement.ManipulationInertiaStartingEvent, UIElement.ManipulationBoundaryFeedbackEvent, UIElement.ManipulationCompletedEvent, UIElement.ApplyAnimationClock(DependencyProperty, AnimationClock), UIElement.ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior), UIElement.BeginAnimation(DependencyProperty, AnimationTimeline), UIElement.BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior), UIElement.GetAnimationBaseValue(DependencyProperty), UIElement.RaiseEvent(RoutedEventArgs), UIElement.AddHandler(RoutedEvent, Delegate), UIElement.AddHandler(RoutedEvent, Delegate, bool), UIElement.RemoveHandler(RoutedEvent, Delegate), UIElement.AddToEventRoute(EventRoute, RoutedEventArgs), UIElement.OnPreviewMouseDown(MouseButtonEventArgs), UIElement.OnMouseDown(MouseButtonEventArgs), UIElement.OnPreviewMouseUp(MouseButtonEventArgs), UIElement.OnMouseUp(MouseButtonEventArgs), UIElement.OnPreviewMouseLeftButtonDown(MouseButtonEventArgs), UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs), UIElement.OnPreviewMouseLeftButtonUp(MouseButtonEventArgs), UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs), UIElement.OnPreviewMouseRightButtonDown(MouseButtonEventArgs), UIElement.OnMouseRightButtonDown(MouseButtonEventArgs), UIElement.OnPreviewMouseRightButtonUp(MouseButtonEventArgs), UIElement.OnMouseRightButtonUp(MouseButtonEventArgs), UIElement.OnPreviewMouseMove(MouseEventArgs), UIElement.OnMouseMove(MouseEventArgs), UIElement.OnPreviewMouseWheel(MouseWheelEventArgs), UIElement.OnMouseWheel(MouseWheelEventArgs), UIElement.OnMouseEnter(MouseEventArgs), UIElement.OnMouseLeave(MouseEventArgs), UIElement.OnGotMouseCapture(MouseEventArgs), UIElement.OnLostMouseCapture(MouseEventArgs), UIElement.OnQueryCursor(QueryCursorEventArgs), UIElement.OnPreviewStylusDown(StylusDownEventArgs), UIElement.OnStylusDown(StylusDownEventArgs), UIElement.OnPreviewStylusUp(StylusEventArgs), UIElement.OnStylusUp(StylusEventArgs), UIElement.OnPreviewStylusMove(StylusEventArgs), UIElement.OnStylusMove(StylusEventArgs), UIElement.OnPreviewStylusInAirMove(StylusEventArgs), UIElement.OnStylusInAirMove(StylusEventArgs), UIElement.OnStylusEnter(StylusEventArgs), UIElement.OnStylusLeave(StylusEventArgs), UIElement.OnPreviewStylusInRange(StylusEventArgs), UIElement.OnStylusInRange(StylusEventArgs), UIElement.OnPreviewStylusOutOfRange(StylusEventArgs), UIElement.OnStylusOutOfRange(StylusEventArgs), UIElement.OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs), UIElement.OnStylusSystemGesture(StylusSystemGestureEventArgs), UIElement.OnGotStylusCapture(StylusEventArgs), UIElement.OnLostStylusCapture(StylusEventArgs), UIElement.OnStylusButtonDown(StylusButtonEventArgs), UIElement.OnStylusButtonUp(StylusButtonEventArgs), UIElement.OnPreviewStylusButtonDown(StylusButtonEventArgs), UIElement.OnPreviewStylusButtonUp(StylusButtonEventArgs), UIElement.OnPreviewKeyDown(KeyEventArgs), UIElement.OnKeyDown(KeyEventArgs), UIElement.OnPreviewKeyUp(KeyEventArgs), UIElement.OnKeyUp(KeyEventArgs), UIElement.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs), UIElement.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs), UIElement.OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs), UIElement.OnLostKeyboardFocus(KeyboardFocusChangedEventArgs), UIElement.OnPreviewTextInput(TextCompositionEventArgs), UIElement.OnTextInput(TextCompositionEventArgs), UIElement.OnPreviewQueryContinueDrag(QueryContinueDragEventArgs), UIElement.OnQueryContinueDrag(QueryContinueDragEventArgs), UIElement.OnPreviewGiveFeedback(GiveFeedbackEventArgs), UIElement.OnGiveFeedback(GiveFeedbackEventArgs), UIElement.OnPreviewDragEnter(DragEventArgs), UIElement.OnDragEnter(DragEventArgs), UIElement.OnPreviewDragOver(DragEventArgs), UIElement.OnDragOver(DragEventArgs), UIElement.OnPreviewDragLeave(DragEventArgs), UIElement.OnDragLeave(DragEventArgs), UIElement.OnPreviewDrop(DragEventArgs), UIElement.OnDrop(DragEventArgs), UIElement.OnPreviewTouchDown(TouchEventArgs), UIElement.OnTouchDown(TouchEventArgs), UIElement.OnPreviewTouchMove(TouchEventArgs), UIElement.OnTouchMove(TouchEventArgs), UIElement.OnPreviewTouchUp(TouchEventArgs), UIElement.OnTouchUp(TouchEventArgs), UIElement.OnGotTouchCapture(TouchEventArgs), UIElement.OnLostTouchCapture(TouchEventArgs), UIElement.OnTouchEnter(TouchEventArgs), UIElement.OnTouchLeave(TouchEventArgs), UIElement.OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs), UIElement.OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs), UIElement.InvalidateMeasure(), UIElement.InvalidateArrange(), UIElement.InvalidateVisual(), UIElement.OnChildDesiredSizeChanged(UIElement), UIElement.Measure(Size), UIElement.Arrange(Rect), UIElement.OnRender(DrawingContext), UIElement.OnRenderSizeChanged(SizeChangedInfo), UIElement.MeasureCore(Size), UIElement.ArrangeCore(Rect), UIElement.OnVisualParentChanged(DependencyObject), UIElement.GetUIParentCore(), UIElement.UpdateLayout(), UIElement.TranslatePoint(Point, UIElement), UIElement.InputHitTest(Point), UIElement.CaptureMouse(), UIElement.ReleaseMouseCapture(), UIElement.CaptureStylus(), UIElement.ReleaseStylusCapture(), UIElement.Focus(), UIElement.MoveFocus(TraversalRequest), UIElement.PredictFocus(FocusNavigationDirection), UIElement.OnAccessKey(AccessKeyEventArgs), UIElement.HitTestCore(PointHitTestParameters), UIElement.HitTestCore(GeometryHitTestParameters), UIElement.GetLayoutClip(Size), UIElement.OnGotFocus(RoutedEventArgs), UIElement.OnLostFocus(RoutedEventArgs), UIElement.OnCreateAutomationPeer(), UIElement.OnManipulationStarting(ManipulationStartingEventArgs), UIElement.OnManipulationStarted(ManipulationStartedEventArgs), UIElement.OnManipulationDelta(ManipulationDeltaEventArgs), UIElement.OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs), UIElement.OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs), UIElement.OnManipulationCompleted(ManipulationCompletedEventArgs), UIElement.CaptureTouch(TouchDevice), UIElement.ReleaseTouchCapture(TouchDevice), UIElement.ReleaseAllTouchCaptures(), UIElement.HasAnimatedProperties, UIElement.InputBindings, UIElement.CommandBindings, UIElement.AllowDrop, UIElement.StylusPlugIns, UIElement.DesiredSize, UIElement.IsMeasureValid, UIElement.IsArrangeValid, UIElement.RenderSize, UIElement.RenderTransform, UIElement.RenderTransformOrigin, UIElement.IsMouseDirectlyOver, UIElement.IsMouseOver, UIElement.IsStylusOver, UIElement.IsKeyboardFocusWithin, UIElement.IsMouseCaptured, UIElement.IsMouseCaptureWithin, UIElement.IsStylusDirectlyOver, UIElement.IsStylusCaptured, UIElement.IsStylusCaptureWithin, UIElement.IsKeyboardFocused, UIElement.IsInputMethodEnabled, UIElement.Opacity, UIElement.OpacityMask, UIElement.BitmapEffect, UIElement.Effect, UIElement.BitmapEffectInput, UIElement.CacheMode, UIElement.Uid, UIElement.Visibility, UIElement.ClipToBounds, UIElement.Clip, UIElement.SnapsToDevicePixels, UIElement.HasEffectiveKeyboardFocus, UIElement.IsFocused, UIElement.IsEnabled, UIElement.IsEnabledCore, UIElement.IsHitTestVisible, UIElement.IsVisible, UIElement.Focusable, UIElement.PersistId, UIElement.IsManipulationEnabled, UIElement.AreAnyTouchesOver, UIElement.AreAnyTouchesDirectlyOver, UIElement.AreAnyTouchesCapturedWithin, UIElement.AreAnyTouchesCaptured, UIElement.TouchesCaptured, UIElement.TouchesCapturedWithin, UIElement.TouchesOver, UIElement.TouchesDirectlyOver, UIElement.PreviewMouseDown, UIElement.MouseDown, UIElement.PreviewMouseUp, UIElement.MouseUp, UIElement.PreviewMouseLeftButtonDown, UIElement.MouseLeftButtonDown, UIElement.PreviewMouseLeftButtonUp, UIElement.MouseLeftButtonUp, UIElement.PreviewMouseRightButtonDown, UIElement.MouseRightButtonDown, UIElement.PreviewMouseRightButtonUp, UIElement.MouseRightButtonUp, UIElement.PreviewMouseMove, UIElement.MouseMove, UIElement.PreviewMouseWheel, UIElement.MouseWheel, UIElement.MouseEnter, UIElement.MouseLeave, UIElement.GotMouseCapture, UIElement.LostMouseCapture, UIElement.QueryCursor, UIElement.PreviewStylusDown, UIElement.StylusDown, UIElement.PreviewStylusUp, UIElement.StylusUp, UIElement.PreviewStylusMove, UIElement.StylusMove, UIElement.PreviewStylusInAirMove, UIElement.StylusInAirMove, UIElement.StylusEnter, UIElement.StylusLeave, UIElement.PreviewStylusInRange, UIElement.StylusInRange, UIElement.PreviewStylusOutOfRange, UIElement.StylusOutOfRange, UIElement.PreviewStylusSystemGesture, UIElement.StylusSystemGesture, UIElement.GotStylusCapture, UIElement.LostStylusCapture, UIElement.StylusButtonDown, UIElement.StylusButtonUp, UIElement.PreviewStylusButtonDown, UIElement.PreviewStylusButtonUp, UIElement.PreviewKeyDown, UIElement.KeyDown, UIElement.PreviewKeyUp, UIElement.KeyUp, UIElement.PreviewGotKeyboardFocus, UIElement.GotKeyboardFocus, UIElement.PreviewLostKeyboardFocus, UIElement.LostKeyboardFocus, UIElement.PreviewTextInput, UIElement.TextInput, UIElement.PreviewQueryContinueDrag, UIElement.QueryContinueDrag, UIElement.PreviewGiveFeedback, UIElement.GiveFeedback, UIElement.PreviewDragEnter, UIElement.DragEnter, UIElement.PreviewDragOver, UIElement.DragOver, UIElement.PreviewDragLeave, UIElement.DragLeave, UIElement.PreviewDrop, UIElement.Drop, UIElement.PreviewTouchDown, UIElement.TouchDown, UIElement.PreviewTouchMove, UIElement.TouchMove, UIElement.PreviewTouchUp, UIElement.TouchUp, UIElement.GotTouchCapture, UIElement.LostTouchCapture, UIElement.TouchEnter, UIElement.TouchLeave, UIElement.IsMouseDirectlyOverChanged, UIElement.IsKeyboardFocusWithinChanged, UIElement.IsMouseCapturedChanged, UIElement.IsMouseCaptureWithinChanged, UIElement.IsStylusDirectlyOverChanged, UIElement.IsStylusCapturedChanged, UIElement.IsStylusCaptureWithinChanged, UIElement.IsKeyboardFocusedChanged, UIElement.LayoutUpdated, UIElement.GotFocus, UIElement.LostFocus, UIElement.IsEnabledChanged, UIElement.IsHitTestVisibleChanged, UIElement.IsVisibleChanged, UIElement.FocusableChanged, UIElement.ManipulationStarting, UIElement.ManipulationStarted, UIElement.ManipulationDelta, UIElement.ManipulationInertiaStarting, UIElement.ManipulationBoundaryFeedback, UIElement.ManipulationCompleted, Visual.HitTestCore(PointHitTestParameters), Visual.HitTestCore(GeometryHitTestParameters), Visual.GetVisualChild(int), Visual.AddVisualChild(Visual), Visual.RemoveVisualChild(Visual), Visual.OnVisualParentChanged(DependencyObject), Visual.OnVisualChildrenChanged(DependencyObject, DependencyObject), Visual.OnDpiChanged(DpiScale, DpiScale), Visual.IsAncestorOf(DependencyObject), Visual.IsDescendantOf(DependencyObject), Visual.FindCommonVisualAncestor(DependencyObject), Visual.TransformToAncestor(Visual), Visual.TransformToAncestor(Visual3D), Visual.TransformToDescendant(Visual), Visual.TransformToVisual(Visual), Visual.PointToScreen(Point), Visual.PointFromScreen(Point), Visual.VisualChildrenCount, Visual.VisualParent, Visual.VisualTransform, Visual.VisualEffect, Visual.VisualBitmapEffect, Visual.VisualBitmapEffectInput, Visual.VisualCacheMode, Visual.VisualScrollableAreaClip, Visual.VisualClip, Visual.VisualOffset, Visual.VisualOpacity, Visual.VisualEdgeMode, Visual.VisualBitmapScalingMode, Visual.VisualClearTypeHint, Visual.VisualTextRenderingMode, Visual.VisualTextHintingMode, Visual.VisualOpacityMask, Visual.VisualXSnappingGuidelines, Visual.VisualYSnappingGuidelines, DependencyObject.Equals(object), DependencyObject.GetHashCode(), DependencyObject.GetValue(DependencyProperty), DependencyObject.SetValue(DependencyProperty, object), DependencyObject.SetCurrentValue(DependencyProperty, object), DependencyObject.SetValue(DependencyPropertyKey, object), DependencyObject.ClearValue(DependencyProperty), DependencyObject.ClearValue(DependencyPropertyKey), DependencyObject.CoerceValue(DependencyProperty), DependencyObject.InvalidateProperty(DependencyProperty), DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs), DependencyObject.ShouldSerializeProperty(DependencyProperty), DependencyObject.ReadLocalValue(DependencyProperty), DependencyObject.GetLocalValueEnumerator(), DependencyObject.DependencyObjectType, DependencyObject.IsSealed, DispatcherObject.Dispatcher, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

AbstractPlugInWindow(ILogger)

Creates a new instance of the view.

Fields

_forceClose

Used to allow the window to close without the closing check.

_logger

The logger to use.

_variableScope

A scope object used to managed the FileValue objects created as part of the legacy UI components that work in PHXVariables instead of IRuntimeVariable. Note that currently the tree control and properties control do not maintain this as an exhaustive list, but merely keep track of FileValue objects.

Properties

_cancelButton

Reference to the derived window's cancel button, if applicable.
This is checked against where the user clicks in Phoenix.ComponentPlugInSDK.Views.AbstractPlugInWindow.AbstractPlugInWindow_PreviewMouseDown(System.Object,System.Windows.Input.MouseButtonEventArgs)
to allow bypassing the initial form validation if they wish to cancel.

_editVariablesButton

The button that is used to launch the VariableEditor View. It's Visibility will be Collapsed if editing variables is not supported.

_treeControl

The TreeControl for editing variables.

_treeControlHost

The WindowsFormsHost that contains the TreeControl.

Methods

EditVariablesButton_Click(object, RoutedEventArgs)

Show the edit variables dialog.

TreeCtrlHost_GotKeyboardFocus(object, KeyboardFocusChangedEventArgs)

Called when the TreeCtrl gets focus.

TrySaveAsync()

Request that window be saved. If there are no unsaved changes, this function can simply do nothing and return true. If there are unsaved changes, the user should be presented with Yes/No/Cancel options.

_programmaticClose()

Closes the view without the closing check.

_showErrorDialog(Exception)

Display an error message to the user.

_updateAbstractWindow(IPlugInViewModel, VariableTreeProperties)

Sets the viewModel for the View. Also updates the TreeCtrl

Connect with Ansys