DesktopSiteBridge Class

Definition

Abstract class that implements IContentSiteBridge for a Win32 HWND.

[WebHostHidden]
public ref class DesktopSiteBridge : IContentSiteBridge, IClosableNotifier, IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class DesktopSiteBridge : IContentSiteBridge, IClosableNotifier, IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class DesktopSiteBridge : IContentSiteBridge, IClosableNotifier, System.IDisposable
Public Class DesktopSiteBridge
Implements IClosableNotifier, IContentSiteBridge, IDisposable
Inheritance
Object Platform::Object IInspectable DesktopSiteBridge
Derived
Attributes
Implements

Remarks

This class supports derived classes for specific types of HWNDs.

Properties

DispatcherQueue

Gets the DispatcherQueue for the associated Win32 HWND.

IsClosed

Gets whether the associated Win32 HWND is closed.

IsEnabled

Gets whether the associated Win32 HWND is enabled.

IsVisible

Gets whether the associated Win32 HWND is visible.

LayoutDirectionOverride

Gets or sets the layout direction for reading order and text alignment used by a ContentSite that is owned by the associated Win32 HWND.

OverrideScale

Gets or sets the scaling factor used by a ContentSite owned by the associated Win32 HWND.

WindowId

Gets the WindowId of the associated Win32 HWND.

Methods

Close()

Closes the associated Win32 HWND.

Connect(ContentIsland)

Connects a ContentIsland to a DesktopSiteBridge.

Disable()

Disables the associated Win32 HWND.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Enable()

Enables the associated Win32 HWND.

Hide()

Hides the associated Win32 HWND and any popup windows it owns.

IsSupported()

Gets whether a DesktopSiteBridge is supported in the current environment.

MoveAndResize(RectInt32)

Moves the associated Win32 HWND to the specified location and sets it to the specified size.

MoveInZOrderAtBottom()

Moves the associated Win32 HWND to the bottom of the Z-order.

MoveInZOrderAtTop()

Moves the associated Win32 HWND to the top of the Z-order.

MoveInZOrderBelow(WindowId)

Moves the associated Win32 HWND behind the specified Microsoft.UI.WindowId.

Show()

Shows the associated Win32 HWND and any popup windows it owns.

Events

Closed

Occurs when the associated Win32 HWND is closed.

FrameworkClosed

Occurs when a framework closes.

Applies to