XamlType.IsAmbient Property


Gets a value that indicates whether this XamlType represents an ambient type, as per the XAML definition.

 property bool IsAmbient { bool get(); };
public bool IsAmbient { get; }
member this.IsAmbient : bool
Public ReadOnly Property IsAmbient As Boolean

Property Value


true if this XamlType represents an ambient type; otherwise, false.


If you do not use the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupIsAmbient overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupIsAmbient on this type.

Applies to