We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

LeftImageSource - How to use from code?

Thread ID:

Created:

Updated:

Platform:

Replies:

100085 Jul 2,2011 02:52 AM UTC Jul 6,2011 01:20 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: Tools
Dave Perkovich
Asked On July 2, 2011 02:52 AM UTC

How can I set the LeftImageSource via code?

The following code does nothing and there does not seem to be any examples in VB or otherwise that shows the correct implementation of this.

Dim i As New Uri("/Images/Folder_Collapsed.png", UriKind.Relative)
Dim t As New TreeViewItemAdv
t.LeftImageSource = New Imaging.BitmapImage(i)
t.Header = "First Folder"
TreeView.Items.Add(t)



Dave Perkovich
Replied On July 2, 2011 03:12 AM UTC

Wrong forum - this should be under Silverlight.


Sakthi Kumar A [Syncfusion]
Replied On July 6, 2011 01:20 PM UTC

Hi Dave,

Thank you for using Syncfusion products.

We have created the sample for adding the leftimagesource to the TreeViewItemAdv. Please find the patch under the following location.

Please let us know if you have any queries.

Regards,
Sakthi



TreeViewAdvSilverCollapse_7e37679.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;