// Token: 0x060062C5 RID: 25285 RVA: 0x001BB4E0 File Offset: 0x001B96E0
        internal static void OnClearHighlightsCommand(object sender, ExecutedRoutedEventArgs e)
        {
            DependencyObject dependencyObject = sender as DependencyObject;

            if (dependencyObject != null)
            {
                AnnotationHelper.ClearHighlightsForSelection(AnnotationService.GetService(dependencyObject));
            }
        }
        // Token: 0x060062C7 RID: 25287 RVA: 0x001BB534 File Offset: 0x001B9734
        internal static void OnDeleteAnnotationsCommand(object sender, ExecutedRoutedEventArgs e)
        {
            FrameworkElement frameworkElement = sender as FrameworkElement;

            if (frameworkElement != null)
            {
                ITextSelection textSelection = AnnotationHelper.GetTextSelection(frameworkElement);
                if (textSelection != null)
                {
                    AnnotationService service = AnnotationService.GetService(frameworkElement);
                    AnnotationHelper.DeleteTextStickyNotesForSelection(service);
                    AnnotationHelper.DeleteInkStickyNotesForSelection(service);
                    if (!textSelection.IsEmpty)
                    {
                        AnnotationHelper.ClearHighlightsForSelection(service);
                    }
                }
            }
        }