internal RoutedEvent( RoutedEventFlag flag, [CallerMemberName] string name = null) { Flag = flag; Name = name; IsPointerEvent = flag.IsPointerEvent(); IsGestureEvent = flag.IsGestureEvent(); IsKeyEvent = flag.IsKeyEvent(); IsFocusEvent = flag.IsFocusEvent(); }
internal RoutedEvent( RoutedEventFlag flag, [CallerMemberName] string name = null) { Flag = flag; Name = name; IsPointerEvent = flag.IsPointerEvent(); IsKeyEvent = flag.IsKeyEvent(); IsFocusEvent = flag.IsFocusEvent(); IsManipulationEvent = flag.IsManipulationEvent(); IsGestureEvent = flag.IsGestureEvent(); IsDragAndDropEvent = flag.IsDragAndDropEvent(); IsAlwaysBubbled = IsPointerEvent || IsGestureEvent || IsManipulationEvent || IsDragAndDropEvent; }