LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

Source Property (ImageBox)

Show in webframe





Gets or sets the System.Windows.Media.ImageSource to be displayed in this control. This is a dependency property.
Syntax
public ImageSource Source {get; set;}
'Declaration
 
Public Property Source As ImageSource
'Usage
 
Dim instance As ImageBox
Dim value As ImageSource
 
instance.Source = value
 
value = instance.Source

            

            
public:
property ImageSource^ Source {
   ImageSource^ get();
   void set (    ImageSource^ value);
}

Property Value

The source of the drawn image. The default value is a null reference (Nothing in Visual Basic).
Remarks

When the value of the Source property changes to a valid image, the values of SourceDpiX and SourceDpiY will be populated by the image resolution.

Example

For XAML example, refer to ImageBox.

For C#/VB examples, refer to ImageBox.

Requirements

Target Platforms

See Also

Reference

ImageBox Class
ImageBox Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.