Class VisualizationPanel

Reusable panel that hosts one or more visualization monitors (Scope, Spider, Heatmap) with individual toggle buttons and a continuous size slider. Each visualization can be independently shown/hidden; hidden monitors are paused to save resources.

When this panel is detached from the visual tree (e.g. scrolled off-screen), it notifies the bound BlockVisualization via NotifyDetached() so that Feed(Vector<double>?) calls are suppressed. This prevents LiveCharts2 VectorManager crashes that occur when series data is mutated while the chart is not attached to a render context. On re-attachment, NotifyAttached() is called and all visible slots have their views rebuilt and monitors resumed.

Usage: bind the optional Scope / Spider / Heatmap properties to the block's ViewModel. Only monitors that are bound (non-null) will show a toggle button.

Inheritance
AvaloniaObject
Animatable
StyledElement
Visual
Layoutable
Interactive
InputElement
Control
TemplatedControl
ContentControl
UserControl
VisualizationPanel
Implements
IAvaloniaObjectDebug
IDataContextProvider
ILogical
IThemeVariantHost
IResourceHost
IResourceNode
IStyleHost
ISetLogicalParent
ISetInheritanceParent
INamed
IAvaloniaListItemValidator<ILogical>
IAvaloniaListItemValidator<Visual>
IInputElement
IDataTemplateHost
IVisualBrushInitialize
ISetterValue
IContentControl
IContentPresenterHost
Inherited Members
UserControl.OnCreateAutomationPeer()
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.OnApplyTemplate(TemplateAppliedEventArgs)
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.MeasureCore(Size)
Layoutable.MeasureOverride(Size)
Layoutable.ArrangeCore(Rect)
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.IAvaloniaListItemValidator<Visual>.Validate(Visual)
Visual.InvalidateMirrorTransform()
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.BypassFlowDirectionPolicies
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.StyleKeyOverride
StyledElement.ILogical.IsAttachedToLogicalTree
StyledElement.Parent
StyledElement.ActualThemeVariant
StyledElement.ILogical.LogicalParent
StyledElement.ILogical.LogicalChildren
StyledElement.IResourceNode.HasResources
StyledElement.IStyleHost.IsStylesInitialized
StyledElement.IStyleHost.StylingParent
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.Visualization
Assembly: MOSAIC.dll
Syntax
public class VisualizationPanel : UserControl, IAvaloniaObjectDebug, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, INamed, IAvaloniaListItemValidator<ILogical>, IAvaloniaListItemValidator<Visual>, IInputElement, IDataTemplateHost, IVisualBrushInitialize, ISetterValue, IContentControl, IContentPresenterHost

Constructors

VisualizationPanel()

Declaration
public VisualizationPanel()

Fields

HeatmapProperty

Declaration
public static readonly StyledProperty<HeatMapMonitor?> HeatmapProperty
Field Value
Type Description
StyledProperty<HeatMapMonitor>

HeatmapVisibleByDefaultProperty

Declaration
public static readonly StyledProperty<bool> HeatmapVisibleByDefaultProperty
Field Value
Type Description
StyledProperty<bool>

HeightRanges

Declaration
private static readonly Dictionary<VisualizationType, HeightRange> HeightRanges
Field Value
Type Description
Dictionary<VisualizationType, HeightRange>

ScopeProperty

Declaration
public static readonly StyledProperty<ScopeMonitor?> ScopeProperty
Field Value
Type Description
StyledProperty<ScopeMonitor>

ScopeVisibleByDefaultProperty

Declaration
public static readonly StyledProperty<bool> ScopeVisibleByDefaultProperty
Field Value
Type Description
StyledProperty<bool>

ShowScopeViewModeToggleProperty

Declaration
public static readonly StyledProperty<bool> ShowScopeViewModeToggleProperty
Field Value
Type Description
StyledProperty<bool>

SourceProperty

Declaration
public static readonly StyledProperty<BlockVisualization?> SourceProperty
Field Value
Type Description
StyledProperty<BlockVisualization>

SpiderProperty

Declaration
public static readonly StyledProperty<SpiderMonitor?> SpiderProperty
Field Value
Type Description
StyledProperty<SpiderMonitor>

SpiderVisibleByDefaultProperty

