ISwapChainBackgroundPanelNative interface

Provides interoperation between XAML and a DirectX swap chain.


The ISwapChainBackgroundPanelNative interface has these methods.

Method Description
ISwapChainBackgroundPanelNative::SetSwapChain Sets the DirectX swap chain for SwapChainBackgroundPanel.


This interface provides the native implementation of the Windows::UI::XAML::Control::SwapChainBackgroundPanel Windows Runtime type. To obtain a pointer to ISwapChainBackgroundPanelNative, you must cast a SwapChainBackgroundPanel instance to IInspectable or IUnknown, and call QueryInterface.

Microsoft::WRL::ComPtr<ISwapChainBackgroundPanelNative>	m_swapChainNative;
// ...
IInspectable* panelInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(swapChainPanel);
panelInspectable->QueryInterface(__uuidof(ISwapChainBackgroundPanelNative), (void **)&m_swapChainNative);


Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows

See Also

DirectX and XAML interop