Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1020
XamOutlookCalendarView Commands
posted

First sorry for the bad english.
I try the built-in command of the XamOutlookCalendarView to switch the view to use but nothing happened.

The XamOutlookCalendarView is in the same parent grid

<Button Grid.Row="1" Name="btnWeekView" Content="week">
             <ig:Commanding.Command >
                <igPrim:XamOutlookCalendarViewCommandSource CommandType="SwitchToFullWeekView"
                                                            TargetName="OutlookView1"
                                                            EventName="Click" />
            </ig:Commanding.Command>
</Button>

What am I doing wrong?

Parents
  • 27093
    posted

    Hello Marcus,

     

    I have looked into your issue and I don’t see anything wrong in your snippet. I am going to log this with development and in the meantime you can set the CommandSource’s x:Name property and in code behind you can set its Target property to the instance you want. That way everything seems to work as expected.

     

    I am going to update you with the internal work item id, so you can track its resolution.

Reply Children