Windows Dev Center

Information
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

.NET Framework 4.6 and 4.5

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

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

'Declaration
Private Function IsAmbientPropertyAvailable ( _
	propertyName As String _
) As Boolean Implements IQueryAmbient.IsAmbientPropertyAvailable

Parameters

propertyName
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.

Implements

IQueryAmbient.IsAmbientPropertyAvailable(String)

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft