Click here to Skip to main content
15,884,298 members
Home / Discussions / WPF
   

WPF

 
Questioncalendar control Pin
nik00828-Feb-12 20:38
nik00828-Feb-12 20:38 
AnswerRe: calendar control Pin
Abhinav S28-Feb-12 22:41
Abhinav S28-Feb-12 22:41 
AnswerRe: calendar control Pin
Pete O'Hanlon29-Feb-12 0:18
mvePete O'Hanlon29-Feb-12 0:18 
QuestionThe WPF DocumentViewer Control Pin
usolo28-Feb-12 15:04
usolo28-Feb-12 15:04 
QuestionEdit MainPage title in Silverlight 5 Pin
roni-in28-Feb-12 6:01
roni-in28-Feb-12 6:01 
AnswerRe: Edit MainPage title in Silverlight 5 Pin
Abhinav S29-Feb-12 1:53
Abhinav S29-Feb-12 1:53 
GeneralRe: Edit MainPage title in Silverlight 5 Pin
roni-in29-Feb-12 3:37
roni-in29-Feb-12 3:37 
QuestionReference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 20:55
professionalMycroft Holmes27-Feb-12 20:55 
I am trying to manke a generic HierarchicalDataTemplate to be used in all TreeViews. I am creating a Templates.xaml where I have the following template
HTML
<!-- ================================== TreeViewNode ================================== -->
<HierarchicalDataTemplate x:Key="TreeNodeTemplate" DataType="{x:Type vm:TreeNodeVM}" ItemsSource="{Binding Children}">
<StackPanel Orientation="Horizontal">
	<Image Width="16" Height="16" Margin="3,0"
			Source="{Binding ImageSource, Converter={StaticResource ImageFromAssetsConverter}}" /><<<< error here
		<TextBlock Text="{Binding NodeLabel}" Margin="3" />
</StackPanel>
</HierarchicalDataTemplate>


My problem is that I cannot work out how to reference the Converter ImageFromAssetsConverter which lives in the Code folder. I have declared the code folder in the .xaml header.
HTML
xmlns:code="clr-namespace:ClassBuilder.Code">

Never underestimate the power of human stupidity
RAH

AnswerRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:03
mvePete O'Hanlon27-Feb-12 21:03 
GeneralRe: Reference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 21:25
professionalMycroft Holmes27-Feb-12 21:25 
GeneralRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:34
mvePete O'Hanlon27-Feb-12 21:34 
GeneralRe: Reference a Converter from a template.xaml Pin
Mycroft Holmes27-Feb-12 21:48
professionalMycroft Holmes27-Feb-12 21:48 
GeneralRe: Reference a Converter from a template.xaml Pin
Pete O'Hanlon27-Feb-12 21:50
mvePete O'Hanlon27-Feb-12 21:50 
QuestionWPF Facebook App Pin
Kevin Marois27-Feb-12 13:25
professionalKevin Marois27-Feb-12 13:25 
QuestionIntersoft ClientUI 6 Pin
LAPEC27-Feb-12 12:19
LAPEC27-Feb-12 12:19 
AnswerRe: Intersoft ClientUI 6 Pin
Mycroft Holmes27-Feb-12 13:51
professionalMycroft Holmes27-Feb-12 13:51 
AnswerRe: Intersoft ClientUI 6 Pin
Wes Aday28-Feb-12 3:10
professionalWes Aday28-Feb-12 3:10 
AnswerRe: Intersoft ClientUI 6 Pin
Pete O'Hanlon28-Feb-12 3:17
mvePete O'Hanlon28-Feb-12 3:17 
AnswerRe: Intersoft ClientUI 6 Pin
usolo5-Mar-12 16:34
usolo5-Mar-12 16:34 
AnswerRe: Intersoft ClientUI 6 Pin
Intersoft Solutions (Business)2-Aug-12 17:07
Intersoft Solutions (Business)2-Aug-12 17:07 
QuestionWPF Handwriting "Preview" Pin
programmervb.netc++27-Feb-12 5:11
programmervb.netc++27-Feb-12 5:11 
QuestionProblem with Prism Pin
radhwane27-Feb-12 0:59
radhwane27-Feb-12 0:59 
AnswerRe: Problem with Prism Pin
Richard MacCutchan27-Feb-12 1:59
mveRichard MacCutchan27-Feb-12 1:59 
AnswerRe: Problem with Prism Pin
Abhinav S27-Feb-12 2:27
Abhinav S27-Feb-12 2:27 
QuestionHow to Use WCF service Pin
MKC00226-Feb-12 22:42
MKC00226-Feb-12 22:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.