Class ScopeMonitorWindow

A single window that shows the live scope of every scope-capable block in the pipeline at once.

Each card renders a ScopeMonitor that is registered as a mirror of the block's real scope (AddMirror(ChannelRingMonitorBase)), so it replays exactly the data the block feeds its own inline card — after any tail-extraction, tuple-unwrapping or electrode stripping the block already performs — rather than re-deriving it from the block's published output. Blocks that expose several scopes (e.g. Muovi's EMG + IMU, SiFi's EMG/IMU/PPG/…) get one card each.

Inheritance
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
TemplatedControl
ContentControl
TopLevel
WindowBase
Window
ScopeMonitorWindow
Implements
IAvaloniaObjectDebug
IDataContextProvider
IThemeVariantHost
IResourceHost
IResourceNode
ISetLogicalParent
ISetInheritanceParent
INamed
IAvaloniaListItemValidator<ILogical>
IAvaloniaListItemValidator<Visual>
IInputElement
IDataTemplateHost
IVisualBrushInitialize
ISetterValue
IContentControl
IContentPresenterHost
ICloseable
IStyleHost
ILogicalRoot
ILogical
IFocusScope
Inherited Members
Window.SizeToContentProperty
Window.ExtendClientAreaToDecorationsHintProperty
Window.ExtendClientAreaTitleBarHeightHintProperty
Window.IsExtendedIntoWindowDecorationsProperty
Window.WindowDecorationMarginProperty
Window.OffScreenMarginProperty
Window.WindowDecorationsProperty
Window.WindowDecorationsThemeProperty
Window.ShowActivatedProperty
Window.ShowInTaskbarProperty
Window.ClosingBehaviorProperty
Window.WindowStateProperty
Window.TitleProperty
Window.IconProperty
Window.WindowStartupLocationProperty
Window.CanResizeProperty
Window.CanMinimizeProperty
Window.CanMaximizeProperty
Window.WindowClosedEvent
Window.WindowOpenedEvent
Window.BeginMoveDrag(PointerPressedEventArgs)
Window.BeginResizeDrag(WindowEdge, PointerPressedEventArgs)
Window.Close()
Window.HandleClosing(WindowCloseReason)
Window.Hide()
Window.Show()
Window.OnApplyTemplate(TemplateAppliedEventArgs)
Window.IsVisibleChanged(AvaloniaPropertyChangedEventArgs)
Window.Show(Window)
Window.ShowDialog(Window)
Window.ShowDialog<TResult>(Window)
Window.MeasureOverride(Size)
Window.ArrangeSetBounds(Size)
Window.HandleClosed()
Window.HandleResized(Size, WindowResizeReason)
Window.OnClosing(WindowClosingEventArgs)
Window.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
Window.OnCreateAutomationPeer()
Window.PlatformImpl
Window.OwnedWindows
Window.SizeToContent
Window.Title
Window.ExtendClientAreaToDecorationsHint
Window.ExtendClientAreaTitleBarHeightHint
Window.IsExtendedIntoWindowDecorations
Window.WindowDecorationMargin
Window.OffScreenMargin
Window.WindowDecorations
Window.WindowDecorationsTheme
Window.SystemDecorations
Window.ShowActivated
Window.ShowInTaskbar
Window.ClosingBehavior
Window.WindowState
Window.CanResize
Window.CanMinimize
Window.CanMaximize
Window.Icon
Window.WindowStartupLocation
Window.Position
Window.IsDialog
Window.StyleKeyOverride
Window.Closing
WindowBase.IsActiveProperty
WindowBase.OwnerProperty
WindowBase.TopmostProperty
WindowBase.FreezeVisibilityChangeHandling()
WindowBase.Activate()
WindowBase.EnsureInitialized()
WindowBase.OnResized(WindowResizedEventArgs)
WindowBase.MeasureCore(Size)
WindowBase.ArrangeCore(Rect)
WindowBase.IgnoreVisibilityChanges
WindowBase.IsActive
WindowBase.Screens
WindowBase.Owner
WindowBase.Topmost
WindowBase.DesktopScaling
WindowBase.DesktopScalingOverride
WindowBase.Activated
WindowBase.Deactivated
WindowBase.PositionChanged
WindowBase.Resized
TopLevel.ClientSizeProperty
TopLevel.FrameSizeProperty
TopLevel.TransparencyLevelHintProperty
TopLevel.ActualTransparencyLevelProperty
TopLevel.TransparencyBackgroundFallbackProperty
TopLevel.ActualThemeVariantProperty
TopLevel.RequestedThemeVariantProperty
TopLevel.SystemBarColorProperty
TopLevel.AutoSafeAreaPaddingProperty
TopLevel.BackRequestedEvent
TopLevel.EnableVisualLayerManagerLayers()
TopLevel.TryGetPlatformHandle()
TopLevel.SetSystemBarColor(Control, SolidColorBrush)
TopLevel.GetSystemBarColor(Control)
TopLevel.GetAutoSafeAreaPadding(Control)
TopLevel.GetTopLevel(Visual)
TopLevel.StartRendering()
TopLevel.StopRendering()
TopLevel.InvalidateMirrorTransform()
TopLevel.VisualLayerManager
TopLevel.ClientSize
TopLevel.FrameSize
TopLevel.TransparencyLevelHint
TopLevel.ActualTransparencyLevel
TopLevel.TransparencyBackgroundFallback
TopLevel.RequestedThemeVariant
TopLevel.RendererDiagnostics
TopLevel.RenderScaling
TopLevel.IStyleHost.StylingParent
TopLevel.StorageProvider
TopLevel.InsetsManager
TopLevel.InputPane
TopLevel.Launcher
TopLevel.Clipboard
TopLevel.FocusManager
TopLevel.BypassFlowDirectionPolicies
TopLevel.Opened
TopLevel.Closed
TopLevel.ScalingChanged
TopLevel.BackRequested
ContentControl.ContentProperty
ContentControl.ContentTemplateProperty
ContentControl.HorizontalContentAlignmentProperty
ContentControl.VerticalContentAlignmentProperty
ContentControl.IContentPresenterHost.RegisterContentPresenter(ContentPresenter)
ContentControl.RegisterContentPresenter(ContentPresenter)
ContentControl.Content
ContentControl.ContentTemplate
ContentControl.Presenter
ContentControl.HorizontalContentAlignment
ContentControl.VerticalContentAlignment
ContentControl.IContentPresenterHost.LogicalChildren
TemplatedControl.BackgroundProperty
TemplatedControl.BackgroundSizingProperty
TemplatedControl.BorderBrushProperty
TemplatedControl.BorderThicknessProperty
TemplatedControl.CornerRadiusProperty
TemplatedControl.FontFamilyProperty
TemplatedControl.FontFeaturesProperty
TemplatedControl.FontSizeProperty
TemplatedControl.FontStyleProperty
TemplatedControl.FontWeightProperty
TemplatedControl.FontStretchProperty
TemplatedControl.ForegroundProperty
TemplatedControl.LetterSpacingProperty
TemplatedControl.PaddingProperty
TemplatedControl.TemplateProperty
TemplatedControl.IsTemplateFocusTargetProperty
TemplatedControl.TemplateAppliedEvent
TemplatedControl.GetIsTemplateFocusTarget(Control)
TemplatedControl.ApplyTemplate()
TemplatedControl.GetTemplateFocusTarget()
TemplatedControl.NotifyChildResourcesChanged(ResourcesChangedEventArgs)
TemplatedControl.OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs)
TemplatedControl.OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)
TemplatedControl.OnTemplateChanged(AvaloniaPropertyChangedEventArgs)
TemplatedControl.OnControlThemeChanged()
TemplatedControl.Background
TemplatedControl.BackgroundSizing
TemplatedControl.BorderBrush
TemplatedControl.BorderThickness
TemplatedControl.CornerRadius
TemplatedControl.FontFamily
TemplatedControl.FontFeatures
TemplatedControl.FontSize
TemplatedControl.FontStyle
TemplatedControl.FontWeight
TemplatedControl.FontStretch
TemplatedControl.Foreground
TemplatedControl.LetterSpacing
TemplatedControl.Padding
TemplatedControl.Template
TemplatedControl.TemplateApplied
Control.FocusAdornerProperty
Control.TagProperty
Control.ContextMenuProperty
Control.ContextFlyoutProperty
Control.RequestBringIntoViewEvent
Control.LoadedEvent
Control.UnloadedEvent
Control.SizeChangedEvent
Control.ISetterValue.Initialize(SetterBase)
Control.IVisualBrushInitialize.EnsureInitialized()
Control.OnLoaded(RoutedEventArgs)
Control.OnUnloaded(RoutedEventArgs)
Control.OnSizeChanged(SizeChangedEventArgs)
Control.OnAttachedToVisualTreeCore(VisualTreeAttachmentEventArgs)
Control.OnDetachedFromVisualTreeCore(VisualTreeAttachmentEventArgs)
Control.OnGotFocus(FocusChangedEventArgs)
Control.OnLostFocus(FocusChangedEventArgs)
Control.OnPointerReleased(PointerReleasedEventArgs)
Control.OnKeyUp(KeyEventArgs)
Control.FocusAdorner
Control.DataTemplates
Control.ContextMenu
Control.ContextFlyout
Control.IsLoaded
Control.Tag
Control.IDataTemplateHost.IsDataTemplatesInitialized
Control.Loaded
Control.Unloaded
Control.SizeChanged
InputElement.FocusableProperty
InputElement.IsEnabledProperty
InputElement.IsEffectivelyEnabledProperty
InputElement.CursorProperty
InputElement.IsKeyboardFocusWithinProperty
InputElement.IsFocusedProperty
InputElement.IsHitTestVisibleProperty
InputElement.IsPointerOverProperty
InputElement.IsTabStopProperty
InputElement.GotFocusEvent
InputElement.GettingFocusEvent
InputElement.LostFocusEvent
InputElement.LosingFocusEvent
InputElement.KeyDownEvent
InputElement.KeyUpEvent
InputElement.TabIndexProperty
InputElement.TextInputEvent
InputElement.TextInputMethodClientRequestedEvent
InputElement.PointerEnteredEvent
InputElement.PointerExitedEvent
InputElement.PointerMovedEvent
InputElement.PointerPressedEvent
InputElement.PointerReleasedEvent
InputElement.PointerCaptureLostEvent
InputElement.PointerWheelChangedEvent
InputElement.ContextRequestedEvent
InputElement.ContextCanceledEvent
InputElement.IsHoldingEnabledProperty
InputElement.IsHoldWithMouseEnabledProperty
InputElement.PinchEvent
InputElement.PinchEndedEvent
InputElement.PullGestureEvent
InputElement.PullGestureEndedEvent
InputElement.SwipeGestureEvent
InputElement.SwipeGestureEndedEvent
InputElement.ScrollGestureEvent
InputElement.ScrollGestureInertiaStartingEvent
InputElement.ScrollGestureEndedEvent
InputElement.PointerTouchPadGestureMagnifyEvent
InputElement.PointerTouchPadGestureRotateEvent
InputElement.PointerTouchPadGestureSwipeEvent
InputElement.TappedEvent
InputElement.RightTappedEvent
InputElement.HoldingEvent
InputElement.DoubleTappedEvent
InputElement.Focus(NavigationMethod, KeyModifiers)
InputElement.OnAccessKey(RoutedEventArgs)
InputElement.OnGettingFocus(FocusChangingEventArgs)
InputElement.OnLosingFocus(FocusChangingEventArgs)
InputElement.OnKeyDown(KeyEventArgs)
InputElement.OnTextInput(TextInputEventArgs)
InputElement.OnPointerEntered(PointerEventArgs)
InputElement.OnPointerExited(PointerEventArgs)
InputElement.OnPointerMoved(PointerEventArgs)
InputElement.OnPointerPressed(PointerPressedEventArgs)
InputElement.GetNextTabStopOverride()
InputElement.GetPreviousTabStopOverride()
InputElement.GetFirstFocusableElementOverride()
InputElement.GetLastFocusableElementOverride()
InputElement.OnPointerCaptureChanging(PointerCaptureChangingEventArgs)
InputElement.OnPointerCaptureLost(PointerCaptureLostEventArgs)
InputElement.OnPointerWheelChanged(PointerWheelEventArgs)
InputElement.OnTapped(TappedEventArgs)
InputElement.OnRightTapped(TappedEventArgs)
InputElement.OnDoubleTapped(TappedEventArgs)
InputElement.OnHolding(HoldingRoutedEventArgs)
InputElement.UpdateIsEffectivelyEnabled()
InputElement.GetIsHoldingEnabled(StyledElement)
InputElement.GetIsHoldWithMouseEnabled(StyledElement)
InputElement.Focusable
InputElement.IsEnabled
InputElement.Cursor
InputElement.IsKeyboardFocusWithin
InputElement.IsFocused
InputElement.IsHitTestVisible
InputElement.IsPointerOver
InputElement.IsTabStop
InputElement.IsEffectivelyEnabled
InputElement.TabIndex
InputElement.KeyBindings
InputElement.IsEnabledCore
InputElement.GestureRecognizers
InputElement.GotFocus
InputElement.GettingFocus
InputElement.LostFocus
InputElement.LosingFocus
InputElement.KeyDown
InputElement.KeyUp
InputElement.TextInput
InputElement.TextInputMethodClientRequested
InputElement.PointerEntered
InputElement.PointerExited
InputElement.PointerMoved
InputElement.PointerPressed
InputElement.PointerReleased
InputElement.PointerCaptureLost
InputElement.PointerWheelChanged
InputElement.ContextRequested
InputElement.ContextCanceled
InputElement.Pinch
InputElement.PinchEnded
InputElement.PullGesture
InputElement.PullGestureEnded
InputElement.ScrollGesture
InputElement.ScrollGestureInertiaStarting
InputElement.ScrollGestureEnded
InputElement.PointerTouchPadGestureMagnify
InputElement.PointerTouchPadGestureRotate
InputElement.SwipeGesture
InputElement.SwipeGestureEnded
InputElement.PointerTouchPadGestureSwipe
InputElement.Tapped
InputElement.RightTapped
InputElement.Holding
InputElement.DoubleTapped
Interactive.RaiseEvent(RoutedEventArgs)
Interactive.BuildEventRoute(RoutedEvent)
Interactive.InteractiveParent
Layoutable.DesiredSizeProperty
Layoutable.WidthProperty
Layoutable.HeightProperty
Layoutable.MinWidthProperty
Layoutable.MaxWidthProperty
Layoutable.MinHeightProperty
Layoutable.MaxHeightProperty
Layoutable.MarginProperty
Layoutable.HorizontalAlignmentProperty
Layoutable.VerticalAlignmentProperty
Layoutable.UseLayoutRoundingProperty
Layoutable.UpdateLayout()
Layoutable.Measure(Size)
Layoutable.Arrange(Rect)
Layoutable.InvalidateMeasure()
Layoutable.InvalidateArrange()
Layoutable.AffectsMeasure<T>(params AvaloniaProperty[])
Layoutable.AffectsArrange<T>(params AvaloniaProperty[])
Layoutable.ArrangeOverride(Size)
Layoutable.OnMeasureInvalidated()
Layoutable.OnVisualParentChanged(Visual, Visual)
Layoutable.OnTemplatedParentControlThemeChanged()
Layoutable.Width
Layoutable.Height
Layoutable.MinWidth
Layoutable.MaxWidth
Layoutable.MinHeight
Layoutable.MaxHeight
Layoutable.Margin
Layoutable.HorizontalAlignment
Layoutable.VerticalAlignment
Layoutable.DesiredSize
Layoutable.IsMeasureValid
Layoutable.IsArrangeValid
Layoutable.UseLayoutRounding
Layoutable.EffectiveViewportChanged
Layoutable.LayoutUpdated
Visual.BoundsProperty
Visual.ClipToBoundsProperty
Visual.ClipProperty
Visual.IsVisibleProperty
Visual.OpacityProperty
Visual.OpacityMaskProperty
Visual.CacheModeProperty
Visual.EffectProperty
Visual.HasMirrorTransformProperty
Visual.RenderTransformProperty
Visual.RenderTransformOriginProperty
Visual.FlowDirectionProperty
Visual.VisualParentProperty
Visual.ZIndexProperty
Visual.CreateCompositionVisual(Compositor)
Visual.DetachFromCompositor()
Visual.SynchronizeCompositionChildVisuals()
Visual.SynchronizeCompositionProperties()
Visual.GetFlowDirection(Visual)
Visual.SetFlowDirection(Visual, FlowDirection)
Visual.InvalidateVisual()
Visual.Render(DrawingContext)
Visual.AffectsRender<T>(params AvaloniaProperty[])
Visual.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)
Visual.OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)
Visual.IAvaloniaListItemValidator<Visual>.Validate(Visual)
Visual.Bounds
Visual.ClipToBounds
Visual.Clip
Visual.IsEffectivelyVisible
Visual.IsVisible
Visual.Opacity
Visual.OpacityMask
Visual.CacheMode
Visual.Effect
Visual.HasMirrorTransform
Visual.RenderTransform
Visual.RenderTransformOrigin
Visual.FlowDirection
Visual.ZIndex
Visual.VisualChildren
Visual.VisualRoot
Visual.AttachedToVisualTree
Visual.DetachedFromVisualTree
StyledElement.DataContextProperty
StyledElement.NameProperty
StyledElement.ParentProperty
StyledElement.TemplatedParentProperty
StyledElement.ThemeProperty
StyledElement.BeginInit()
StyledElement.EndInit()
StyledElement.ApplyStyling()
StyledElement.InitializeIfNeeded()
StyledElement.ILogical.NotifyAttachedToLogicalTree(LogicalTreeAttachmentEventArgs)
StyledElement.ILogical.NotifyDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)
StyledElement.ILogical.NotifyResourcesChanged(ResourcesChangedEventArgs)
StyledElement.IResourceHost.NotifyHostedResourcesChanged(ResourcesChangedEventArgs)
StyledElement.ISetLogicalParent.SetParent(ILogical)
StyledElement.ISetInheritanceParent.SetParent(AvaloniaObject)
StyledElement.OnDataContextBeginUpdate()
StyledElement.OnDataContextEndUpdate()
StyledElement.OnInitialized()
StyledElement.IAvaloniaListItemValidator<ILogical>.Validate(ILogical)
StyledElement.Name
StyledElement.Classes
StyledElement.DataContext
StyledElement.IsInitialized
StyledElement.Styles
StyledElement.StyleKey
StyledElement.Resources
StyledElement.TemplatedParent
StyledElement.Theme
StyledElement.LogicalChildren
StyledElement.PseudoClasses
StyledElement.ILogical.IsAttachedToLogicalTree
StyledElement.Parent
StyledElement.ActualThemeVariant
StyledElement.ILogical.LogicalParent
StyledElement.ILogical.LogicalChildren
StyledElement.IResourceNode.HasResources
StyledElement.IStyleHost.IsStylesInitialized
StyledElement.AttachedToLogicalTree
StyledElement.DetachedFromLogicalTree
StyledElement.DataContextChanged
StyledElement.Initialized
StyledElement.ResourcesChanged
StyledElement.ActualThemeVariantChanged
Animatable.TransitionsProperty
Animatable.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
Animatable.Transitions
AvaloniaObject.CheckAccess()
AvaloniaObject.VerifyAccess()
AvaloniaObject.ClearValue(AvaloniaProperty)
AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)
AvaloniaObject.ClearValue<T>(StyledProperty<T>)
AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)
AvaloniaObject.GetHashCode()
AvaloniaObject.GetValue(AvaloniaProperty)
AvaloniaObject.GetValue<T>(StyledProperty<T>)
AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)
AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)
AvaloniaObject.IsAnimating(AvaloniaProperty)
AvaloniaObject.IsSet(AvaloniaProperty)
AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)
AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)
AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)
AvaloniaObject.Bind(AvaloniaProperty, BindingBase)
AvaloniaObject.CoerceValue(AvaloniaProperty)
AvaloniaObject.IAvaloniaObjectDebug.GetPropertyChangedSubscribers()
AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)
AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)
AvaloniaObject.InheritanceParent
AvaloniaObject.this[AvaloniaProperty]
AvaloniaObject.this[IndexerDescriptor]
AvaloniaObject.Dispatcher
AvaloniaObject.PropertyChanged
Namespace: MOSAIC.Views
Assembly: MOSAIC.dll
Syntax
public class ScopeMonitorWindow : Window, IAvaloniaObjectDebug, INotifyPropertyChanged, IDataContextProvider, IThemeVariantHost, IResourceHost, IResourceNode, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, INamed, IAvaloniaListItemValidator<ILogical>, IAvaloniaListItemValidator<Visual>, IInputElement, IDataTemplateHost, IVisualBrushInitialize, ISetterValue, IContentControl, IContentPresenterHost, ICloseable, IStyleHost, ILogicalRoot, ILogical, IFocusScope

