예제 #1
0
 /// <summary>
 /// After creating the new custom user MyRoutedEventArgs
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CustomControlLib_Click(object sender, MyRoutedEventArgs e)
 {
     var data = e.Param;
 }
예제 #2
0
        protected virtual void RaiseClickEvent()
        {
            MyRoutedEventArgs args = new MyRoutedEventArgs(CustomControlLib.ClickEvent, "Test");

            RaiseEvent(args);
        }