However I am trying to add a new routed event and I just cannot get it to fire.
My XAML header looks like:
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:RibbonWin="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Ribbon"
Title="Case" Height="500" Width="600">
Then the Ribbon control itself works well on the UI, and so I added a button:
MouseLeftButtonUp="rbtnMenu_MouseLeftButtonUp" >
But I cannot get the event to fire, event coded as :
private void rbtnMenu_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
LoadCalendar();
}
Have Included the necessary Directives as well:
using System.Windows.Controls.Ribbon;
namespace BloodHound
{
///
/// Interaction logic for Case.xaml
///
public partial class Case : RibbonWindow
{
Any assistance would be greatly appreciated.
Replies
Know the answer? Post it — somebody with the same question will find it here.