Click here to Skip to main content
15,897,518 members
Home / Discussions / WPF
   

WPF

 
QuestionStoring Data on Server or Client in SilverLight4 Pin
idreesbadshah14-Feb-12 23:48
idreesbadshah14-Feb-12 23:48 
AnswerRe: Storing Data on Server or Client in SilverLight4 Pin
Abhinav S14-Feb-12 23:52
Abhinav S14-Feb-12 23:52 
GeneralRe: Storing Data on Server or Client in SilverLight4 Pin
idreesbadshah14-Feb-12 23:56
idreesbadshah14-Feb-12 23:56 
GeneralRe: Storing Data on Server or Client in SilverLight4 Pin
Pete O'Hanlon15-Feb-12 1:35
mvePete O'Hanlon15-Feb-12 1:35 
GeneralRe: Storing Data on Server or Client in SilverLight4 Pin
idreesbadshah15-Feb-12 2:16
idreesbadshah15-Feb-12 2:16 
GeneralRe: Storing Data on Server or Client in SilverLight4 Pin
Pete O'Hanlon15-Feb-12 2:29
mvePete O'Hanlon15-Feb-12 2:29 
QuestionWPF Handling Events In MVVM Pin
Kevin Marois14-Feb-12 10:44
professionalKevin Marois14-Feb-12 10:44 
AnswerRe: WPF Handling Events In MVVM Pin
SledgeHammer0114-Feb-12 11:02
SledgeHammer0114-Feb-12 11:02 
1) download the Blend SDK (you only need System.Windows.Interactivity.dll)
2) steal an EventToCommand mapper (such as the one in MVVMLight or Cinch for example)
3) in XAML, add the namespace:

C#
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"


4) on the owning object you would do something like:

C#
<ListView>
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="ItemContextMenuOpening">
					<local:EventToCommand Command="{Binding ItemContextMenuOpeningCommand}" PassEventArgsToCommand="True" />
				</i:EventTrigger>
			</i:Interaction.Triggers>

</ListView>

GeneralRe: WPF Handling Events In MVVM Pin
Kevin Marois14-Feb-12 11:21
professionalKevin Marois14-Feb-12 11:21 
GeneralRe: WPF Handling Events In MVVM Pin
Kevin Marois14-Feb-12 11:53
professionalKevin Marois14-Feb-12 11:53 
GeneralRe: WPF Handling Events In MVVM Pin
SledgeHammer0114-Feb-12 11:56
SledgeHammer0114-Feb-12 11:56 
GeneralRe: WPF Handling Events In MVVM Pin
Kevin Marois14-Feb-12 12:01
professionalKevin Marois14-Feb-12 12:01 
GeneralRe: WPF Handling Events In MVVM Pin
SledgeHammer0114-Feb-12 12:05
SledgeHammer0114-Feb-12 12:05 
GeneralRe: WPF Handling Events In MVVM Pin
Kevin Marois14-Feb-12 12:20
professionalKevin Marois14-Feb-12 12:20 
AnswerRe: WPF Handling Events In MVVM Pin
Wes Aday14-Feb-12 11:40
professionalWes Aday14-Feb-12 11:40 
GeneralRe: WPF Handling Events In MVVM Pin
Kevin Marois14-Feb-12 11:49
professionalKevin Marois14-Feb-12 11:49 
GeneralRe: WPF Handling Events In MVVM Pin
Wes Aday14-Feb-12 11:57
professionalWes Aday14-Feb-12 11:57 
AnswerRe: WPF Handling Events In MVVM Pin
El_Codero15-Feb-12 12:34
El_Codero15-Feb-12 12:34 
QuestionWPF ListBox As Hyperlinks Pin
Kevin Marois13-Feb-12 15:30
professionalKevin Marois13-Feb-12 15:30 
AnswerRe: WPF ListBox As Hyperlinks Pin
Abhinav S13-Feb-12 19:53
Abhinav S13-Feb-12 19:53 
QuestionDrag two columns in Datagrid Pin
Defender-NF12-Feb-12 22:49
Defender-NF12-Feb-12 22:49 
QuestionWPF Binding Tree Node Expanded Pin
Kevin Marois12-Feb-12 7:31
professionalKevin Marois12-Feb-12 7:31 
AnswerRe: WPF Binding Tree Node Expanded Pin
SledgeHammer0112-Feb-12 10:21
SledgeHammer0112-Feb-12 10:21 
GeneralRe: WPF Binding Tree Node Expanded Pin
Kevin Marois13-Feb-12 15:30
professionalKevin Marois13-Feb-12 15:30 
QuestionHow can I find out that a UserControl is Rendered ? Pin
rdinca9-Feb-12 19:21
rdinca9-Feb-12 19:21 

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.