IAmbientProvider::GetFirstAmbientValue Method (IEnumerable<XamlType^>^, array<XamlMember^>^)
.NET Framework (current version)
Returns a single ambient property information item from the requested set of properties, based on which property is first encountered.
Assembly: System.Xaml (in System.Xaml.dll)
AmbientPropertyValue^ GetFirstAmbientValue(
IEnumerable<XamlType^>^ ceilingTypes,
... array<XamlMember^>^ properties
)
Parameters
- ceilingTypes
-
Type:
System.Collections.Generic::IEnumerable<XamlType^>^
Specifies one or more types that should stop the evaluation when they are encountered traversing upward in the object graph. This type holds the desired ambient property.
- properties
-
Type:
array<System.Xaml::XamlMember^>^
Specifies one or more objects that identify the properties to be considered ambient.
Return Value
Type: System.Xaml::AmbientPropertyValue^A single ambient property information item for the first ambient property value from the properties list that is found.
Each AmbientPropertyValue that is returned contains the XamlMember identifier and a property value.
.NET Framework
Available since 4.0
Available since 4.0
Show: