Свойство | Type | Description | |
---|---|---|---|
DocumentProperty | |||
HorizontalScrollBarVisibilityProperty | |||
IsModifiedProperty | |||
IsReadOnlyProperty | |||
LineNumbersForegroundProperty | |||
MouseHoverEvent | System.Windows.RoutedEvent | ||
MouseHoverStoppedEvent | System.Windows.RoutedEvent | ||
OptionsProperty | |||
PreviewMouseHoverEvent | System.Windows.RoutedEvent | ||
PreviewMouseHoverStoppedEvent | System.Windows.RoutedEvent | ||
ShowLineNumbersProperty | |||
SyntaxHighlightingProperty | |||
VerticalScrollBarVisibilityProperty | |||
WordWrapProperty |
Свойство | Type | Description | |
---|---|---|---|
CanExecute | bool | ||
Execute | void | ||
GetDocument | |||
HandleIsOriginalChanged | bool | ||
IServiceProvider | object | ||
IWeakEventListener | bool | ||
OnDocumentChanged | void | ||
OnDocumentChanged | void | ||
OnIsModifiedChanged | void | ||
OnIsReadOnlyChanged | void | ||
OnLineNumbersForegroundChanged | void | ||
OnOptionsChanged | void | ||
OnOptionsChanged | void | ||
OnShowLineNumbersChanged | void | ||
OnSyntaxHighlightingChanged | void | ||
OnSyntaxHighlightingChanged | void | ||
SetCurrentValue | void | ||
TextArea_SelectionChanged | void | ||
TextEditor | System |
Méthode | Description | |
---|---|---|
AppendText ( string textData ) : void |
Appends text to the end of the document.
|
|
BeginChange ( ) : void |
Begins a group of document changes.
|
|
Clear ( ) : void |
Clears the text.
|
|
Copy ( ) : void |
Copies the current selection to the clipboard.
|
|
Cut ( ) : void |
Removes the current selection and copies it to the clipboard.
|
|
DeclareChangeBlock ( ) : IDisposable |
Begins a group of document changes and returns an object that ends the group of document changes when it is disposed.
|
|
EndChange ( ) : void |
Ends the current group of document changes.
|
|
GetPositionFromPoint ( Point point ) : TextViewPosition? |
Gets the text view position from a point inside the editor.
|
|
LineDown ( ) : void |
Scrolls one line down.
|
|
LineLeft ( ) : void |
Scrolls to the left.
|
|
LineRight ( ) : void |
Scrolls to the right.
|
|
LineUp ( ) : void |
Scrolls one line up.
|
|
Load ( System.Stream stream ) : void |
Loads the text from the stream, auto-detecting the encoding. This method sets IsModified to false. |
|
Load ( string fileName ) : void |
Loads the text from the stream, auto-detecting the encoding.
|
|
OnApplyTemplate ( ) : void |
Is called after the template was applied.
|
|
PageDown ( ) : void |
Scrolls one page down.
|
|
PageLeft ( ) : void |
Scrolls one page left.
|
|
PageRight ( ) : void |
Scrolls one page right.
|
|
PageUp ( ) : void |
Scrolls one page up.
|
|
Paste ( ) : void |
Pastes the clipboard content.
|
|
Redo ( ) : bool |
Redoes the most recent undone command.
|
|
Save ( System.Stream stream ) : void |
Saves the text to the stream. This method sets IsModified to false. |
|
Save ( string fileName ) : void |
Saves the text to the file.
|
|
ScrollTo ( int line, int column ) : void |
Scrolls to the specified line/column. This method requires that the TextEditor was already assigned a size (WPF layout must have run prior).
|
|
ScrollToEnd ( ) : void |
Scrolls to the end of the document.
|
|
ScrollToHome ( ) : void |
Scrolls to the start of the document.
|
|
ScrollToHorizontalOffset ( double offset ) : void |
Scrolls to the specified position in the document.
|
|
ScrollToLine ( int line ) : void |
Scrolls to the specified line. This method requires that the TextEditor was already assigned a size (WPF layout must have run prior).
|
|
ScrollToVerticalOffset ( double offset ) : void |
Scrolls to the specified position in the document.
|
|
Select ( int start, int length ) : void |
Selects the specified text section.
|
|
SelectAll ( ) : void |
Selects the entire text.
|
|
Undo ( ) : bool |
Undoes the most recent command.
|
Méthode | Description | |
---|---|---|
CreateColorizer ( IHighlightingDefinition highlightingDefinition ) : IVisualLineTransformer |
Creates the highlighting colorizer for the specified highlighting definition. Allows derived classes to provide custom colorizer implementations for special highlighting definitions.
|
|
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer | ||
OnDocumentChanged ( |
Raises the DocumentChanged event.
|
|
OnGotKeyboardFocus ( KeyboardFocusChangedEventArgs e ) : void | ||
OnMouseRightButtonDown ( MouseButtonEventArgs e ) : void | ||
OnOptionChanged ( |
Raises the OptionChanged event.
|
|
OnTextChanged ( |
Raises the TextChanged event.
|
|
ReceiveWeakEvent ( |
||
TextEditor ( TextArea textArea ) : System |
Creates a new TextEditor instance.
|
Méthode | Description | |
---|---|---|
CanExecute ( RoutedUICommand command ) : bool | ||
Execute ( RoutedUICommand command ) : void | ||
GetDocument ( ) : |
||
HandleIsOriginalChanged ( |
||
IServiceProvider ( |
||
IWeakEventListener ( |
||
OnDocumentChanged ( |
||
OnDocumentChanged ( |
||
OnIsModifiedChanged ( |
||
OnIsReadOnlyChanged ( |
||
OnLineNumbersForegroundChanged ( |
||
OnOptionsChanged ( |
||
OnOptionsChanged ( |
||
OnShowLineNumbersChanged ( |
||
OnSyntaxHighlightingChanged ( |
||
OnSyntaxHighlightingChanged ( IHighlightingDefinition newValue ) : void | ||
SetCurrentValue ( |
||
TextArea_SelectionChanged ( object sender, |
||
TextEditor ( ) : System |
public AppendText ( string textData ) : void | ||
textData | string | |
Résultat | void |
protected CreateColorizer ( IHighlightingDefinition highlightingDefinition ) : IVisualLineTransformer | ||
highlightingDefinition | IHighlightingDefinition | |
Résultat | IVisualLineTransformer |
public DeclareChangeBlock ( ) : IDisposable | ||
Résultat | IDisposable |
public GetPositionFromPoint ( Point point ) : TextViewPosition? | ||
point | Point | The position, relative to top left /// corner of TextEditor control |
Résultat | TextViewPosition? |
public Load ( System.Stream stream ) : void | ||
stream | System.Stream | |
Résultat | void |
protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer | ||
Résultat | System.Windows.Automation.Peers.AutomationPeer |
protected OnDocumentChanged ( |
||
e | ||
Résultat | void |
protected OnGotKeyboardFocus ( KeyboardFocusChangedEventArgs e ) : void | ||
e | KeyboardFocusChangedEventArgs | |
Résultat | void |
protected OnMouseRightButtonDown ( MouseButtonEventArgs e ) : void | ||
e | MouseButtonEventArgs | |
Résultat | void |
protected OnOptionChanged ( |
||
e | ||
Résultat | void |
protected OnTextChanged ( |
||
e | ||
Résultat | void |
protected ReceiveWeakEvent ( |
||
managerType | ||
sender | object | |
e | ||
Résultat | bool |
public Save ( System.Stream stream ) : void | ||
stream | System.Stream | |
Résultat | void |
public ScrollTo ( int line, int column ) : void | ||
line | int | |
column | int | |
Résultat | void |
public ScrollToHorizontalOffset ( double offset ) : void | ||
offset | double | |
Résultat | void |
public ScrollToVerticalOffset ( double offset ) : void | ||
offset | double | |
Résultat | void |
public Select ( int start, int length ) : void | ||
start | int | |
length | int | |
Résultat | void |
protected TextEditor ( TextArea textArea ) : System | ||
textArea | TextArea | |
Résultat | System |
public static DependencyProperty,System.Windows DocumentProperty | ||
Résultat |
public static DependencyProperty,System.Windows HorizontalScrollBarVisibilityProperty | ||
Résultat |
public static DependencyProperty,System.Windows IsModifiedProperty | ||
Résultat |
public static DependencyProperty,System.Windows IsReadOnlyProperty | ||
Résultat |
public static DependencyProperty,System.Windows LineNumbersForegroundProperty | ||
Résultat |
public static RoutedEvent,System.Windows MouseHoverEvent | ||
Résultat | System.Windows.RoutedEvent |
public static RoutedEvent,System.Windows MouseHoverStoppedEvent | ||
Résultat | System.Windows.RoutedEvent |
public static DependencyProperty,System.Windows OptionsProperty | ||
Résultat |
public static RoutedEvent,System.Windows PreviewMouseHoverEvent | ||
Résultat | System.Windows.RoutedEvent |
public static RoutedEvent,System.Windows PreviewMouseHoverStoppedEvent | ||
Résultat | System.Windows.RoutedEvent |
public static DependencyProperty,System.Windows ShowLineNumbersProperty | ||
Résultat |
public static DependencyProperty,System.Windows SyntaxHighlightingProperty | ||
Résultat |
public static DependencyProperty,System.Windows VerticalScrollBarVisibilityProperty | ||
Résultat |