←Select platform

Uri Property

Summary

Gets or sets the uniform resource identifier (URI) of the Source image to view. This is a dependency property.

Syntax

C#
VB
C++
public Uri Uri { get; set; } 
  
Public Property Uri As Uri 
public: 
property Uri^ Uri { 
   Uri^ get(); 
   void set (    Uri^ ); 
} 

Property Value

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

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.

Example

For XAML example, refer to ImageList.

For C#/VB examples, refer to ImageList.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly