C# Class Eto.Forms.Window

Base window
Inheritance: Eto.Forms.Panel
Afficher le fichier Open project: picoe/Eto Class Usage Examples

Private Properties

Свойство Type Description
Window System

Méthodes publiques

Méthode Description
BringToFront ( ) : void

Brings the window in front of all other windows in the z-order.

Close ( ) : void

Closes the window

Note that once a window is closed, it cannot be shown again in most platforms.

Maximize ( ) : void

Sets WindowState to Eto.Forms.WindowState.Maximized

Minimize ( ) : void

Sets WindowState to Eto.Forms.WindowState.Minimized

SendToBack ( ) : void

Sends the window behind all other windows in the z-order.

Méthodes protégées

Méthode Description
GetCallback ( ) : object

Gets an instance of an object used to perform callbacks to the widget from handler implementations

OnClosed ( EventArgs e ) : void

Raises the Closed event.

OnClosing ( CancelEventArgs e ) : void

Raises the Closing event.

OnDataContextChanged ( EventArgs e ) : void

Raises the BindableWidget.DataContextChanged event

Implementors may override this to fire this event on child widgets in a heirarchy. This allows a control to be bound to its own BindableWidget.DataContext, which would be set on one of the parent control(s).

OnLocationChanged ( EventArgs e ) : void

Raises the LocationChanged event.

OnLogicalPixelSizeChanged ( EventArgs e ) : void

Raises the LogicalPixelSizeChanged event.

OnOwnerChanged ( EventArgs e ) : void

Raises the OwnerChanged event.

OnWindowStateChanged ( EventArgs e ) : void

Raises the WindowStateChanged event.

Window ( IHandler handler ) : System

Initializes a new instance of the Window with the specified handler

Private Methods

Méthode Description
Window ( ) : System

Method Details

BringToFront() public méthode

Brings the window in front of all other windows in the z-order.
public BringToFront ( ) : void
Résultat void

Close() public méthode

Closes the window
Note that once a window is closed, it cannot be shown again in most platforms.
public Close ( ) : void
Résultat void

GetCallback() protected méthode

Gets an instance of an object used to perform callbacks to the widget from handler implementations
protected GetCallback ( ) : object
Résultat object

Maximize() public méthode

Sets WindowState to Eto.Forms.WindowState.Maximized
public Maximize ( ) : void
Résultat void

Minimize() public méthode

Sets WindowState to Eto.Forms.WindowState.Minimized
public Minimize ( ) : void
Résultat void

OnClosed() protected méthode

Raises the Closed event.
protected OnClosed ( EventArgs e ) : void
e System.EventArgs Event arguments
Résultat void

OnClosing() protected méthode

Raises the Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs Event arguments
Résultat void

OnDataContextChanged() protected méthode

Raises the BindableWidget.DataContextChanged event
Implementors may override this to fire this event on child widgets in a heirarchy. This allows a control to be bound to its own BindableWidget.DataContext, which would be set on one of the parent control(s).
protected OnDataContextChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Résultat void

OnLocationChanged() protected méthode

Raises the LocationChanged event.
protected OnLocationChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Résultat void

OnLogicalPixelSizeChanged() protected méthode

Raises the LogicalPixelSizeChanged event.
protected OnLogicalPixelSizeChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Résultat void

OnOwnerChanged() protected méthode

Raises the OwnerChanged event.
protected OnOwnerChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Résultat void

OnWindowStateChanged() protected méthode

Raises the WindowStateChanged event.
protected OnWindowStateChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Résultat void

SendToBack() public méthode

Sends the window behind all other windows in the z-order.
public SendToBack ( ) : void
Résultat void

Window() protected méthode

Initializes a new instance of the Window with the specified handler
protected Window ( IHandler handler ) : System
handler IHandler Pre-created handler to attach to this instance
Résultat System