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 for whether a specified named property can be considered ambient in the current scope.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

bool IsAmbientPropertyAvailable(
	String^ propertyName


Type: System::String^

The name of the property to check for ambience state.

Return Value

Type: System::Boolean

true if the requested property can be considered ambient; otherwise, false.

.NET Framework
Available since 4.0
Return to top