ITextEditorFactoryService 인터페이스
편집기 뷰를 만듭니다.
네임스페이스: Microsoft.VisualStudio.Text.Editor
어셈블리: Microsoft.VisualStudio.Text.UI.Wpf(Microsoft.VisualStudio.Text.UI.Wpf.dll)
구문
‘선언
Public Interface ITextEditorFactoryService
public interface ITextEditorFactoryService
public interface class ITextEditorFactoryService
type ITextEditorFactoryService = interface end
public interface ITextEditorFactoryService
ITextEditorFactoryService 형식에서는 다음과 같은 멤버를 노출합니다.
속성
이름 | 설명 | |
---|---|---|
![]() |
AllPredefinedRoles | 미리 정의된 모든 텍스트 뷰 역할의 집합입니다. |
![]() |
DefaultRoles | 텍스트 보기 역할을 지정 하지 않고 텍스트 뷰를 만들 때 사용 되는 역할의 집합입니다. |
![]() |
NoRoles | 빈 텍스트 역할 집합을 봅니다. |
위쪽
메서드
이름 | 설명 | |
---|---|---|
![]() |
CreateTextView() | 만듭니다는 IWpfTextView 에서 새로 만든 ITextBuffer 콘텐츠 형식이 "text" 필요 합니다. |
![]() |
CreateTextView(ITextBuffer) | 생성은 IWpfTextView 지정 된 버퍼의 내용이 표시 됩니다. |
![]() |
CreateTextView(ITextBuffer, ITextViewRoleSet) | 생성은 IWpfTextView 지정 된 버퍼의 내용이 표시 됩니다. |
![]() |
CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions) | 생성은 IWpfTextView 지정 된 버퍼의 내용이 표시 됩니다. |
![]() |
CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions) | 생성 된 IWpfTextView 데이터 모델의 내용이 표시 됩니다. |
![]() |
CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions) | 생성 된 IWpfTextView 지정한 보기 모델의 내용이 표시 됩니다. |
![]() |
CreateTextViewHost | 텍스트 뷰의 호스트를 만듭니다. |
![]() |
CreateTextViewRoleSet(IEnumerable<String>) | 지정된 역할을 포함하는 ITextViewRoleSet을 만듭니다. |
![]() |
CreateTextViewRoleSet(array<String[]) | 지정된 역할을 포함하는 ITextViewRoleSet을 만듭니다. |
위쪽
이벤트
이름 | 설명 | |
---|---|---|
![]() |
TextViewCreated | 발생 시기는 ITextView 생성 됩니다. |
위쪽
설명
MEF 컴포넌트 부품입니다 하 고 같이 가져와야 합니다.
[Import] ITextEditorFactoryService factory = null;