Click here to Skip to main content
16,004,887 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Not able to drag and drop WPF controls on to window in Visual Studio 2008 Pin
Anurag Sinha V5-Jun-12 2:56
Anurag Sinha V5-Jun-12 2:56 
QuestionSilverlight client 4.0 application listboxs not working with the new Sliverlight 5.1 client Pin
Steve Holdorf3-Jun-12 12:21
Steve Holdorf3-Jun-12 12:21 
AnswerRe: Silverlight client 4.0 application listboxs not working with the new Sliverlight 5.1 client Pin
vinodkrebc7-Jun-12 0:04
vinodkrebc7-Jun-12 0:04 
QuestionWhich platform for a simple platform game to play by web rend erer ? Pin
EternallyConfuzzled31-May-12 22:28
EternallyConfuzzled31-May-12 22:28 
AnswerRe: Which platform for a simple platform game to play by web rend erer ? Pin
Abhinav S3-Jun-12 19:33
Abhinav S3-Jun-12 19:33 
QuestionComboBox MVVM Issue Pin
wasimsharp31-May-12 21:29
wasimsharp31-May-12 21:29 
AnswerRe: ComboBox MVVM Issue Pin
Alisaunder2-Jun-12 6:24
Alisaunder2-Jun-12 6:24 
QuestionWPF TreeView jumps up Pin
Mc_Topaz30-May-12 1:09
Mc_Topaz30-May-12 1:09 
I have an annoying problem with the WPF TreeView. I'll try to explain it.

The TreeView is populated with a root item which contains of 47 sub nodes. The scrollbar is automatically displayed since all sub nodes cannot fit into area where the TreeView is located in.

When I right click, to display a context menu, on a sub node while the scrollbar is at the top position; the correct sub node is selected and I can add sub nodes for that sub node.

But when I right click on a sub node which is only displayed when the scrollbar is moved down, either a bit or to the bottom, the problem occurs.
This cause the scrollbar to automatic jump back up to the top. The sub node which I right clicked on is not selected. The lowest displayed sub node, when the scrollbar is at the top, is instead selected.

I'll try to illustrate this with ASCII artSmile | :)
RootItem
  SubNode1
  SubNode2
  SubNode3
  SubNode4
  SubNode5 <- This node is selected
--- Border which enables scrollbar
  SubNode6
  SubNode7
  SubNode8
  SubNode9 <- Right click here
Ascii art FTW! Cool | :cool:

Notice the "border"-line which indicates that only Subnode1 to SubNode5 is displayed when the scrollbar is at the top. SubNode6 to SubNode9 are only displayed when the scrollbar is at the bottom.

When right clicking on "SubNode9" the SubNode5" is selected.

I wish could display the source code but my boss forbids me to include the entire code section of the TreeView. Also the code is complicated to understand by just pasting clips of it into this post.

Any suggestions what could case this? I can include code if you ask for a section of it.

/Steffe - Today I have Age++ Big Grin | :-D
AnswerRe: WPF TreeView jumps up Pin
Gerry Schmitz30-May-12 8:21
mveGerry Schmitz30-May-12 8:21 
QuestionSet webcam brightness in Silverlight Pin
ebrahim rajabloo29-May-12 19:28
ebrahim rajabloo29-May-12 19:28 
QuestionINotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 1:02
Adam_Dev29-May-12 1:02 
AnswerRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 2:26
mvePete O'Hanlon29-May-12 2:26 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 2:35
Adam_Dev29-May-12 2:35 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 2:49
mvePete O'Hanlon29-May-12 2:49 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 2:51
Adam_Dev29-May-12 2:51 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 3:10
mvePete O'Hanlon29-May-12 3:10 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 3:21
Adam_Dev29-May-12 3:21 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 3:30
mvePete O'Hanlon29-May-12 3:30 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 3:46
Adam_Dev29-May-12 3:46 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 4:00
mvePete O'Hanlon29-May-12 4:00 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 4:22
Adam_Dev29-May-12 4:22 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 22:03
mvePete O'Hanlon29-May-12 22:03 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev29-May-12 22:10
Adam_Dev29-May-12 22:10 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Pete O'Hanlon29-May-12 22:43
mvePete O'Hanlon29-May-12 22:43 
GeneralRe: INotifyPropertyChanged on Interface class property? Pin
Adam_Dev30-May-12 0:51
Adam_Dev30-May-12 0:51 

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.