Click here to Skip to main content
15,920,896 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How can I tell whether a Silverlight Textbox vertical scrollbar is visible or not Pin
Damien Dunphy31-May-11 22:34
Damien Dunphy31-May-11 22:34 
Questionusing webcam with silverlight 4 - protection error Pin
shabya30-Sep-10 2:19
shabya30-Sep-10 2:19 
AnswerRe: using webcam with silverlight 4 - protection error Pin
Pete O'Hanlon30-Sep-10 2:26
mvePete O'Hanlon30-Sep-10 2:26 
GeneralRe: using webcam with silverlight 4 - protection error Pin
shabya30-Sep-10 2:29
shabya30-Sep-10 2:29 
GeneralRe: using webcam with silverlight 4 - protection error Pin
Pete O'Hanlon30-Sep-10 2:43
mvePete O'Hanlon30-Sep-10 2:43 
QuestionHow to begin storyboard based on ListBoxItem selection??? Pin
vladc7730-Sep-10 1:09
vladc7730-Sep-10 1:09 
AnswerRe: How to begin storyboard based on ListBoxItem selection??? Pin
Pete O'Hanlon30-Sep-10 1:31
mvePete O'Hanlon30-Sep-10 1:31 
QuestionCreating an instance of SelectionChangedEventArgs in wpf Pin
dashingsidds28-Sep-10 22:31
dashingsidds28-Sep-10 22:31 
Hi Experts,

I have a user control which is having a listview inside it. The SelectionChanged event of this list view is handled inside the user control. The code for the same is as follows:

private void lstvMyView_SelectionChanged(object sender, SelectionChangedEventArgs e)
{...}


I want to call this handler again from some other place inside the user control. So to call this handler i need the "SelectionChangedEventArgs" there. When I am trying to create the instance of "SelectionChangedEventArgs", i am unable to understand what should I pass as parameters to the constructor of "SelectionChangedEventArgs".

The place from where I am suppose to call this handler does not add or remove any items in the listview. It just navigates in the items in the listview thereby changing the selectedindex of the listview.

I am trying to do something like this. The below code is obviously incorrect.


lstvMyView_SelectionChanged(_lstvMyView, new SelectionChangedEventArgs());


Please Help!

Thanks in Advance!

Regards,
Samar

modified on Wednesday, September 29, 2010 4:42 AM

AnswerRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
Pete O'Hanlon28-Sep-10 22:55
mvePete O'Hanlon28-Sep-10 22:55 
GeneralRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
dashingsidds28-Sep-10 23:01
dashingsidds28-Sep-10 23:01 
GeneralRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
Pete O'Hanlon28-Sep-10 23:24
mvePete O'Hanlon28-Sep-10 23:24 
GeneralRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
dashingsidds28-Sep-10 23:43
dashingsidds28-Sep-10 23:43 
GeneralRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
Pete O'Hanlon29-Sep-10 0:58
mvePete O'Hanlon29-Sep-10 0:58 
GeneralRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
dashingsidds29-Sep-10 1:24
dashingsidds29-Sep-10 1:24 
GeneralRe: Creating an instance of SelectionChangedEventArgs in wpf Pin
Pete O'Hanlon29-Sep-10 1:30
mvePete O'Hanlon29-Sep-10 1:30 
QuestionWhich obfuscator can I use? Pin
Aseem Sharma28-Sep-10 8:06
Aseem Sharma28-Sep-10 8:06 
AnswerRe: Which obfuscator can I use? Pin
Pascal Hubert28-Sep-10 8:28
Pascal Hubert28-Sep-10 8:28 
GeneralRe: Which obfuscator can I use? Pin
Aseem Sharma28-Sep-10 17:51
Aseem Sharma28-Sep-10 17:51 
GeneralRe: Which obfuscator can I use? Pin
Aseem Sharma30-Sep-10 20:19
Aseem Sharma30-Sep-10 20:19 
AnswerRe: Which obfuscator can I use? Pin
Pete O'Hanlon28-Sep-10 9:00
mvePete O'Hanlon28-Sep-10 9:00 
GeneralRe: Which obfuscator can I use? Pin
Aseem Sharma28-Sep-10 17:50
Aseem Sharma28-Sep-10 17:50 
GeneralRe: Which obfuscator can I use? Pin
Pete O'Hanlon28-Sep-10 21:47
mvePete O'Hanlon28-Sep-10 21:47 
GeneralRe: Which obfuscator can I use? Pin
Aseem Sharma30-Sep-10 20:20
Aseem Sharma30-Sep-10 20:20 
GeneralRe: Which obfuscator can I use? Pin
jmcc2k11-Oct-10 1:32
jmcc2k11-Oct-10 1:32 
Questionan unhandled win32 exception occurred in plugin-container.exe Pin
Manu Viswan27-Sep-10 23:47
Manu Viswan27-Sep-10 23:47 

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.