Getting Started
:
Chapter 7 MFC and WPF Interoperability
:
Wrap Panel Access
Wrap Panel Access
To access the Docking Pane control, call
GetWpfControl()
. In most situations, you need to cast to a FrameworkElement and then to the appropriate WPF control, such as:
((Canvas^)(FrameworkElement^)GetWpfControl())