FrameworkElement.IQueryAmbient.IsAmbientPropertyAvailable Method (String)

 

For a description of this member, see the IsAmbientPropertyAvailable method.

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 propertyName is available; otherwise, false.

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

.NET Framework
Available since 4.0