Windows apps
Collapse the table of content
Expand the table of content
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.

Style::IQueryAmbient::IsAmbientPropertyAvailable Method (String^)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

virtual bool IsAmbientPropertyAvailable(
	String^ propertyName
) sealed = IQueryAmbient::IsAmbientPropertyAvailable


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.

.NET Framework
Available since 4.0
Return to top
© 2018 Microsoft