コード例 #1
0
        private void OnContextRequested(UIElement sender, ContextRequestedEventArgs args)
        {
            var animation = List.ItemFromContainer(sender) as Animation;

            if (animation == null)
            {
                return;
            }

            ItemContextRequested?.Invoke(sender, new ItemContextRequestedEventArgs <Animation>(animation, args));
        }
コード例 #2
0
 private void Sticker_ContextRequested(UIElement sender, ContextRequestedEventArgs args)
 {
     ItemContextRequested?.Invoke(sender, args);
 }