Gets or sets the ImageSource for the ImageViewer.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Source As ImageSource |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ImageViewer
Dim value As ImageSource
instance.Source = value
value = instance.Source
|
XAML Syntax | |
---|
For XAML information, see the BitmapImage type. |
XAML Attributes Usage | |
---|
<object Source=imageUri/> |
XAML Values | |
---|
imageUri
System.String
The URI of the image file. |
XAML Syntax | |
---|
For XAML information, see the BitmapImage type. |
XAML Attributes Usage | |
---|
<object Source=imageUri/> |
XAML Values | |
---|
imageUri
System.String
The URI of the image file. |
Return Value
The source value for the ImageViewer. The default value is a null.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also