Constructors

ScopeMonitorWindow()

Declaration
public ScopeMonitorWindow()

ScopeMonitorWindow(IEnumerable<BaseBlock>)

Declaration
public ScopeMonitorWindow(IEnumerable<BaseBlock> blocks)
Parameters
Type Name Description
IEnumerable<BaseBlock> blocks

Fields

CardContainer

Declaration
internal StackPanel CardContainer
Field Value
Type Description
StackPanel

EmptyState

Declaration
internal TextBlock EmptyState
Field Value
Type Description
TextBlock

FlexBtn

Declaration
internal Button FlexBtn
Field Value
Type Description
Button

GridBtn

Declaration
internal Button GridBtn
Field Value
Type Description
Button

ScopePropertyCache

Declaration
private static readonly ConcurrentDictionary<Type, bool> ScopePropertyCache
Field Value
Type Description
ConcurrentDictionary<Type, bool>

SpanCombo

Declaration
internal ComboBox SpanCombo
Field Value
Type Description
ComboBox

_cards

Declaration
private readonly List<ScopeMonitorWindow.MirrorCard> _cards
Field Value
Type Description
List<ScopeMonitorWindow.MirrorCard>

_gridMode

Declaration
private bool _gridMode
Field Value
Type Description
bool

_spanReady

