Click here to Skip to main content
15,881,852 members
Home / Discussions / WPF
   

WPF

 
QuestionAttached behaviour for Datagrid row double click Pin
Ashfaque Hussain11-Mar-14 20:35
Ashfaque Hussain11-Mar-14 20:35 
AnswerRe: Attached behaviour for Datagrid row double click Pin
Richard MacCutchan11-Mar-14 23:02
mveRichard MacCutchan11-Mar-14 23:02 
AnswerRe: Attached behaviour for Datagrid row double click Pin
Pete O'Hanlon11-Mar-14 23:06
mvePete O'Hanlon11-Mar-14 23:06 
GeneralRe: Attached behaviour for Datagrid row double click Pin
Ashfaque Hussain11-Mar-14 23:08
Ashfaque Hussain11-Mar-14 23:08 
GeneralRe: Attached behaviour for Datagrid row double click Pin
Pete O'Hanlon11-Mar-14 23:11
mvePete O'Hanlon11-Mar-14 23:11 
QuestionWPF plotting Pin
Subin Mavunkal10-Mar-14 23:50
Subin Mavunkal10-Mar-14 23:50 
QuestionRow Double Click in MVVM Pin
Ashfaque Hussain10-Mar-14 22:24
Ashfaque Hussain10-Mar-14 22:24 
QuestionWPF User Control Question Pin
Kevin Marois10-Mar-14 17:11
professionalKevin Marois10-Mar-14 17:11 
I'm creating a search control that has a label, a combobox, and a button. The button will do a requery for the combobox's list items.

I created DP's for the ComboBox's ItemSource and SelectedItem properties.


The control will be used like:

<my:searchControl Grid.Row="0"
                  ComboItemSource="{Binding Items}"
                  ComboSelectedItem="{Binding Selected}"
                  CaptionText="Look For"\>


Everything is working fine so far.


What do I do about the button's click event? I would want to handle the requery buttons's click in the ViewModel the control is used in:

<my:searchControl Grid.Row="0"
                  ComboItemSource="{Binding Items}"
                  ComboSelectedItem="{Binding Selected}"
                  CaptionText="Look For"\>

    <my:searchControl>
        <i:Interaction.Triggers>
            <i:EventTrigger EventName="ButtonClicked"/>
        </i:Interaction.Triggers>
    </my:searchControl>


Is this the right approach?

Thanks
If it's not broken, fix it until it is

QuestionReagrding the Persistance of an radio buttion selection. Pin
pradeep surya10-Mar-14 7:36
pradeep surya10-Mar-14 7:36 
QuestionDomainServices adn [RequiresRoles()] Pin
picasso29-Mar-14 19:14
picasso29-Mar-14 19:14 
QuestionRe: DomainServices adn [RequiresRoles()] Pin
Richard MacCutchan9-Mar-14 22:35
mveRichard MacCutchan9-Mar-14 22:35 
AnswerRe: DomainServices adn [RequiresRoles()] Pin
picasso210-Mar-14 11:55
picasso210-Mar-14 11:55 
GeneralRe: DomainServices adn [RequiresRoles()] Pin
Richard MacCutchan10-Mar-14 22:16
mveRichard MacCutchan10-Mar-14 22:16 
QuestionHelp on drawing a line WPF Pin
abollmeyer9-Mar-14 2:46
abollmeyer9-Mar-14 2:46 
Questiondisplay same result in different units: U.S. v.s. Metric Pin
Member 97807175-Mar-14 10:43
Member 97807175-Mar-14 10:43 
AnswerRe: display same result in different units: U.S. v.s. Metric Pin
Pete O'Hanlon5-Mar-14 10:51
mvePete O'Hanlon5-Mar-14 10:51 
GeneralRe: display same result in different units: U.S. v.s. Metric Pin
Member 97807175-Mar-14 13:05
Member 97807175-Mar-14 13:05 
GeneralRe: display same result in different units: U.S. v.s. Metric Pin
SledgeHammer015-Mar-14 13:47
SledgeHammer015-Mar-14 13:47 
QuestionWPF Detect Property Change In Entity In VM Pin
Kevin Marois4-Mar-14 7:46
professionalKevin Marois4-Mar-14 7:46 
AnswerRe: WPF Detect Property Change In Entity In VM Pin
Pete O'Hanlon4-Mar-14 8:16
mvePete O'Hanlon4-Mar-14 8:16 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 6:15
professionalKevin Marois11-Mar-14 6:15 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Pete O'Hanlon11-Mar-14 6:20
mvePete O'Hanlon11-Mar-14 6:20 
AnswerRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron4-Mar-14 8:37
professionalMatt T Heffron4-Mar-14 8:37 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 5:50
professionalKevin Marois11-Mar-14 5:50 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron11-Mar-14 7:51
professionalMatt T Heffron11-Mar-14 7: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.