Declaration
public static readonly StyledProperty<bool> SpiderVisibleByDefaultProperty
Field Value
Type Description
StyledProperty<bool>

ToggleTheme

Declaration
private static readonly ControlTheme ToggleTheme
Field Value
Type Description
ControlTheme

_attachedSource

Declaration
private BlockVisualization? _attachedSource
Field Value
Type Description
BlockVisualization

_contentStack

Declaration
private StackPanel? _contentStack
Field Value
Type Description
StackPanel

_isAttached

Declaration
private bool _isAttached
Field Value
Type Description
bool

_popoutButton

Declaration
private Button? _popoutButton
Field Value
Type Description
Button

_popoutPanel

Declaration
private VisualizationPanel? _popoutPanel
Field Value
Type Description
VisualizationPanel

_popoutWindow

Declaration
private Window? _popoutWindow
Field Value
Type Description
Window

_resolvingSource

Declaration
private bool _resolvingSource
Field Value
Type Description
bool

_slots

Declaration
private readonly Dictionary<VisualizationType, VisualizationPanel.SlotState> _slots
Field Value
Type Description
Dictionary<VisualizationType, VisualizationPanel.SlotState>

_themeSubscribed

Declaration
private bool _themeSubscribed
Field Value
Type Description
bool

_toggleBar

Declaration
private StackPanel? _toggleBar
Field Value
Type Description
StackPanel

Properties

Heatmap

Declaration
public HeatMapMonitor? Heatmap { get; set; }
Property Value
Type Description
HeatMapMonitor

HeatmapVisibleByDefault

Declaration
public bool HeatmapVisibleByDefault { get; set; }
Property Value
Type Description
bool

Scope

Declaration
public ScopeMonitor? Scope { get; set; }
Property Value
Type Description
ScopeMonitor

ScopeVisibleByDefault

Declaration
public bool ScopeVisibleByDefault { get; set; }
Property Value
Type Description
bool

ShowScopeViewModeToggle

Declaration
public bool ShowScopeViewModeToggle { get; set; }
Property Value
Type Description
bool

Source

Shortcut: bind a BlockVisualization and all three monitors (Scope, Spider, Heatmap) are wired automatically. If set, individual Scope/Spider/Heatmap properties are ignored.

Declaration
public BlockVisualization? Source { get; set; }
Property Value
Type Description
BlockVisualization

Spider

Declaration
public SpiderMonitor? Spider { get; set; }
Property Value
Type Description
SpiderMonitor

SpiderVisibleByDefault

Declaration
public bool SpiderVisibleByDefault { get; set; }
Property Value
Type Description
bool

Methods

AttachSourceWhenReady(BlockVisualization?)

Declaration
private void AttachSourceWhenReady(BlockVisualization? source)
Parameters
Type Name Description
BlockVisualization source

BuildToggleTheme()

Builds the Avalonia.Styling.ControlTheme shared by every slot toggle button. The default Fluent template applies theme- and OS-accent brushes in its :pointerover and :checked states, which override the colours set in UpdateToggleAppearance(SlotState). This minimal template binds only to the control's own brushes, so the toggle always renders the MOSAIC theme colours regardless of the host operating system.

Declaration
private static ControlTheme BuildToggleTheme()
Returns
Type Description
ControlTheme

CreateHeatmapView()

Declaration
private Control CreateHeatmapView()
Returns
Type Description
Control

CreateLayout()

Declaration
private void CreateLayout()

CreateScopeView()

Declaration
private Control CreateScopeView()
Returns
Type Description
Control

CreateSlot(VisualizationType)

Declaration
private VisualizationPanel.SlotState CreateSlot(VisualizationType type)
Parameters
Type Name Description
VisualizationType type
Returns
Type Description
VisualizationPanel.SlotState

CreateSpiderView()

Declaration
private Control CreateSpiderView()
Returns
Type Description
Control

DefaultVisible(VisualizationType)

Declaration
private bool DefaultVisible(VisualizationType type)
Parameters
Type Name Description
VisualizationType type
Returns
Type Description
bool

DetachSource()

Declaration
private void DetachSource()

EnsureSourceMonitor(VisualizationType)

Declaration
private void EnsureSourceMonitor(VisualizationType type)
Parameters
Type Name Description
VisualizationType type

