Click here to Skip to main content
15,346,269 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron11-Mar-14 7:53
professionalMatt T Heffron11-Mar-14 7:53 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 8:00
professionalKevin Marois11-Mar-14 8:00 
SuggestionRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron11-Mar-14 8:13
professionalMatt T Heffron11-Mar-14 8:13 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 8:18
professionalKevin Marois11-Mar-14 8:18 
AnswerRe: WPF Detect Property Change In Entity In VM Pin
pradeep surya5-Mar-14 7:31
Memberpradeep surya5-Mar-14 7:31 
QuestionWPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 10:40
professionalKevin Marois3-Mar-14 10:40 
I'm trying to bind a window's Activated event to a command:

So I have:

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


and

<Window.Resources>
    <ResourceDictionary>
            
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="..\AppResources.xaml"/>
        </ResourceDictionary.MergedDictionaries>

        <i:Interaction.Triggers>
            <i:EventTrigger EventName="Activated">
                <i:InvokeCommandAction Command="{Binding WindowActivatedCommand}"/>
            </i:EventTrigger>
        </i:Interaction.Triggers>

    </ResourceDictionary>
</Window.Resources>


I get a compilation error

"Property 'Triggers' is not attachable to elements of type 'ResourceDictionary'"

What's wrong here??

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

AnswerRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 10:53
mvaPete O'Hanlon3-Mar-14 10:53 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 11:11
professionalKevin Marois3-Mar-14 11:11 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 11:16
mvaPete O'Hanlon3-Mar-14 11:16 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 11:17
professionalKevin Marois3-Mar-14 11:17 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 11:18
mvaPete O'Hanlon3-Mar-14 11:18 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 11:19
professionalKevin Marois3-Mar-14 11:19 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 11:37
mvaPete O'Hanlon3-Mar-14 11:37 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 11:39
professionalKevin Marois3-Mar-14 11:39 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 12:33
mvaPete O'Hanlon3-Mar-14 12:33 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 12:48
professionalKevin Marois3-Mar-14 12:48 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois4-Mar-14 7:44
professionalKevin Marois4-Mar-14 7:44 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon5-Mar-14 12:13
mvaPete O'Hanlon5-Mar-14 12:13 
QuestionProblem in wpf prism Pin
Arun kumar Gautam25-Feb-14 20:51
MemberArun kumar Gautam25-Feb-14 20:51 
AnswerRe: Problem in wpf prism Pin
Pete O'Hanlon27-Feb-14 11:41
mvaPete O'Hanlon27-Feb-14 11:41 
QuestionWPF DatagridComboBoxColumn - puzzler Pin
Duke Carey25-Feb-14 4:14
professionalDuke Carey25-Feb-14 4:14 
AnswerRe: WPF DatagridComboBoxColumn - puzzler Pin
Duke Carey25-Feb-14 7:07
professionalDuke Carey25-Feb-14 7:07 
GeneralRe: WPF DatagridComboBoxColumn - puzzler Pin
Richard Deeming25-Feb-14 7:25
mveRichard Deeming25-Feb-14 7:25 

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.