Application.IQueryAmbient.IsAmbientPropertyAvailable Method

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.

Implements

IQueryAmbient.IsAmbientPropertyAvailable(String)

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft