Skip to main content
.NET Framework Class Library
IQueryAmbientIsAmbientPropertyAvailable Method

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)
Syntax
Function IsAmbientPropertyAvailable ( _
	propertyName As [%$TOPIC/dd549438_en-us_VS_110_1_0_0_0_0%] _
) As [%$TOPIC/dd549438_en-us_VS_110_1_0_0_0_1%]
[%$TOPIC/dd549438_en-us_VS_110_1_0_1_0_0%] IsAmbientPropertyAvailable(
	[%$TOPIC/dd549438_en-us_VS_110_1_0_1_0_1%] propertyName
)
[%$TOPIC/dd549438_en-us_VS_110_1_0_2_0_0%] IsAmbientPropertyAvailable(
	[%$TOPIC/dd549438_en-us_VS_110_1_0_2_0_1%]^ propertyName
)
abstract IsAmbientPropertyAvailable : 
        propertyName:[%$TOPIC/dd549438_en-us_VS_110_1_0_3_0_0%] -> [%$TOPIC/dd549438_en-us_VS_110_1_0_3_0_1%]
function IsAmbientPropertyAvailable(
	propertyName : [%$TOPIC/dd549438_en-us_VS_110_1_0_4_0_0%]
) : [%$TOPIC/dd549438_en-us_VS_110_1_0_4_0_1%]

Parameters

propertyName
Type: SystemString

The name of the property to check for ambience state.

Return Value

Type: SystemBoolean
true if the requested property can be considered ambient; otherwise, false.
Version Information

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4