Element Factory Service Interface
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A service for converting from data objects to their platform specific UI representation.
public interface class IViewElementFactoryService
public interface IViewElementFactoryService
type IViewElementFactoryService = interface
Public Interface IViewElementFactoryService
[Import] internal IViewElementFactoryService viewElementFactoryService;
This is a MEF service that can be obtained via the ImportAttribute in a MEF exported class.
The editor supports ClassifiedTextElements, ContainerElement, ImageElements, and Object on all platforms. Text and image elements are converted to colorized text and images respectively and other objects are displayed as the String returned by ToString() unless an extender exports a IViewElementFactory for that type.