C# Class VSEmbed.Controls.TextViewHost

A WPF control that embeds a Visual Studio editor.
Inheritance: System.Windows.Controls.ContentPresenter
Show file Open project: SLaks/VSEmbed

Public Properties

Property Type Description
ContentTypeProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
TextViewHost ( ) : System

Creates a TextViewHost. VsMefContainerBuilder must be set up before creating this.

Private Methods

Method Description
ContentType_Changed ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Text_Changed ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

TextViewHost() public method

Creates a TextViewHost. VsMefContainerBuilder must be set up before creating this.
public TextViewHost ( ) : System
return System

Property Details

ContentTypeProperty public static property

Identifies the ContentType dependency property.
public static DependencyProperty,System.Windows ContentTypeProperty
return System.Windows.DependencyProperty

TextProperty public static property

Identifies the Text dependency property.
public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty