Share via


IXRImageSource (Compact 2013)

3/28/2014

This class represents the base class for an image in XAML for Windows Embedded, such as a bitmap image.

Syntax

IXRImageSource : public IXRDependencyObject

Inheritance Hierarchy

IXRDependencyObject

    IXRImageSource

        IXRBitmapSource

Methods

IXRImageSource provides no new methods. All its methods are inherited from IXRDependencyObject.

Thread Safety

Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

Remarks

IXRImageSource provides an intermediate base class from which IXRBitmapSource derives from.

This is an object type that is used in the method signatures for IXRImage::GetSource, IXRImage::SetSource, IXRImageBrush::GetImageSource, and IXRImageBrush::SetImageSource.

When you create a class instance, use an IXRImageSourcePtr smart pointer instead of a raw interface pointer. For more information, see XRPtr<Interface>.

.NET Framework Equivalent

System.Windows.Media.ImageSource

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for UI Element Management