Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-use-a-bitmapimage.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.1 KiB

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
How to: Use a BitmapImage 03/30/2017
csharp
vb
bitmap images [WPF]
XAML [WPF], using a BitmapImage in
5a5733aa-396d-4d72-b0c3-77f8c25d9a42

How to: Use a BitmapImage

This example shows how to use a xref:System.Windows.Media.Imaging.BitmapImage as the source of an xref:System.Windows.Controls.Image control in [!INCLUDETLA#tla_xaml].

Example

[!code-xamlImageElementExample_snip#ImageSimpleExampleInlineMarkup]

[!code-csharpImageElementExample_snip#ImageSimpleExampleInlineCode1] [!code-vbImageElementExample_snip#ImageSimpleExampleInlineCode1]

See also