Skip to main content
FrameworkElementIQueryAmbientIsAmbientPropertyAvailable Method
 
System_CAPS_noteNote

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

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

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

bool IQueryAmbient.IsAmbientPropertyAvailable(
	string propertyName
)
private:
virtual bool IsAmbientPropertyAvailable(
	String^ propertyName
) sealed = IQueryAmbient::IsAmbientPropertyAvailable
private abstract IsAmbientPropertyAvailable : 
        propertyName:string -> bool
private override IsAmbientPropertyAvailable : 
        propertyName:string -> bool
Private Function IsAmbientPropertyAvailable (
	propertyName As String
) As Boolean
	Implements IQueryAmbient.IsAmbientPropertyAvailable

Parameters

propertyName
Type:

The name of the requested ambient property.

Return Value

Type:

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
Return to top