Click or drag to resize
BitmapImage Class
Provides the practical object source type for the Source and ImageSource properties.
Inheritance Hierarchy

Namespace: Windows.UI.Xaml.Media.Imaging
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public sealed class BitmapImage : BitmapSource

The BitmapImage type exposes the following members.

Constructors
  NameDescription
Public methodBitmapImage
Initializes a new instance of the BitmapImage class.
Public methodBitmapImage(Uri)
Initializes a new instance of the BitmapImage class with the specified path to the source.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.)
Public methodGetVisualStateValue (Inherited from DependencyObject.)
Public methodReadLocalValue
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.)
Public methodSetBinding
Attaches a binding to a FrameworkElement, using the provided binding object.
(Inherited from DependencyObject.)
Public methodSetInheritedValue
Sets the inherited value of a dependency property on a DependencyObject. Do not use this method.
(Inherited from DependencyObject.)
Public methodSetLocalValue
Sets the local value of a dependency property on a DependencyObject while not overriding a hypothetical Binding (example: when the user writes in a TextBox with a two way Binding on its Text property).
(Inherited from DependencyObject.)
Public methodSetValue
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.)
Public methodSetVisualStateValue (Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberUriSourceProperty
Identifies the UriSource dependency property.
Top
Properties
  NameDescription
Public propertyDispatcher
Gets the CoreDispatcher that this object is associated with.
(Inherited from DependencyObject.)
Public propertyUriSource
Gets or sets the Uniform Resource Identifier (URI) of the graphics source file that generated this BitmapImage. Returns an object describing the of the graphics source file that generated this BitmapImage.
Top
Events
  NameDescription
Public eventImageFailed
Occurs when there is an error associated with image retrieval or format.
Public eventImageOpened
Occurs when the image source is downloaded and decoded with no failure. You can use this event to determine the size of an image before rendering it.
Public eventUriSourceChanged
Occurs when the UriSource is changed
Top
See Also