Method GetAllAmbientValues
- Namespace
- Alternet.FormDesigner.Wpf.XamlDom
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
GetAllAmbientValues(IEnumerable<XamlType>, params XamlMember[])
Returns an enumerable set of ambient property information items for the requested set of properties.
public IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, params XamlMember[] properties)
Parameters
ceilingTypesIEnumerable<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. May be null.
propertiesXamlMember[]Specifies one or more property identifier objects that identify the properties to be considered ambient.
Returns
- IEnumerable<AmbientPropertyValue>
An enumerable set of ambient property information items for the requested set of properties. The property information for each AmbientPropertyValue that is returned will match one of the input
properties.
GetAllAmbientValues(params XamlType[])
Returns an enumerable set of object instances of possible ambient types for the requested types.
public IEnumerable<object> GetAllAmbientValues(params XamlType[] types)
Parameters
typesXamlType[]The set of types from which to retrieve ambient type information.
Returns
- IEnumerable<object>
An enumerable set of objects that represent the values for the requested set of XamlType identifiers.
GetAllAmbientValues(IEnumerable<XamlType>, bool, IEnumerable<XamlType>, params XamlMember[])
Returns an enumerable set of ambient property information items for the requested set of types and properties.
public IEnumerable<AmbientPropertyValue> GetAllAmbientValues(IEnumerable<XamlType> ceilingTypes, bool searchLiveStackOnly, IEnumerable<XamlType> types, params XamlMember[] properties)
Parameters
ceilingTypesIEnumerable<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. May be null.
searchLiveStackOnlybooltrue to not use a saved context; false to use a saved context. The default is false. See Remarks.
typesIEnumerable<XamlType>Specifies one or more type identifier objects that identify the types to be considered ambient.
propertiesXamlMember[]Specifies one or more property identifier objects that identify the properties to be considered ambient.
Returns
- IEnumerable<AmbientPropertyValue>
An enumerable set of ambient property information items for the requested set of types and properties. The property information for each AmbientPropertyValue that is returned will match one of the input
typesorproperties.