System.Windows.Media Namesp ...


.NET Framework Class Library
ImageSource Class

Represents a object type that has a width, height, and ImageMetadata such as a BitmapSource and a DrawingImage. This is an abstract class.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
Syntax

Visual Basic (Declaration)
<LocalizabilityAttribute(LocalizationCategory.None, Readability := Readability.Unreadable)> _
<TypeConverterAttribute(GetType(ImageSourceConverter))> _
Public MustInherit Class ImageSource _
    Inherits Animatable _
    Implements IFormattable
Visual Basic (Usage)
Dim instance As ImageSource
C#
[LocalizabilityAttribute(LocalizationCategory.None, Readability = Readability.Unreadable)]
[TypeConverterAttribute(typeof(ImageSourceConverter))]
public abstract class ImageSource : Animatable, 
    IFormattable
Visual C++
[LocalizabilityAttribute(LocalizationCategory::None, Readability = Readability::Unreadable)]
[TypeConverterAttribute(typeof(ImageSourceConverter))]
public ref class ImageSource abstract : public Animatable, 
    IFormattable
JScript
public abstract class ImageSource extends Animatable implements IFormattable
XAML
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.
Inheritance Hierarchy

System..::.Object
  System.Windows.Threading..::.DispatcherObject
    System.Windows..::.DependencyObject
      System.Windows..::.Freezable
        System.Windows.Media.Animation..::.Animatable
          System.Windows.Media..::.ImageSource
            System.Windows.Media..::.DrawingImage
            System.Windows.Media.Imaging..::.BitmapSource
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Tags :


Page view tracker