Application.IQueryAmbient.IsAmbientPropertyAvailable Method (String)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Queries for whether a specified ambient property is available in the current scope.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- propertyName
-
Type:
System.String
The name of the requested ambient property.
Return Value
Type: System.Booleantrue 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
Available since 4.0
Show: