C# Class IL.View.Controls.CodeView.CodeTextBox

Inheritance: System.Windows.Controls.Control, ICodeView
Mostrar archivo Open project: DenisVuyka/IL.View Class Usage Examples

Public Properties

Property Type Description
DefaultStyleSheetProperty System.Windows.DependencyProperty
SourceCodeProperty System.Windows.DependencyProperty
SourceLanguageProperty System.Windows.DependencyProperty

Public Methods

Method Description
CodeTextBox ( ) : System
OnApplyTemplate ( ) : void

Private Methods

Method Description
CreateLanguageInstance ( SourceLanguageType type ) : ILanguage

Retrieves the language instance used by the highlighting system.

HighlightContents ( ) : void

Clears and updates the contents.

OnDefaultStyleSheetChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSourceCodePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

SourceCodeProperty property changed handler.

OnSourceLanguagePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

SourceLanguageProperty property changed handler.

ScrollToStart ( ) : void

Method Details

CodeTextBox() public method

public CodeTextBox ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

Property Details

DefaultStyleSheetProperty public_oe static_oe property

public static DependencyProperty,System.Windows DefaultStyleSheetProperty
return System.Windows.DependencyProperty

SourceCodeProperty public_oe static_oe property

Identifies the SourceCode dependency property.
public static DependencyProperty,System.Windows SourceCodeProperty
return System.Windows.DependencyProperty

SourceLanguageProperty public_oe static_oe property

Identifies the SourceLanguage dependency property.
public static DependencyProperty,System.Windows SourceLanguageProperty
return System.Windows.DependencyProperty