The following tables list the members exposed by DocumentViewBase.
Name | Description | |
---|---|---|
CurrentSnapshot | Returns the Infragistics.Documents.TextDocumentSnapshot used to generate the current set of VisibleLines | |
Document | Returns the Infragistics.Documents.TextDocument associated with the view. | |
FirstVisibleLineNumber | Returns/sets the zero-based line index of the first visible DocumentViewLine displayed in the EditorDocumentView | |
HorizontalLineOffset | Returns/sets the zero-based horizontal pixel offset of the DocumentViewLines displayed in the EditorDocumentView | |
LastVisibleLineNumber | Returns the zero-based line index of the last visible DocumentViewLine displayed in the EditorDocumentView (read only) | |
SyntaxEditor | Returns the XamSyntaxEditor associated with the view. | |
TextAreaBounds | Returns the bounding rectangle of the text area (the area within the scrollbars and margins where the text is rendered) in control coordinates. (read only) | |
VisibleLines | Returns a read only observable collection of DocumentViewLines that represent the lines currently displayed in the DocumentViewBase (read-only) |
Name | Description | |
---|---|---|
BringLineIntoView | Ensures that the document line with the specified zero-based line index is in view. | |
GetIsLineInView | Returns whether the document line with the specified zero-based line index is in view. | |
GetMarginAreaHeight | Returns the height of the margin area in the specified EditorDocumentViewMarginLocation. | |
GetMarginAreaWidth | Returns the width of the margin area in the specified EditorDocumentViewMarginLocation. | |
GoToLineNumber | Positions the requested line so that it is in view (and in the middle of the display if possible). | |
GoToOffset | Reloads the display so that the line containing the specified document offset is in view and in the middle of the display if possible, and the caret is positioned at the specified offset. | |
GoToTextLocation | Reloads the display so that the line containing the specified Infragistics.Documents.Parsing.TextLocation is in view (and in the middle of the display if possible), and the caret is positioned at the specified character position. | |
SnapshotPointFromScreenPoint | Returns the Infragistics.Documents.SnapshotPoint that is closest to the specified screen point (expressed in text area coordinates). | |
TextAreaPointFromViewPoint | Translates a point from view (which contains the scrollbars, margins, text area) coordinates to text area coordinates. | |
TextLocationFromScreenPoint | Returns the Infragistics.Documents.Parsing.TextLocation that is closest to the specified screen point (expressed in text area coordinates). | |
ViewLineFromLineIndex | Returns the DocumentViewLine that corresponds to the to the document line with the specified zero-based line index, or null if the document line with the specified zero-based line index is out of view. | |
ViewLineFromVerticalOffset | Returns the DocumentViewLine that contains the specified vertical pixel offset (in text coordinates) from the top of the view. | |
ViewPointFromTextAreaPoint | Translates a point from text area coordinates to view (which contains the scrollbars, margins, text area) coordinates. |
Name | Description | |
---|---|---|
OnAmbientPropertyChanged | Called when one or more ambient font or color properties have changed. | |
OnDocumentChanged | Called when the XamSyntaxEditor.Document property has changed. | |
OnDocumentTextChanged | Called when the document text has changed | |
OnDocumentTextChanging | Called when the document text is about to change | |
OnDocumentTextLoaded | Called when text is loaded into the XamSyntaxEditor.Document as the result of a call to Infragistics.Documents.TextDocument.Load(System.String). | |
OnLanguageChanged | Called when the Language associated with the Infragistics.Documents.TextDocument changes. | |
OnLayoutChanged | Used to invoke the LayoutChanged event. | |
OnLoaded | Called when the DocumentViewBase is loaded. | |
OnServiceAdded | Called when a service has been registered on the associated Infragistics.Documents.TextDocument's Language. | |
OnServiceRemoved | Called when a service has been unregistered on the associated Infragistics.Documents.TextDocument's Language. | |
OnUnloaded | Called when the DocumentViewBase is unloaded. | |
RefreshLayerLayout | Refreshes the layout of the Infragistics.Controls.Editors.Primitives.AdornmentLayer described by the specified AdornmentLayerInfo | |
RefreshLayersLayout | Refreshes the layout of all Infragistics.Controls.Editors.Primitives.AdornmentLayers associated with this DocumentViewBase |
Name | Description | |
---|---|---|
LayoutChanged | Raised after the layout of the lines in the DocumentViewBase has changed. |