MainWindow Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the main window of the current application.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Property MainWindow As Window
public Window MainWindow { get; set; }
public:
property Window^ MainWindow {
    Window^ get ();
    void set (Window^ value);
}
member MainWindow : Window with get, set
function get MainWindow () : Window
function set MainWindow (value : Window)

Property Value

Type: Microsoft.SPOT.Presentation. . :: . .Window
A Window object that represents the current application's main window.

.NET Framework Security

See Also

Reference

Application Class

Microsoft.SPOT Namespace