C# Класс Eto.Forms.Window

Base window
Наследование: Eto.Forms.Panel
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Window System

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
Window ( ) : System

Описание методов

BringToFront() публичный Метод

Brings the window in front of all other windows in the z-order.
public BringToFront ( ) : void
Результат void

Close() публичный Метод

Closes the window
Note that once a window is closed, it cannot be shown again in most platforms.
public Close ( ) : void
Результат void

GetCallback() защищенный Метод

Gets an instance of an object used to perform callbacks to the widget from handler implementations
protected GetCallback ( ) : object
Результат object

Maximize() публичный Метод

Sets WindowState to Eto.Forms.WindowState.Maximized
public Maximize ( ) : void
Результат void

Minimize() публичный Метод

Sets WindowState to Eto.Forms.WindowState.Minimized
public Minimize ( ) : void
Результат void

OnClosed() защищенный Метод

Raises the Closed event.
protected OnClosed ( EventArgs e ) : void
e System.EventArgs Event arguments
Результат void

OnClosing() защищенный Метод

Raises the Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs Event arguments
Результат void

OnDataContextChanged() защищенный Метод

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
Результат void

OnLocationChanged() защищенный Метод

Raises the LocationChanged event.
protected OnLocationChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Результат void

OnLogicalPixelSizeChanged() защищенный Метод

Raises the LogicalPixelSizeChanged event.
protected OnLogicalPixelSizeChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Результат void

OnOwnerChanged() защищенный Метод

Raises the OwnerChanged event.
protected OnOwnerChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Результат void

OnWindowStateChanged() защищенный Метод

Raises the WindowStateChanged event.
protected OnWindowStateChanged ( EventArgs e ) : void
e System.EventArgs Event arguments
Результат void

SendToBack() публичный Метод

Sends the window behind all other windows in the z-order.
public SendToBack ( ) : void
Результат void

Window() защищенный Метод

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
Результат System