Version

OnSyntaxTreeCreated Method

Called after a parse operation has completed before the the new SyntaxTree is returned.
Syntax
'Declaration
 
Protected Friend Overridable Sub OnSyntaxTreeCreated( _
   ByVal args As SyntaxTreeCreatedEventArgs _
) 
protected internal virtual void OnSyntaxTreeCreated( 
   SyntaxTreeCreatedEventArgs args
)

Parameters

args
The event args that contains the new tree.
Remarks

The default implementation raises the SyntaxTreeCreated event.

Note: the parse operation is performed by the Infragistics.Documents.TextDocument on a background thread so as to not block the UI e.g. when using a XamSyntaxEditor. Therefore, this method is called on that same background thread as well.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also