IFrameworkView Interface

Represents an app view provider.

Syntax

public interface class IFrameworkView  

Remarks

Object that implement this interface should be returned by the CreateView method on your implementation of IFrameworkViewSource, which is a factory type interface.

Example

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;
}  

Requirements

Namespace: Windows.ApplicationModel.Core

Metadata: windows.winmd

See also

Reference

IFrameworkView Members

Windows.ApplicationModel.Core Namespace