Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    WindowHandle Class

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    A platform specific window handle.

    System.Object → WindowHandle
    Derived from WindowHandle:

    public class WindowHandle
    Name Description
    Constructors
    WindowHandle(AppContextType, Object, IntPtr)

    Initializes a new instance of the WindowHandle class.

    Fields
    Context

    The context.

    Properties
    Handle

    The associated platform specific handle of NativeWindow.

    NativeWindow

    The native windows as an opaque System.Object.

    | Improve this Doc View Source

    Constructors


    WindowHandle(AppContextType, Object, IntPtr)

    Initializes a new instance of the WindowHandle class.

    public WindowHandle(AppContextType context, object nativeWindow, IntPtr handle)
    Parameters
    Type Name Description
    AppContextType context

    The context.

    System.Object nativeWindow

    The native window instance (Winforms, SDLWindow, ...).

    System.IntPtr handle

    The associated handle of nativeWindow.

    | Improve this Doc View Source

    Fields


    Context

    The context.

    public readonly AppContextType Context
    Field Value
    Type Description
    AppContextType
    | Improve this Doc View Source

    Properties


    Handle

    The associated platform specific handle of NativeWindow.

    public IntPtr Handle { get; }
    Property Value
    Type Description
    System.IntPtr

    NativeWindow

    The native windows as an opaque System.Object.

    public object NativeWindow { get; }
    Property Value
    Type Description
    System.Object

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation