Provides the ability to create, configure, show, and manage the lifetime of windows and dialog boxes. Namespace: Microsoft.Surface.Presentation.Controls
Assembly: Microsoft.Surface.Presentation (in Microsoft.Surface.Presentation)
The SurfaceWindow class derives from the Window class and provides several enhancements that are required for the Microsoft Surface environment.
A SurfaceWindow control provides and activates the necessary event handlers to make sure that it receives touch events and displays Touch Visualizations. By default, SurfaceWindow appears maximized.
|Do not specify values for the properties that are related to window size (for example, the inherited Height and Width properties). If you specify size values, your application will not be displayed in full-screen mode when running in the Surface environment (in Surface Shell, on a device made for Surface).|
On systems with multiple monitors, a SurfaceWindow control automatically recognizes which monitor is the touch-sensitive surface and displays itself there.
|Operating System (OS)||Windows 7|
|Software Developer Kit (SDK)||Surface 2.0 |
.NET Framework 4
|Developer environment||Visual Studio 2010, Express or full edition|
Microsoft Expression Blend 4.0 (optional)
|End-user hardware||Devices made for Surface 2.0, or |
Windows Touch computers
Did you find this information useful? Please send us your suggestions and comments.
© Microsoft Corporation. All rights reserved.