Search Results for

    Show / Hide Table of Contents

    Class WPFSurface

    Represents a control/widget on a WindowsSystem.

    Inheritance
    object
    Surface
    WPFSurface
    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.WPF
    Assembly: Evergine.WPF.dll
    Syntax
    public class WPFSurface : Surface

    Constructors

    WPFSurface(uint, uint)

    Initializes a new instance of the WPFSurface class.

    Declaration
    public WPFSurface(uint width, uint height)
    Parameters
    Type Name Description
    uint width

    Window width.

    uint height

    Window height.

    Properties

    IsLoaded

    Gets a value indicating whether this surface is loaded.

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

    KeyboardDispatcher

    Gets the keyboard event dispatcher associated with this surface.

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

    MouseDispatcher

    Gets the mouse event dispatcher associated with this surface.

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

    NativeControl

    Gets the native WPF framework element.

    Declaration
    public FrameworkElement NativeControl { get; }
    Property Value
    Type Description
    FrameworkElement

    NativeWindow

    Gets the native WPF Window.

    Declaration
    public Window NativeWindow { get; }
    Property Value
    Type Description
    Window

    OverrideFrontBufferAvailability

    Gets or sets a value indicating whether the Evergine app must keep rendering even if the front buffer is not available in EvergineD3D11Image.

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

    SurfaceUpdatedAction

    Gets or sets Render action.

    Declaration
    public Action<nint> SurfaceUpdatedAction { get; set; }
    Property Value
    Type Description
    Action<nint>

    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)
    In this article
    Back to top
    Generated by DocFX