C# 클래스 IL.View.Controls.CodeView.CodeTextBlock

상속: System.Windows.Controls.Control, ICodeView
파일 보기 프로젝트 열기: DenisVuyka/IL.View

공개 프로퍼티들

프로퍼티 타입 설명
DefaultStyleSheetProperty System.Windows.DependencyProperty
SourceCodeProperty System.Windows.DependencyProperty
SourceLanguageProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
CodeTextBlock ( ) : System

Initializes a new instance of the SyntaxHighlightingTextBlock control.

OnApplyTemplate ( ) : void

Overrides the on apply template method.

비공개 메소드들

메소드 설명
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.

메소드 상세

CodeTextBlock() 공개 메소드

Initializes a new instance of the SyntaxHighlightingTextBlock control.
public CodeTextBlock ( ) : System
리턴 System

OnApplyTemplate() 공개 메소드

Overrides the on apply template method.
public OnApplyTemplate ( ) : void
리턴 void

프로퍼티 상세

DefaultStyleSheetProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows DefaultStyleSheetProperty
리턴 System.Windows.DependencyProperty

SourceCodeProperty 공개적으로 정적으로 프로퍼티

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

SourceLanguageProperty 공개적으로 정적으로 프로퍼티

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