LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Uri Property
See Also 
Leadtools.Windows.Controls Namespace > ImageListItem Class : Uri Property



Gets or sets the uniform resource identifier (URI) of the Source image to view. This is a dependency property. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Uri As Uri
Visual Basic (Usage)Copy Code
Dim instance As ImageListItem
Dim value As Uri
 
instance.Uri = value
 
value = instance.Uri
C# 
public Uri Uri {get; set;}
C++/CLI 
public:
property Uri^ Uri {
   Uri^ get();
   void set (    Uri^ value);
}

Property Value

A Uri that contains the uniform resource identifier (URI) of the Source image to view. Default value is null (Nothing in Visual Basic).

Example

For XAML example, refer to ImageList.

For C#/VB examples, refer to ImageList.

Remarks

The ImageList control will load the image specified in Uri, on success, the loaded System.Windows.Media.ImageSource object will be set in the Source property.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also