Search Results for

    Show / Hide Table of Contents

    Class FormsWindow

    Represent a Window Forms implementation on WindowSystem.

    Inheritance
    object
    Surface
    Window
    FormsWindow
    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.Forms
    Assembly: Evergine.Forms.dll
    Syntax
    public class FormsWindow : Window

    Constructors

    FormsWindow(string, uint, uint, bool)

    Initializes a new instance of the FormsWindow class. Create Forms Window.

    Declaration
    public FormsWindow(string title, uint width, uint height, bool visible)
    Parameters
    Type Name Description
    string title

    Window title.

    uint width

    Window width.

    uint height

    Window height.

    bool visible

    Window visibility.

    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

    MouseDispatcher

    Gets the mouse event dispatcher associated with this surface.

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

    NativeWindow

    Gets or sets forms Window instance.

    Declaration
    public EvergineForm NativeWindow { get; protected set; }
    Property Value
    Type Description
    EvergineForm

    Title

    Gets or sets the window title.

    Declaration
    public override string Title { get; set; }
    Property Value
    Type Description
    string
    Overrides
    Window.Title

    TouchDispatcher

    Gets the touch events dispatcher associated with this surface.

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

    Visible

    Gets or sets a value indicating whether the window is visible.

    Declaration
    public override bool Visible { get; set; }
    Property Value
    Type Description
    bool
    Overrides
    Window.Visible

    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