Version

EditorDocumentView Class Members

The following tables list the members exposed by EditorDocumentView.

Public Properties
 NameDescription
Public PropertyCurrentSnapshotReturns the Infragistics.Documents.TextDocumentSnapshot used to generate the current set of VisibleLines (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertyDocumentReturns the Infragistics.Documents.TextDocument associated with the view. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertyFirstVisibleLineNumberReturns/sets the zero-based line index of the first visible DocumentViewLine displayed in the EditorDocumentView (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertyHorizontalLineOffsetReturns/sets the zero-based horizontal pixel offset of the DocumentViewLines displayed in the EditorDocumentView (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertyIsActiveReturns whether the EditorDocumentView is the current active view. (read-only).  
Public PropertyLastVisibleLineNumberReturns the zero-based line index of the last visible DocumentViewLine displayed in the EditorDocumentView (read only) (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertySelectionManagerReturns a ViewSelectionManager instance which can be used to query and interact with the selected text in the view. (read only)  
Public PropertySyntaxEditorReturns the XamSyntaxEditor associated with the view. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertyTextAreaBoundsReturns the bounding rectangle of the text area (the area within the scrollbars and margins where the text is rendered) in control coordinates. (read only) (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public PropertyViewLocationReturns an EditorDocumentViewLocation enumeration that specifies the location of this EditorDocumentView within the XamSyntaxEditor control. (read-only).  
Public PropertyVisibleLinesReturns a read only observable collection of DocumentViewLines that represent the lines currently displayed in the DocumentViewBase (read-only) (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public Methods
 NameDescription
Public MethodActivateMakes this EditorDocumentView the active view.  
Public MethodBringLineIntoViewEnsures that the document line with the specified zero-based line index is in view. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodGetIsLineInViewReturns whether the document line with the specified zero-based line index is in view. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodGetMarginAreaHeightReturns the height of the margin area in the specified EditorDocumentViewMarginLocation. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodGetMarginAreaWidthReturns the width of the margin area in the specified EditorDocumentViewMarginLocation. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodGoToLineNumberPositions the requested line so that it is in view (and in the middle of the display if possible). (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodGoToOffsetReloads 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. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodGoToTextLocationReloads 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. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodSnapshotPointFromScreenPointReturns the Infragistics.Documents.SnapshotPoint that is closest to the specified screen point (expressed in text area coordinates). (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodTextAreaPointFromViewPointTranslates a point from view (which contains the scrollbars, margins, text area) coordinates to text area coordinates. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodTextLocationFromScreenPointReturns the Infragistics.Documents.Parsing.TextLocation that is closest to the specified screen point (expressed in text area coordinates). (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodViewLineFromLineIndexReturns 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. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodViewLineFromVerticalOffsetReturns the DocumentViewLine that contains the specified vertical pixel offset (in text coordinates) from the top of the view. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public MethodViewPointFromTextAreaPointTranslates a point from text area coordinates to view (which contains the scrollbars, margins, text area) coordinates. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Protected Methods
 NameDescription
Protected Internal MethodOnActivatedUsed to invoke the Activated event.  
Protected Internal MethodOnAmbientPropertyChangedOverridden. Called when one or more ambient font or color properties have changed.  
Protected Internal MethodOnDeactivatedUsed to invoke the Deactivated event.  
Protected Internal MethodOnDocumentChangedOverridden. Called when the XamSyntaxEditor.Document property has changed.  
Protected Internal MethodOnDocumentTextChangedOverridden. Called when the document text has changed  
Protected Internal MethodOnDocumentTextChangingOverridden. Called when the document text is about to change  
Protected Internal MethodOnDocumentTextLoadedOverridden. Called when text is loaded into the XamSyntaxEditor.Document as the result of a call to Infragistics.Documents.TextDocument.Load(System.String).  
Protected Internal MethodOnLanguageChangedCalled when the Language associated with the Infragistics.Documents.TextDocument changes. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Protected MethodOnLayoutChangedOverridden. Used to invoke the LayoutChanged event.  
Protected Internal MethodOnLoadedCalled when the DocumentViewBase is loaded. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Protected MethodOnSelectionChangedUsed to invoke the SelectionChanged event.  
Protected Internal MethodOnServiceAddedCalled when a service has been registered on the associated Infragistics.Documents.TextDocument's Language. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Protected Internal MethodOnServiceRemovedCalled when a service has been unregistered on the associated Infragistics.Documents.TextDocument's Language. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Protected Internal MethodOnUnloadedOverridden.   
Protected Internal MethodRefreshLayerLayoutRefreshes the layout of the Infragistics.Controls.Editors.Primitives.AdornmentLayer described by the specified AdornmentLayerInfo (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Protected Internal MethodRefreshLayersLayoutRefreshes the layout of all Infragistics.Controls.Editors.Primitives.AdornmentLayers associated with this DocumentViewBase (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public Events
 NameDescription
Public EventActivatedRaised after the EditorDocumentView has been activated.  
Public EventDeactivatedRaised after the EditorDocumentView has been deactivated.  
Public EventLayoutChangedRaised after the layout of the lines in the DocumentViewBase has changed. (Inherited from Infragistics.Controls.Editors.DocumentViewBase)
Public EventSelectionChangedRaised after the XamSyntaxEditor's Selection is changed.  
See Also