OverlappedPresenter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays an app window using an overlapped configuration.
public ref class OverlappedPresenter sealed : AppWindowPresenter
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class OverlappedPresenter final : AppWindowPresenter
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class OverlappedPresenter : AppWindowPresenter
Public NotInheritable Class OverlappedPresenter
Inherits AppWindowPresenter
- Inheritance
- Attributes
Remarks
The OverlappedPresenter configures a window that can overlap and be overlapped by other windows. It can be resized, repositioned, maximized, minimized, and restored. System elements, like title bars, status bars, or the taskbar, are shown by default.
The default window uses an OverlappedPresenter in the Restored state.
Properties
HasBorder |
Gets a value that indicates whether this window has a border. |
HasTitleBar |
Gets a value that indicates whether this window has a title bar. |
IsAlwaysOnTop |
Gets or sets a value that indicates whether this window will be kept on top of other windows. |
IsMaximizable |
Gets or sets a value that indicates whether this window can be maximized. |
IsMinimizable |
Gets or sets a value that indicates whether this window can be minimized. |
IsModal |
Gets or sets a value that indicates whether this window is modal. |
IsResizable |
Gets or sets a value that indicates whether this window can be resized. |
Kind |
Gets a value that indicates the kind of presenter the app window is using. (Inherited from AppWindowPresenter) |
RequestedStartupState |
Gets a value that specifies the OverlappedPresenterState that the window will assume when AppWindow.ShowOnceWithRequestedStartupState is called. |
State |
Gets the state of the presenter. |
Methods
Create() |
Creates a new instance of |
CreateForContextMenu() |
Creates an |
CreateForDialog() |
Creates an |
CreateForToolWindow() |
Creates an |
Maximize() |
Maximizes the window that the presenter is applied to. |
Minimize() |
Minimizes the window that the presenter is applied to. |
Minimize(Boolean) |
Minimizes the window that the presenter is applied to and optionally makes it active. |
Restore() |
Restores the window to the size and position it had before it was minimized or maximized. |
Restore(Boolean) |
Restores the window that the presenter is applied to and optionally makes it active. |
SetBorderAndTitleBar(Boolean, Boolean) |
Sets the border and title bar properties of the window. |