Share via


IXamlFileInformationContext Members

Include Protected Members
Include Inherited Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

A context interface for a particular XAML file.

The IXamlFileInformationContext type exposes the following members.

Methods

 

Name

Description

Public method

CheckForAttributeAndElementPresence

Checks whether there is an attribute at this location.

Public method

Close

Called when the language service is no longer needed and any resources used by the language service should be released.

Public method

GetBindingClassName

Returns the name of the class set by the x:Class or x:Sublcass attribute.

Public method

GetBlockRange

Gets a range for the block at the specified location.

Public method

GetCompletions

Retrieves a list of the file completions for the specified offset in the file.

Public method

GetEventBindings

Returns the event bindings in the specified range.

Public method

GetHint

Retrieves a hint string for the specified location.

Public method

GetInitialExtent

Retrieves the initial extent of the text span at specified offset.

Public method

GetMatchingRanges

Returns a list of the ranges that match the specified location.

Public method

GetMessages

Retrieves a list of the error and warning messages generated by the last parse of the file.

Public method

GetReferences

Retrieves where in the file the specified reflection qualified name is used.

Public method

GetSemanticRanges

Get a list of the changes that were made in the update information since the last time this method was called.

Public method

LastUpdated

Returns the value passed in for time in the last call to the Update method.

Public method

Lock

Ensures that the information will be retained even if another thread modifies the editor that contains the buffer until the Unlock method is called.

Public method

Unlock

Releases the lock on the file context information allowing the information to be updated after a buffer modification.

Public method

Update

Requests that this file context be updated to the current content of the file.

Top

Properties

 

Name

Description

Public property

HasMessages

Gets a value indicating whether the GetMessages method will return a list of messages.

Top

See Also

Reference

IXamlFileInformationContext Interface

Microsoft.Xaml Namespace