Search Results for

    Show / Hide Table of Contents

    Class WinUISurface

    Represent a control on a WinUI application.

    Inheritance
    object
    Surface
    WinUISurface
    Inherited Members
    Surface.SurfaceInfo
    Surface.Width
    Surface.Height
    Surface.DPIDensity
    Surface.OnScreenSizeChanged
    Surface.OnSurfaceInfoChanged
    Surface.Closing
    Surface.GotFocus
    Surface.LostFocus
    Surface.Dispose()
    Surface.OnClosing()
    Surface.OnGotFocus()
    Surface.OnLostFocus()
    Surface.OnSizeChanged()
    Surface.OnInfoChanged()
    Namespace: Evergine.WinUI
    Assembly: Evergine.WinUI.dll
    Syntax
    public class WinUISurface : Surface

    Constructors

    WinUISurface()

    Initializes a new instance of the WinUISurface class.

    Declaration
    public WinUISurface()

    WinUISurface(SwapChainPanel)

    Initializes a new instance of the WinUISurface class.

    Declaration
    public WinUISurface(SwapChainPanel swapChainPanel)
    Parameters
    Type Name Description
    SwapChainPanel swapChainPanel

    The swap chain panel.

    Fields

    NativeSurface

    The native surface.

    Declaration
    public readonly WinUISwapChainPanelTarget NativeSurface
    Field Value
    Type Description
    WinUISwapChainPanelTarget

    SwapChainPanel

    The swap chain panel.

    Declaration
    public readonly SwapChainPanel SwapChainPanel
    Field Value
    Type Description
    SwapChainPanel

    Properties

    KeyboardDispatcher

    Gets the keyboard event dispatcher associated with this surface.

    Declaration
    public override KeyboardDispatcher KeyboardDispatcher { get; }
    Property Value
    Type Description
    KeyboardDispatcher
    Overrides
    Surface.KeyboardDispatcher

    LoadAction

    Sets the load action.

    Declaration
    public Action LoadAction { set; }
    Property Value
    Type Description
    Action

    MouseDispatcher

    Gets the mouse event dispatcher associated with this surface.

    Declaration
    public override MouseDispatcher MouseDispatcher { get; }
    Property Value
    Type Description
    MouseDispatcher
    Overrides
    Surface.MouseDispatcher

    RenderCallback

    Sets the render callback.

    Declaration
    public Action RenderCallback { set; }
    Property Value
    Type Description
    Action

    TouchDispatcher

    Gets the touch events dispatcher associated with this surface.

    Declaration
    public override PointerDispatcher TouchDispatcher { get; }
    Property Value
    Type Description
    PointerDispatcher
    Overrides
    Surface.TouchDispatcher

    Methods

    Destroy()

    Removes managed resources.

    Declaration
    protected override void Destroy()
    Overrides
    Surface.Destroy()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)

    See Also

    Surface
    In this article
    Back to top
    Generated by DocFX