Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Application.IQueryAmbient.IsAmbientPropertyAvailable Method (String)

.NET Framework (current version)
 

Queries for whether a specified ambient property is available in the current scope.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

bool IQueryAmbient.IsAmbientPropertyAvailable(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the requested ambient property.

Return Value

Type: System.Boolean

true if the requested ambient property is available; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the Application instance is cast to an IQueryAmbient interface.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft