This is a migrated thread and some comments may be shown as answers.

Setting ımage source without using binding

1 Answer 24 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
beray
Top achievements
Rank 2
beray asked on 14 May 2014, 03:53 PM
Hi, I've created DataBoundListBox like this :


<telerikPrimitives:RadDataBoundListBox>       
<telerikPrimitives:RadDataBoundListBox.ItemTemplate>           
<DataTemplate>                  
<Image Source="{Binding}"/>            
</DataTemplate>  
</telerikPrimitives:RadDataBoundListBox.ItemTemplate>
</telerikPrimitives:RadDataBoundListBox>

So, I will create a new writeable bitmap image and I want to set that wbitmap as a Image source. I do not want use binding

Thanks, Beray

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 19 May 2014, 07:42 AM
Hello Beray,

Thanks for writing and for your question.

Unfortunately you do not have many options here. Using a DataTemplate implies to use a binding to initialize the different UI elements in it. Why wouldn't you do that?

Regards,
Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DataBoundListBox
Asked by
beray
Top achievements
Rank 2
Answers by
Deyan
Telerik team
Share this question
or