Click here to Skip to main content
15,794,202 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 6:50
professionalKevin Marois11-Mar-14 6:50 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron11-Mar-14 8:51
professionalMatt T Heffron11-Mar-14 8:51 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron11-Mar-14 8:53
professionalMatt T Heffron11-Mar-14 8:53 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 9:00
professionalKevin Marois11-Mar-14 9:00 
SuggestionRe: WPF Detect Property Change In Entity In VM Pin
Matt T Heffron11-Mar-14 9:13
professionalMatt T Heffron11-Mar-14 9:13 
GeneralRe: WPF Detect Property Change In Entity In VM Pin
Kevin Marois11-Mar-14 9:18
professionalKevin Marois11-Mar-14 9:18 
AnswerRe: WPF Detect Property Change In Entity In VM Pin
pradeep surya5-Mar-14 8:31
pradeep surya5-Mar-14 8:31 
QuestionWPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 11:40
professionalKevin Marois3-Mar-14 11: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 11:53
subeditorPete O'Hanlon3-Mar-14 11:53 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 12:11
professionalKevin Marois3-Mar-14 12:11 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 12:16
subeditorPete O'Hanlon3-Mar-14 12:16 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 12:17
professionalKevin Marois3-Mar-14 12:17 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 12:18
subeditorPete O'Hanlon3-Mar-14 12:18 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 12:19
professionalKevin Marois3-Mar-14 12:19 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 12:37
subeditorPete O'Hanlon3-Mar-14 12:37 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 12:39
professionalKevin Marois3-Mar-14 12:39 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon3-Mar-14 13:33
subeditorPete O'Hanlon3-Mar-14 13:33 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois3-Mar-14 13:48
professionalKevin Marois3-Mar-14 13:48 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Kevin Marois4-Mar-14 8:44
professionalKevin Marois4-Mar-14 8:44 
GeneralRe: WPF Bind Window Activated Event To Command Pin
Pete O'Hanlon5-Mar-14 13:13
subeditorPete O'Hanlon5-Mar-14 13:13 
QuestionProblem in wpf prism Pin
Arun kumar Gautam25-Feb-14 21:51
Arun kumar Gautam25-Feb-14 21:51 
AnswerRe: Problem in wpf prism Pin
Pete O'Hanlon27-Feb-14 12:41
subeditorPete O'Hanlon27-Feb-14 12:41 
QuestionWPF DatagridComboBoxColumn - puzzler Pin
Duke Carey25-Feb-14 5:14
professionalDuke Carey25-Feb-14 5:14 
AnswerRe: WPF DatagridComboBoxColumn - puzzler Pin
Duke Carey25-Feb-14 8:07
professionalDuke Carey25-Feb-14 8:07 
GeneralRe: WPF DatagridComboBoxColumn - puzzler Pin
Richard Deeming25-Feb-14 8:25
mveRichard Deeming25-Feb-14 8: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.