Click here to Skip to main content
15,908,842 members
Home / Discussions / WPF
   

WPF

 
QuestionPass selection to container Pin
Mycroft Holmes15-Jul-14 21:55
professionalMycroft Holmes15-Jul-14 21:55 
I have a Treeview (telerik) using HierarchicalDataTemplate

HTML
<telerik:RadTreeView.ItemTemplate>
	<HierarchicalDataTemplate ItemsSource="{Binding ChildNodes}">
		<Border Background="{Binding BackColour}">
		<StackPanel Orientation="Horizontal">
			<Image Source="{Binding ImageSource,Converter={StaticResource ImageFromAssetsConverter}}"
			 Width="16"
				 Height="16" />
		<TextBlock Margin="10,0"
			Text="{Binding NodeLabel}"
			TextWrapping="Wrap"
			VerticalAlignment="Center" />
		<CheckBox IsChecked="{Binding IsChecked,Mode=TwoWay}"
			Content="Default N/A" Margin="15,0,0,0"
			Visibility="{Binding ShowCheckBox,Converter={StaticResource VisibilityConverter}}" />
		</StackPanel>
	</Border>
</HierarchicalDataTemplate>
</telerik:RadTreeView.ItemTemplate>


The user MUST select the node BEFORE checking the checkbox. Is it possible to select the node when the user checks the checkbox.
Never underestimate the power of human stupidity
RAH

AnswerRe: Pass selection to container Pin
SledgeHammer0116-Jul-14 5:09
SledgeHammer0116-Jul-14 5:09 
AnswerRe: Pass selection to container Pin
Biswa Pujarini Mohapatra16-Jul-14 16:55
Biswa Pujarini Mohapatra16-Jul-14 16:55 
GeneralRe: Pass selection to container Pin
Mycroft Holmes16-Jul-14 19:28
professionalMycroft Holmes16-Jul-14 19:28 
AnswerRe: Pass selection to container - Resolved Pin
Mycroft Holmes6-Aug-14 15:59
professionalMycroft Holmes6-Aug-14 15:59 
QuestionDynamically creating controls in WPF/MVV Pin
Ashfaque Hussain15-Jul-14 20:20
Ashfaque Hussain15-Jul-14 20:20 
AnswerRe: Dynamically creating controls in WPF/MVV Pin
Richard MacCutchan15-Jul-14 22:13
mveRichard MacCutchan15-Jul-14 22:13 
GeneralRe: Dynamically creating controls in WPF/MVV Pin
Ashfaque Hussain16-Jul-14 2:05
Ashfaque Hussain16-Jul-14 2:05 
SuggestionRe: Dynamically creating controls in WPF/MVV Pin
Richard MacCutchan16-Jul-14 2:25
mveRichard MacCutchan16-Jul-14 2:25 
Questionhow this code works and why tag is used Pin
anil42010-Jul-14 22:57
anil42010-Jul-14 22:57 
AnswerRe: how this code works and why tag is used Pin
simbos10-Jul-14 23:28
simbos10-Jul-14 23:28 
SuggestionRe: hello Pin
Richard MacCutchan10-Jul-14 22:34
mveRichard MacCutchan10-Jul-14 22:34 
QuestionConfused about MarkupExtension class reference in XAML Pin
Mc_Topaz9-Jul-14 3:38
Mc_Topaz9-Jul-14 3:38 
AnswerRe: Confused about MarkupExtension class reference in XAML Pin
Pete O'Hanlon9-Jul-14 4:45
mvePete O'Hanlon9-Jul-14 4:45 
QuestionRe: Confused about MarkupExtension class reference in XAML Pin
Mc_Topaz9-Jul-14 5:34
Mc_Topaz9-Jul-14 5:34 
AnswerRe: Confused about MarkupExtension class reference in XAML Pin
Pete O'Hanlon9-Jul-14 5:55
mvePete O'Hanlon9-Jul-14 5:55 
GeneralRe: Confused about MarkupExtension class reference in XAML Pin
Richard Deeming9-Jul-14 8:01
mveRichard Deeming9-Jul-14 8:01 
GeneralRe: Confused about MarkupExtension class reference in XAML Pin
Pete O'Hanlon9-Jul-14 8:33
mvePete O'Hanlon9-Jul-14 8:33 
QuestionNeed some idea for resizing my control Pin
Super Lloyd8-Jul-14 4:22
Super Lloyd8-Jul-14 4:22 
QuestionShow items in multiple columns Pin
pjank423-Jul-14 22:06
pjank423-Jul-14 22:06 
AnswerRe: Show items in multiple columns Pin
Pete O'Hanlon3-Jul-14 23:03
mvePete O'Hanlon3-Jul-14 23:03 
GeneralRe: Show items in multiple columns Pin
pjank424-Jul-14 5:26
pjank424-Jul-14 5:26 
QuestionMultipass MeasureOverride() not calculating updated items size (added code sample) Pin
Super Lloyd2-Jul-14 3:50
Super Lloyd2-Jul-14 3:50 
QuestionDraw a rectangular box Pin
Subin Mavunkal1-Jul-14 23:24
Subin Mavunkal1-Jul-14 23:24 
AnswerRe: Draw a rectangular box Pin
Matt T Heffron2-Jul-14 13:53
professionalMatt T Heffron2-Jul-14 13:53 

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.