Declaration
private bool _spanReady
Field Value
Type Description
bool

_windowSeconds

Declaration
private double _windowSeconds
Field Value
Type Description
double

Properties

IsEmpty

True when the window currently has no scope cards to show.

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
bool

Methods

ApplyLayout()

Declaration
private void ApplyLayout()

BuildCards(IEnumerable<BaseBlock>)

Declaration
private void BuildCards(IEnumerable<BaseBlock> blocks)
Parameters
Type Name Description
IEnumerable<BaseBlock> blocks

ClearCards()

Unregister and dispose every mirror, and drop all cards.

Declaration
private void ClearCards()

CollectScopeSources(BaseBlock)

Finds every ScopeMonitor a block feeds — both the one inside a BlockVisualization and any directly-exposed ScopeMonitor properties (e.g. Muovi's ScopeEmg/ScopeImu). When a block has more than one, each source is labelled with a short suffix derived from its property name.

Declaration
private static List<ScopeMonitorWindow.ScopeSource> CollectScopeSources(BaseBlock block)
Parameters
Type Name Description
BaseBlock block
Returns
Type Description
List<ScopeMonitorWindow.ScopeSource>

CreateCard(MirrorCard, BaseBlock, string?)

Declaration
private Border CreateCard(ScopeMonitorWindow.MirrorCard mc, BaseBlock block, string? suffix)
Parameters
Type Name Description
ScopeMonitorWindow.MirrorCard mc
BaseBlock block
string suffix
Returns
Type Description
Border

HasScopeProperty(BaseBlock)

True if the block type exposes any scope-capable property (used to decide whether the Scope Monitor FAB should be shown at all).

Declaration
internal static bool HasScopeProperty(BaseBlock block)
Parameters
Type Name Description
BaseBlock block
Returns
Type Description
bool

InitSpanCombo()

Declaration
private void InitSpanCombo()

InitializeComponent(bool)

Wires up the controls and optionally loads XAML markup and attaches dev tools (if Avalonia.Diagnostics package is referenced).

Declaration
[ExcludeFromCodeCoverage]
public void InitializeComponent(bool loadXaml = true)
Parameters
Type Name Description
bool loadXaml

Should the XAML be loaded into the component.

MoveCard(MirrorCard, int)

Declaration
private void MoveCard(ScopeMonitorWindow.MirrorCard card, int direction)
Parameters
Type Name Description
ScopeMonitorWindow.MirrorCard card
int direction

OnCardViewportChanged(object?, EffectiveViewportChangedEventArgs)

Viewport gating: cards live in a non-virtualizing StackPanel/WrapPanel, so scrolling never detaches them and every scope would otherwise keep rendering at 30fps off-screen. Here we pause a card's mirror when it leaves the scroll viewport (with a pre-fetch margin) and resume it on re-entry — a paused monitor stops both its ring ingest and its ScottPlot refresh.

Declaration
private void OnCardViewportChanged(object? sender, EffectiveViewportChangedEventArgs e)
Parameters
Type Name Description
object sender
EffectiveViewportChangedEventArgs e

OnClosed(EventArgs)

Raises the Avalonia.Controls.TopLevel.Closed event.

Declaration
protected override void OnClosed(EventArgs e)
Parameters
Type Name Description
EventArgs e

The event args.

Overrides
WindowBase.OnClosed(EventArgs)

OnFlexClicked(object?, RoutedEventArgs)

Declaration
private void OnFlexClicked(object? sender, RoutedEventArgs e)
Parameters
Type Name Description
object sender
RoutedEventArgs e

OnGridClicked(object?, RoutedEventArgs)

Declaration
private void OnGridClicked(object? sender, RoutedEventArgs e)
Parameters
Type Name Description
object sender
RoutedEventArgs e

OnSpanChanged(object?, SelectionChangedEventArgs)

Declaration
private void OnSpanChanged(object? sender, SelectionChangedEventArgs e)
Parameters
Type Name Description
object sender
SelectionChangedEventArgs e

PrettySuffix(string)

Declaration
private static string PrettySuffix(string prop)
Parameters
Type Name Description
string prop
Returns
Type Description
string

Rebind(IEnumerable<BaseBlock>)

Tears down all current mirrors/cards and rebuilds the window from a fresh set of blocks. Called when the pipeline changes (block added/deleted or config reloaded) so the monitor reflects the live blocks instead of continuing to show scopes bound to removed ones.

Declaration
public void Rebind(IEnumerable<BaseBlock> blocks)
Parameters
Type Name Description
IEnumerable<BaseBlock> blocks

ReorderButton(string)

Declaration
private static Button ReorderButton(string glyph)
Parameters
Type Name Description
string glyph
Returns
Type Description
Button

UpdateEdgeButtons()

Disable the top card's ▲ and the bottom card's ▼ so edge buttons don't look clickable.

Declaration
private void UpdateEdgeButtons()

UpdateEmptyState()

Declaration
private void UpdateEmptyState()

UpdateModeButtons()

Declaration
private void UpdateModeButtons()

Implements

Avalonia.Diagnostics.IAvaloniaObjectDebug
INotifyPropertyChanged
Avalonia.IDataContextProvider
Avalonia.Styling.IThemeVariantHost
Avalonia.Controls.IResourceHost
Avalonia.Controls.IResourceNode
Avalonia.Controls.ISetLogicalParent
Avalonia.Controls.ISetInheritanceParent
ISupportInitialize
Avalonia.INamed
Avalonia.Collections.IAvaloniaListItemValidator<T>
Avalonia.Collections.IAvaloniaListItemValidator<T>
Avalonia.Input.IInputElement
Avalonia.Controls.Templates.IDataTemplateHost
Avalonia.Rendering.IVisualBrushInitialize
Avalonia.Styling.ISetterValue
Avalonia.Controls.IContentControl
Avalonia.Controls.Presenters.IContentPresenterHost
Avalonia.Input.ICloseable
Avalonia.Styling.IStyleHost
Avalonia.LogicalTree.ILogicalRoot
Avalonia.LogicalTree.ILogical
Avalonia.Input.IFocusScope

Search documentation

Start typing to search the documentation.