Represents an app view provider.
public interface class IFrameworkView
Object that implement this interface should be returned by the CreateView method on your implementation of IFrameworkViewSource, which is a factory type interface.
C++
ref class MyAppViewSource : Windows::ApplicationModel::Core::IFrameworkViewSource
{
public:
Windows::ApplicationModel::Core::IFrameworkView^ CreateView();
};
...
IFrameworkView^ MyAppViewSource::CreateView()
{
return ref new CoreWindowEvents();
}
...
[Platform::MTAThread]
int main(Platform::Array<Platform::String^>^)
{
auto myAppViewSource = ref new MyAppViewSource();
CoreApplication::Run(myAppViewSource);
return 0;
}
Namespace: Windows.ApplicationModel.Core
Metadata: windows.winmd