語言

DesktopChildSiteBridge 類別

定義

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

public ref class DesktopChildSiteBridge sealed : DesktopSiteBridge
public ref class DesktopChildSiteBridge sealed : DesktopSiteBridge, IContentSiteBridgeEndpointConnectionPrivate
/// [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)]
class DesktopChildSiteBridge final : DesktopSiteBridge
/// [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)]
class DesktopChildSiteBridge final : DesktopSiteBridge, IContentSiteBridgeEndpointConnectionPrivate
[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 sealed class DesktopChildSiteBridge : DesktopSiteBridge
[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 sealed class DesktopChildSiteBridge : DesktopSiteBridge, IContentSiteBridgeEndpointConnectionPrivate
Public NotInheritable Class DesktopChildSiteBridge
Inherits DesktopSiteBridge
Public NotInheritable Class DesktopChildSiteBridge
Inherits DesktopSiteBridge
Implements IContentSiteBridgeEndpointConnectionPrivate
繼承
Object Platform::Object IInspectable DesktopSiteBridge DesktopChildSiteBridge
屬性
實作

屬性

名稱 Description
ConnectionInfo

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

DispatcherQueue

取得相關 Win32 HWND 的 DispatcherQueue 。

(繼承來源 DesktopSiteBridge)
IsClosed

會判斷相關的 Win32 硬體是否已關閉。

(繼承來源 DesktopSiteBridge)
IsEnabled

會判斷相關的 Win32 硬體設備是否被啟用。

(繼承來源 DesktopSiteBridge)
IsRemoteEndpointConnected

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

IsVisible

判斷相關的 Win32 HWND 是否可見。

(繼承來源 DesktopSiteBridge)
LayoutDirectionOverride

取得或設定由相關 Win32 HWND 擁有的 ContentSite 所使用的閱讀順序與文字對齊的版面方向。

(繼承來源 DesktopSiteBridge)
OverrideScale

取得或設定由相關 Win32 硬體擁有的 ContentSite 所使用的縮放因子。

(繼承來源 DesktopSiteBridge)
ResizePolicy

取得或設定 ContentIsland 與其相關 Win32 HWND 之間的大小調整政策。

SiteView

可獲得由此 DesktopChildSiteBridge 建立的 ContentSite 不可變視圖。

WindowId

取得對應 Win32 HWND 的 WindowId 。

(繼承來源 DesktopSiteBridge)

方法

名稱 Description
AcceptRemoteEndpoint(String)

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

Close()

關閉相關的 Win32 HWND。

(繼承來源 DesktopSiteBridge)
Connect(ContentIsland)

將 ContentIsland 連接到 DesktopSiteBridge。

(繼承來源 DesktopSiteBridge)
Create(Compositor, WindowId)

建立一個新的 DesktopChildSiteBridge ,作為指定父 Win32 HWND 的子節點。

CreateWithDispatcherQueue(DispatcherQueue, WindowId)

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

Disable()

停用相關的 Win32 HWND。

(繼承來源 DesktopSiteBridge)
Dispose()

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

(繼承來源 DesktopSiteBridge)
Enable()

啟用相關的 Win32 硬體環境。

(繼承來源 DesktopSiteBridge)
Hide()

它會隱藏相關的 Win32 硬體和它擁有的任何彈出視窗。

(繼承來源 DesktopSiteBridge)
MoveAndResize(RectInt32)

將相關的 Win32 HWND 移至指定位置,並設定為指定大小。

(繼承來源 DesktopSiteBridge)
MoveInZOrderAtBottom()

將對應的 Win32 HWND 移至 Z 順序的底部。

(繼承來源 DesktopSiteBridge)
MoveInZOrderAtTop()

將相關的 Win32 HWND 移至 Z 順序頂端。

(繼承來源 DesktopSiteBridge)
MoveInZOrderBelow(WindowId)

將相關的 Win32 硬體遷移到指定的 Microsoft 後方。UI。WindowID。

(繼承來源 DesktopSiteBridge)
Show()

顯示對應的 Win32 硬體和它擁有的任何彈出視窗。

(繼承來源 DesktopSiteBridge)
TryCreatePopupSiteBridge()

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

(繼承來源 DesktopSiteBridge)

事件

名稱 Description
Closed

當相關的 Win32 硬體關閉時會發生。

(繼承來源 DesktopSiteBridge)
FrameworkClosed

當框架關閉時會發生。

(繼承來源 DesktopSiteBridge)
RemoteEndpointConnecting

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

RemoteEndpointDisconnected

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

RemoteEndpointRequestedStateChanged

支援 Win32 WS_CHILD HWND 的 DesktopSiteBridge 實作。

適用於