VisioForge (c) 2025

Search Results for

    Class VideoView

    VideoView control for Avalonia.

    Inheritance
    object
    AvaloniaObject
    Animatable
    StyledElement
    Visual
    Layoutable
    Interactive
    InputElement
    Control
    Panel
    VideoView
    Implements
    INotifyPropertyChanged
    IDataContextProvider
    ILogical
    IThemeVariantHost
    IResourceHost
    IResourceNode
    IStyleHost
    ISetLogicalParent
    ISetInheritanceParent
    ISupportInitialize
    IStyleable
    INamed
    IInputElement
    IDataTemplateHost
    ISetterValue
    IChildIndexProvider
    IVideoView
    IDisposable
    Inherited Members
    Panel.BackgroundProperty
    Panel.Render(DrawingContext)
    Panel.AffectsParentArrange<TPanel>(params AvaloniaProperty[])
    Panel.AffectsParentMeasure<TPanel>(params AvaloniaProperty[])
    Panel.ChildrenChanged(object, NotifyCollectionChangedEventArgs)
    Panel.Children
    Panel.Background
    Panel.IsItemsHost
    Control.FocusAdornerProperty
    Control.TagProperty
    Control.ContextMenuProperty
    Control.ContextFlyoutProperty
    Control.RequestBringIntoViewEvent
    Control.ContextRequestedEvent
    Control.LoadedEvent
    Control.UnloadedEvent
    Control.SizeChangedEvent
    Control.GetTemplateFocusTarget()
    Control.OnLoaded(RoutedEventArgs)
    Control.OnUnloaded(RoutedEventArgs)
    Control.OnSizeChanged(SizeChangedEventArgs)
    Control.OnAttachedToVisualTreeCore(VisualTreeAttachmentEventArgs)
    Control.OnDetachedFromVisualTreeCore(VisualTreeAttachmentEventArgs)
    Control.OnGotFocus(GotFocusEventArgs)
    Control.OnLostFocus(RoutedEventArgs)
    Control.OnCreateAutomationPeer()
    Control.OnPointerReleased(PointerReleasedEventArgs)
    Control.OnKeyUp(KeyEventArgs)
    Control.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
    Control.FocusAdorner
    Control.DataTemplates
    Control.ContextMenu
    Control.ContextFlyout
    Control.IsLoaded
    Control.Tag
    Control.ContextRequested
    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.LostFocusEvent
    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.TappedEvent
    InputElement.HoldingEvent
    InputElement.DoubleTappedEvent
    InputElement.Focus(NavigationMethod, KeyModifiers)
    InputElement.OnKeyDown(KeyEventArgs)
    InputElement.OnTextInput(TextInputEventArgs)
    InputElement.OnPointerEntered(PointerEventArgs)
    InputElement.OnPointerExited(PointerEventArgs)
    InputElement.OnPointerMoved(PointerEventArgs)
    InputElement.OnPointerPressed(PointerPressedEventArgs)
    InputElement.OnPointerCaptureLost(PointerCaptureLostEventArgs)
    InputElement.OnPointerWheelChanged(PointerWheelEventArgs)
    InputElement.UpdateIsEffectivelyEnabled()
    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.LostFocus
    InputElement.KeyDown
    InputElement.KeyUp
    InputElement.TextInput
    InputElement.TextInputMethodClientRequested
    InputElement.PointerEntered
    InputElement.PointerExited
    InputElement.PointerMoved
    InputElement.PointerPressed
    InputElement.PointerReleased
    InputElement.PointerCaptureLost
    InputElement.PointerWheelChanged
    InputElement.Tapped
    InputElement.Holding
    InputElement.DoubleTapped
    Interactive.AddHandler(RoutedEvent, Delegate, RoutingStrategies, bool)
    Interactive.AddHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>, RoutingStrategies, bool)
    Interactive.RemoveHandler(RoutedEvent, Delegate)
    Interactive.RemoveHandler<TEventArgs>(RoutedEvent<TEventArgs>, EventHandler<TEventArgs>)
    Interactive.RaiseEvent(RoutedEventArgs)
    Interactive.BuildEventRoute(RoutedEvent)
    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.ApplyTemplate()
    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.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.EffectProperty
    Visual.HasMirrorTransformProperty
    Visual.RenderTransformProperty
    Visual.RenderTransformOriginProperty
    Visual.FlowDirectionProperty
    Visual.VisualParentProperty
    Visual.ZIndexProperty
    Visual.GetFlowDirection(Visual)
    Visual.SetFlowDirection(Visual, FlowDirection)
    Visual.InvalidateVisual()
    Visual.AffectsRender<T>(params AvaloniaProperty[])
    Visual.LogicalChildrenCollectionChanged(object, NotifyCollectionChangedEventArgs)
    Visual.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)
    Visual.OnDetachedFromVisualTree(VisualTreeAttachmentEventArgs)
    Visual.InvalidateMirrorTransform()
    Visual.Bounds
    Visual.ClipToBounds
    Visual.Clip
    Visual.IsEffectivelyVisible
    Visual.IsVisible
    Visual.Opacity
    Visual.OpacityMask
    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.TryGetResource(object, ThemeVariant, out object)
    StyledElement.OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs)
    StyledElement.OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)
    StyledElement.OnDataContextChanged(EventArgs)
    StyledElement.OnDataContextBeginUpdate()
    StyledElement.OnDataContextEndUpdate()
    StyledElement.OnInitialized()
    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.Parent
    StyledElement.ActualThemeVariant
    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.Equals(object)
    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(AvaloniaProperty, object, BindingPriority)
    AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)
    AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)
    AvaloniaObject.SetCurrentValue(AvaloniaProperty, object)
    AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)
    AvaloniaObject.Bind(AvaloniaProperty, IBinding)
    AvaloniaObject.Bind(AvaloniaProperty, IObservable<object>, BindingPriority)
    AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<object>, BindingPriority)
    AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<T>, BindingPriority)
    AvaloniaObject.Bind<T>(StyledProperty<T>, IObservable<BindingValue<T>>, BindingPriority)
    AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<object>)
    AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<T>)
    AvaloniaObject.Bind<T>(DirectPropertyBase<T>, IObservable<BindingValue<T>>)
    AvaloniaObject.CoerceValue(AvaloniaProperty)
    AvaloniaObject.UpdateDataValidation(AvaloniaProperty, BindingValueType, Exception)
    AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)
    AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)
    AvaloniaObject.InheritanceParent
    AvaloniaObject.this[AvaloniaProperty]
    AvaloniaObject.this[IndexerDescriptor]
    AvaloniaObject.PropertyChanged
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.UI.Avalonia
    Assembly: VisioForge.Core.UI.Avalonia.dll
    Syntax
    public class VideoView : Panel, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue, IChildIndexProvider, IVideoView, IDisposable

    Constructors

    VideoView()

    Initializes a new instance of the VideoView class.

    Declaration
    public VideoView()

    Methods

    Attach(IMPVCVECore)

    Attaches parent.

    Declaration
    public void Attach(IMPVCVECore parent)
    Parameters
    Type Name Description
    IMPVCVECore parent

    Parent.

    AttachPipeline(MediaBlocksPipeline)

    Attaches the pipeline.

    Declaration
    public void AttachPipeline(MediaBlocksPipeline pipeline)
    Parameters
    Type Name Description
    MediaBlocksPipeline pipeline

    The pipeline.

    CallInvoke(Delegate, params object[])

    Calls the invoke.

    Declaration
    public void CallInvoke(Delegate method, params object[] args)
    Parameters
    Type Name Description
    Delegate method

    The method.

    object[] args

    The arguments.

    CallRefresh()

    Calls the refresh.

    Declaration
    public void CallRefresh()

    ClearUI()

    Clears the UI.

    Declaration
    public void ClearUI()

    Detach(IMPVCVECore)

    Detaches the specified parent.

    Declaration
    public void Detach(IMPVCVECore parent)
    Parameters
    Type Name Description
    IMPVCVECore parent

    The parent.

    DetachPipeline()

    Detaches the pipeline.

    Declaration
    public void DetachPipeline()

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    ~VideoView()

    Finalizes an instance of the VideoView class.

    Declaration
    protected ~VideoView()

    GetBackgroundColor()

    Gets the color of the background.

    Declaration
    public SKColor GetBackgroundColor()
    Returns
    Type Description
    SKColor

    SKColor.

    GetHandle()

    Gets window handle (if available).

    Declaration
    public nint GetHandle()
    Returns
    Type Description
    nint

    Returns nint.

    GetInvokeRequired()

    Gets the invoke required.

    Declaration
    public bool GetInvokeRequired()
    Returns
    Type Description
    bool

    true if the invoke is required, false otherwise.

    GetIsHandleCreated()

    Gets the is handle created.

    Declaration
    public bool GetIsHandleCreated()
    Returns
    Type Description
    bool

    true if the handle is created, false otherwise.

    GetSize()

    Gets size.

    Declaration
    public Size GetSize()
    Returns
    Type Description
    Size

    Return Size.

    GetUIEngine()

    Gets UI engine.

    Declaration
    public VideoViewUIEngine GetUIEngine()
    Returns
    Type Description
    VideoViewUIEngine

    Returns VideoViewUIEngine.

    InvokeStart()

    Invokes Start().

    Declaration
    public void InvokeStart()

    InvokeStartComplete()

    Invokes Start(), complete.

    Declaration
    public void InvokeStartComplete()

    InvokeStop()

    Invokes Stop().

    Declaration
    public void InvokeStop()

    InvokeVideoRendererUpdate()

    Invokes VideoRendererUpdate().

    Declaration
    public void InvokeVideoRendererUpdate()

    LogDialogClear()

    Clears logs dialog.

    Declaration
    public void LogDialogClear()

    LogDialogClose()

    Closes logs dialog.

    Declaration
    public void LogDialogClose()

    LogDialogError(string)

    Logs the error in dialog.

    Declaration
    public void LogDialogError(string msg)
    Parameters
    Type Name Description
    string msg

    The message.

    PictureBoxCreate(int, int)

    Create the PictureBox.

    Declaration
    public void PictureBoxCreate(int width, int height)
    Parameters
    Type Name Description
    int width

    The width.

    int height

    The height.

    PictureBoxDestroy()

    Destroys the PictureBox.

    Declaration
    public void PictureBoxDestroy()

    PictureBoxExists()

    Is the PictureBox exists.

    Declaration
    public bool PictureBoxExists()
    Returns
    Type Description
    bool

    true if exists, false otherwise.

    PictureBoxGetImage()

    Gets the PictureBox image.

    Declaration
    public Bitmap PictureBoxGetImage()
    Returns
    Type Description
    Bitmap

    Bitmap.

    PictureBoxSetImage(Bitmap)

    Set the image on PictureBox.

    Declaration
    public void PictureBoxSetImage(Bitmap image)
    Parameters
    Type Name Description
    Bitmap image

    The image.

    PushMouseButtonDown(int, int, MouseButton)

    Pushes the mouse button down.

    Declaration
    public void PushMouseButtonDown(int x, int y, MouseButton button)
    Parameters
    Type Name Description
    int x

    The x.

    int y

    The y.

    MouseButton button

    The button.

    PushMouseButtonUp(int, int, MouseButton)

    Pushes the mouse button up.

    Declaration
    public void PushMouseButtonUp(int x, int y, MouseButton button)
    Parameters
    Type Name Description
    int x

    The x.

    int y

    The y.

    MouseButton button

    The button.

    PushMouseMove(int, int)

    Pushes the mouse move.

    Declaration
    public void PushMouseMove(int x, int y)
    Parameters
    Type Name Description
    int x

    The x.

    int y

    The y.

    Refresh()

    Refreshes this instance.

    Declaration
    public void Refresh()

    ResizeRoundTo(int)

    Resizes the VideoView round to value.

    Declaration
    public void ResizeRoundTo(int round)
    Parameters
    Type Name Description
    int round

    The value.

    SetHandle(nint)

    Sets the handle. Not implemented.

    Declaration
    public void SetHandle(nint handle)
    Parameters
    Type Name Description
    nint handle

    The handle.

    Exceptions
    Type Condition
    NotImplementedException

    Not implemened.

    ShowMessage(string)

    Shows the message.

    Declaration
    public MessageBoxResult ShowMessage(string message)
    Parameters
    Type Name Description
    string message

    The message.

    Returns
    Type Description
    MessageBoxResult

    MessageBoxResult.

    ShowMessageEx(string, string, MessageBoxDialogButtons)

    Shows the message.

    Declaration
    public MessageBoxResult ShowMessageEx(string message, string caption, MessageBoxDialogButtons buttons)
    Parameters
    Type Name Description
    string message

    The message.

    string caption

    The caption.

    MessageBoxDialogButtons buttons

    The buttons.

    Returns
    Type Description
    MessageBoxResult

    MessageBoxResult.

    Events

    OnMouseButtonDown

    Occurs when mouse button down.

    Declaration
    public event EventHandler<MouseButtonEventArgs> OnMouseButtonDown
    Event Type
    Type Description
    EventHandler<MouseButtonEventArgs>

    OnMouseButtonUp

    Occurs when mouse button up.

    Declaration
    public event EventHandler<MouseButtonEventArgs> OnMouseButtonUp
    Event Type
    Type Description
    EventHandler<MouseButtonEventArgs>

    OnMouseMoved

    Occurs when mouse moved.

    Declaration
    public event EventHandler<MouseMoveEventArgs> OnMouseMoved
    Event Type
    Type Description
    EventHandler<MouseMoveEventArgs>

    Implements

    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.Styling.IStyleable
    Avalonia.INamed
    Avalonia.Input.IInputElement
    Avalonia.Controls.Templates.IDataTemplateHost
    Avalonia.Styling.ISetterValue
    Avalonia.LogicalTree.IChildIndexProvider
    IVideoView
    IDisposable