Show / Hide Table of Contents

Interface IViewProviderCollection

Namespace: Phoenix.Views
Assembly: Phoenix.Abstractions.Views.dll
Syntax
public interface IViewProviderCollection

Methods

View Source

AddDockableTabView<TIUniqueViewProvider, TViewProvider, TView>(String)

Adds a view, that is dockable in the main phoenix tab control, with transient lifetime to the view provider collection.

Declaration
IViewProviderCollection AddDockableTabView<TIUniqueViewProvider, TViewProvider, TView>(string menuName)
    where TIUniqueViewProvider : class, IViewProvider where TViewProvider : class, TIUniqueViewProvider where TView : FrameworkElement
Parameters
Type Name Description
System.String menuName

The menu name for the tab.

Returns
Type Description
IViewProviderCollection

The view provider collection.

Type Parameters
Name Description
TIUniqueViewProvider

The type of the unique interface for the view provider.

TViewProvider

The implementation of the provider.

TView

The type of the view.

View Source

AddView<TViewModel, TView>()

Adds a view with transient lifetime to the view provider collection.

Declaration
IViewProviderCollection AddView<TViewModel, TView>()
    where TViewModel : class where TView : FrameworkElement
Returns
Type Description
IViewProviderCollection

The view provider collection.

Type Parameters
Name Description
TViewModel

The type of the viewmodel.

TView

The type of the view.

  • View Source
In This Article
Back to top Generated by DocFX