ITextParagraphPropertiesFactoryService Interface

ITextParagraphPropertiesFactoryService Interface

 

Creates TextParagraphProperties classes to be used when lines on the view are being formatted.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public interface class ITextParagraphPropertiesFactoryService

This is a MEF component part, and should be imported as follows:

[Import] ITextFormattingParagraphPropertiesFactoryService factory = null;

This component is content type-specific. If you implement this factory service for your content type, the export should be annotated with one or more ContentTypeAttribute attributes.

Return to top
Show:
© 2016 Microsoft