Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Source Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewerElement Class : Source Property





Gets or sets the BitmapSource for the BitmapSourceViewerElement. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property Source As BitmapSource
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
Dim value As BitmapSource
 
instance.Source = value
 
value = instance.Source
C# 
public BitmapSource Source {get; set;}
C++/CLI 
public:
property BitmapSource Source {
   BitmapSource get();
   void set (BitmapSource value);
}
XAML Syntax 
For XAML information, see the BitmapSource type.
XAML Attributes Usage 

<object Source=imageUri/>

Dependencies Property Information 

Identifier field

SourceProperty

Metadata properties set to true

AffectsMeasure

XAML Values 

imageUri System.String A URI of the image file.

XAML Syntax 
For XAML information, see the BitmapSource type.
XAML Attributes Usage 

<object Source=imageUri/>

Dependencies Property Information 

Identifier field

SourceProperty

Metadata properties set to true

AffectsMeasure

XAML Values 

imageUri System.String A URI of the image file.

Return Value

The source value for the BitmapSourceViewerElement. The default value is a null.

Example

For XAML example, refer to Source.

For C#/VB examples, refer to BitmapSourceViewerElement.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also