ForceRefresh()

Forces all visible slots to recreate their views. Resume happens automatically when each child view attaches to the visual tree.

Declaration
public void ForceRefresh()

GetToggleLabel(VisualizationType)

Declaration
private static string GetToggleLabel(VisualizationType type)
Parameters
Type Name Description
VisualizationType type
Returns
Type Description
string

OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)

Called when the control is added to a rooted visual tree.

Declaration
protected override void OnAttachedToVisualTree(VisualTreeAttachmentEventArgs e)
Parameters
Type Name Description
VisualTreeAttachmentEventArgs e

The event args.

Overrides
Avalonia.Visual.OnAttachedToVisualTree(Avalonia.VisualTreeAttachmentEventArgs)

OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)

Called when the control is removed from a rooted visual tree.

Declaration
protected override void OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs e)
Parameters
Type Name Description
VisualTreeAttachmentEventArgs e

The event args.

Overrides
Avalonia.Visual.OnDetachedFromVisualTree(Avalonia.VisualTreeAttachmentEventArgs)

OnMonitorChanged(VisualizationType, object?, object?)

Declaration
private void OnMonitorChanged(VisualizationType type, object? oldMonitor, object? newMonitor)
Parameters
Type Name Description
VisualizationType type
object oldMonitor
object newMonitor

OnPopoutClicked(object?, RoutedEventArgs)

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

OnPropertyChanged(AvaloniaPropertyChangedEventArgs)

Called when a avalonia property changes on the object.

Declaration
protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change)
Parameters
Type Name Description
AvaloniaPropertyChangedEventArgs change

The property change details.

Overrides
Avalonia.Controls.ContentControl.OnPropertyChanged(Avalonia.AvaloniaPropertyChangedEventArgs)

OnThemeChanged(object?, AppTheme)

Declaration
private void OnThemeChanged(object? sender, AppTheme theme)
Parameters
Type Name Description
object sender
AppTheme theme

PauseMonitor(VisualizationType, object?)

Declaration
private void PauseMonitor(VisualizationType type, object? explicitMonitor = null)
Parameters
Type Name Description
VisualizationType type
object explicitMonitor

RemoveSlot(VisualizationType, SlotState)

Declaration
private void RemoveSlot(VisualizationType type, VisualizationPanel.SlotState slot)
Parameters
Type Name Description
VisualizationType type
VisualizationPanel.SlotState slot

ResumeMonitor(VisualizationType)

Declaration
private void ResumeMonitor(VisualizationType type)
Parameters
Type Name Description
VisualizationType type

ResumeMonitorAfterCancelledDetach(VisualizationType)

Resumes a monitor after a rapid detach/re-attach cycle where the deferred wrapper child removal was cancelled. With ScottPlot, no VectorManager or chart-ready gating is needed — just resume data flow.

Declaration
private void ResumeMonitorAfterCancelledDetach(VisualizationType type)
Parameters
Type Name Description
VisualizationType type

SetSlotVisible(VisualizationType, SlotState, bool)

Declaration
private void SetSlotVisible(VisualizationType type, VisualizationPanel.SlotState slot, bool visible)
Parameters
Type Name Description
VisualizationType type
VisualizationPanel.SlotState slot
bool visible

SubscribeTheme()

Declaration
private void SubscribeTheme()

UpdateSlotView(VisualizationType, SlotState)

Declaration
private void UpdateSlotView(VisualizationType type, VisualizationPanel.SlotState slot)
Parameters
Type Name Description
VisualizationType type
VisualizationPanel.SlotState slot

UpdateToggleAppearance(SlotState)

Declaration
private void UpdateToggleAppearance(VisualizationPanel.SlotState slot)
Parameters
Type Name Description
VisualizationPanel.SlotState slot

Implements

Avalonia.Diagnostics.IAvaloniaObjectDebug
INotifyPropertyChanged
Avalonia.IDataContextProvider
Avalonia.LogicalTree.ILogical
Avalonia.Styling.IThemeVariantHost
Avalonia.Controls.IResourceHost
Avalonia.Controls.IResourceNode
Avalonia.Styling.IStyleHost
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

Search documentation

Start typing to search the documentation.