Partilhar via


ITextViewModelProvider Interface

Definition

Provides ITextViewModel objects.

public interface class ITextViewModelProvider
public interface class ITextViewModelProvider
__interface ITextViewModelProvider
public interface ITextViewModelProvider
type ITextViewModelProvider = interface
Public Interface ITextViewModelProvider

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(ITextViewModelProvider))] Component exporters must specify at least one ContentTypeAttribute characterizing the data models to which they apply and at least one TextViewRoleAttribute characterizing the views to which they apply.

Methods

CreateTextViewModel(ITextDataModel, ITextViewRoleSet)

Creates an ITextViewModel for the given ITextDataModel.

Applies to