Example #1
0
        private static void RaiseDrawerOpened(DrawerHost drawerHost, Dock dock)
        {
            //multiple ways of calling back that the drawer has opened:
            // * routed event
            var drawerOpenedEventArgs = new DrawerOpenedEventArgs(dock, DrawerOpenedEvent);

            drawerHost.OnDrawerOpened(drawerOpenedEventArgs);
        }
Example #2
0
 protected void OnDrawerOpened(DrawerOpenedEventArgs eventArgs)
 {
     RaiseEvent(eventArgs);
 }