OverlappedPresenter Class

Definition

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
OverlappedPresenter
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)
State

Gets the state of the presenter.

Methods

Create()

Creates a new instance of OverlappedPresenter.

CreateForContextMenu()

Creates an OverlappedPresenter object pre-populated with the values for a context menu.

CreateForDialog()

Creates an OverlappedPresenter object pre-populated with the values for a dialog.

CreateForToolWindow()

Creates an OverlappedPresenter object pre-populated with the values for a tool window.

Maximize()

Maximizes the window that the presenter is applied to.

Minimize()

Minimizes the window that the presenter is applied to.

Restore()

Restores the window to the size and position it had before it was minimized or maximized.

SetBorderAndTitleBar(Boolean, Boolean)

Sets the border and title bar properties of the window.

Applies to