Click here to Skip to main content
15,898,373 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Assign a context to a UI Element Pin
Pete O'Hanlon21-Jan-11 3:40
mvePete O'Hanlon21-Jan-11 3:40 
QuestionReusable Lookup Control Pin
Ed Hill _5_20-Jan-11 5:14
Ed Hill _5_20-Jan-11 5:14 
QuestionEmbeding a Usercontrol [modified] Pin
Adrian020-Jan-11 2:35
Adrian020-Jan-11 2:35 
AnswerRe: Embeding a Usercontrol Pin
SledgeHammer0120-Jan-11 6:39
SledgeHammer0120-Jan-11 6:39 
QuestionREMOVE DATA IN ACCORDION AT RUN TIME Pin
jessins18-Jan-11 16:28
jessins18-Jan-11 16:28 
AnswerRe: REMOVE DATA IN ACCORDION AT RUN TIME Pin
Abhinav S18-Jan-11 18:04
Abhinav S18-Jan-11 18:04 
QuestionAccess Parent of Templated TreeViewItem Control ? Pin
AmitDey17-Jan-11 5:56
AmitDey17-Jan-11 5:56 
AnswerRe: Access Parent of Templated TreeViewItem Control ? Pin
SledgeHammer0118-Jan-11 7:30
SledgeHammer0118-Jan-11 7:30 
'sender' should be your Node object. You can then do something like:

Node node = sender as Node;

TreeViewItem tvi = ItemContainerGenerator.ContainerFromItem(node) as TreeViewItem;

You need to be careful here though because the WPF treeview is virtualized, so the TreeViewItem objects come and go as you scroll, collapse, etc. Its possible that ItemContainerGenerator.ContainerFromItem(node) will return null.
GeneralRe: Access Parent of Templated TreeViewItem Control ? Pin
AmitDey18-Jan-11 7:40
AmitDey18-Jan-11 7:40 
Questionsql server express [modified] Pin
arkiboys17-Jan-11 2:30
arkiboys17-Jan-11 2:30 
AnswerRe: sql server express Pin
Pete O'Hanlon17-Jan-11 3:12
mvePete O'Hanlon17-Jan-11 3:12 
AnswerRe: sql server express Pin
Abhinav S17-Jan-11 5:34
Abhinav S17-Jan-11 5:34 
QuestionGridview not showing items [modified] [Solved] Pin
V.17-Jan-11 1:22
professionalV.17-Jan-11 1:22 
QuestionColumnbar styling quesiton in SL4 [modified] Pin
CrafterIt16-Jan-11 22:46
CrafterIt16-Jan-11 22:46 
AnswerRe: Columnbar styling quesiton in SL4 Pin
CrafterIt17-Jan-11 2:23
CrafterIt17-Jan-11 2:23 
Questioncant play sound from source using MediaElement Pin
igalep13215-Jan-11 12:09
igalep13215-Jan-11 12:09 
AnswerRe: cant play sound from source using MediaElement Pin
omeriko916-Jan-11 6:59
omeriko916-Jan-11 6:59 
GeneralRe: cant play sound from source using MediaElement Pin
igalep13216-Jan-11 11:45
igalep13216-Jan-11 11:45 
GeneralRe: cant play sound from source using MediaElement Pin
omeriko916-Jan-11 20:21
omeriko916-Jan-11 20:21 
GeneralRe: cant play sound from source using MediaElement Pin
igalep13216-Jan-11 20:41
igalep13216-Jan-11 20:41 
GeneralRe: cant play sound from source using MediaElement Pin
omeriko916-Jan-11 20:43
omeriko916-Jan-11 20:43 
Questionwpf 2010 express Pin
arkiboys14-Jan-11 20:18
arkiboys14-Jan-11 20:18 
AnswerRe: wpf 2010 express Pin
Praveen Raghuvanshi15-Jan-11 4:30
professionalPraveen Raghuvanshi15-Jan-11 4:30 
AnswerRe: wpf 2010 express Pin
Abhinav S16-Jan-11 2:18
Abhinav S16-Jan-11 2:18 
QuestionThe property 'ContentStringFormat' does not exist on the type Pin
CrafterIt13-Jan-11 22:45
CrafterIt13-Jan-11 22:45 

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.