Click here to Skip to main content
15,913,487 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: login app from a windows azure database Pin
Mycroft Holmes30-Nov-11 21:07
professionalMycroft Holmes30-Nov-11 21:07 
GeneralRe: login app from a windows azure database Pin
dheesan1-Dec-11 2:30
dheesan1-Dec-11 2:30 
NewsFree Chapter of the Book 'Fun with Silverlight 4' at codeproject Pin
Raj Lal30-Nov-11 12:25
professionalRaj Lal30-Nov-11 12:25 
QuestionMedia Element not playing .ts file in .net 4.0, works in .net 3.0 Pin
revengeoffallen30-Nov-11 1:31
revengeoffallen30-Nov-11 1:31 
Questiondispatcher Pin
columbos1492728-Nov-11 4:18
columbos1492728-Nov-11 4:18 
QuestionHierarchical Data Templates /Treeview Pin
Rbucha27-Nov-11 15:05
Rbucha27-Nov-11 15:05 
AnswerRe: Hierarchical Data Templates /Treeview Pin
Mycroft Holmes27-Nov-11 16:34
professionalMycroft Holmes27-Nov-11 16:34 
GeneralRe: Hierarchical Data Templates /Treeview Pin
Rbucha28-Nov-11 6:57
Rbucha28-Nov-11 6:57 
GeneralRe: Hierarchical Data Templates /Treeview Pin
Mycroft Holmes28-Nov-11 10:53
professionalMycroft Holmes28-Nov-11 10:53 
Questionremote access to application Pin
arkiboys26-Nov-11 22:50
arkiboys26-Nov-11 22:50 
AnswerRe: remote access to application Pin
Mycroft Holmes26-Nov-11 23:13
professionalMycroft Holmes26-Nov-11 23:13 
GeneralRe: remote access to application Pin
arkiboys27-Nov-11 21:11
arkiboys27-Nov-11 21:11 
GeneralRe: remote access to application Pin
Mycroft Holmes27-Nov-11 21:37
professionalMycroft Holmes27-Nov-11 21:37 
GeneralRe: remote access to application Pin
arkiboys27-Nov-11 21:54
arkiboys27-Nov-11 21:54 
QuestionSetting an expiry date for WPF Theme DLL Pin
Prasoon Chaudhary26-Nov-11 0:58
Prasoon Chaudhary26-Nov-11 0:58 
AnswerRe: Setting an expiry date for WPF Theme DLL Pin
SledgeHammer0126-Nov-11 16:18
SledgeHammer0126-Nov-11 16:18 
GeneralRe: Setting an expiry date for WPF Theme DLL Pin
Prasoon Chaudhary27-Nov-11 4:30
Prasoon Chaudhary27-Nov-11 4:30 
GeneralRe: Setting an expiry date for WPF Theme DLL Pin
SledgeHammer0127-Nov-11 7:53
SledgeHammer0127-Nov-11 7:53 
GeneralRe: Setting an expiry date for WPF Theme DLL Pin
Prasoon Chaudhary27-Nov-11 18:09
Prasoon Chaudhary27-Nov-11 18:09 
QuestionWPF TreeView DataTemplate - Select Visual Parent Pin
Kevin Marois25-Nov-11 8:48
professionalKevin Marois25-Nov-11 8:48 
AnswerRe: WPF TreeView DataTemplate - Select Visual Parent Pin
SledgeHammer0126-Nov-11 10:12
SledgeHammer0126-Nov-11 10:12 
This is a well known issue in WPF. Its kind of expected in all item based controls that your data template doesn't have any focusable controls. When you do, you run into the problem that you are seeing, that focus was set to the child control completely bypassing the item.

Fortunately, the fix is easy. Add this to your resources section:

<Style TargetType="{x:Type TreeViewItem}">
<Style.Triggers>
<Trigger Property="IsKeyboardFocusWithin" Value="True">
<Setter Property="IsSelected" Value="True" />
</Trigger>
</Style.Triggers>
</Style>
GeneralRe: WPF TreeView DataTemplate - Select Visual Parent Pin
Kevin Marois26-Nov-11 11:02
professionalKevin Marois26-Nov-11 11:02 
GeneralRe: WPF TreeView DataTemplate - Select Visual Parent Pin
Kevin Marois28-Nov-11 11:44
professionalKevin Marois28-Nov-11 11:44 
GeneralRe: WPF TreeView DataTemplate - Select Visual Parent Pin
SledgeHammer0128-Nov-11 12:02
SledgeHammer0128-Nov-11 12:02 
GeneralRe: WPF TreeView DataTemplate - Select Visual Parent Pin
Kevin Marois28-Nov-11 12:25
professionalKevin Marois28-Nov-11 12:25 

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.