|
@@ -1,4 +1,4 @@
|
|
-using ComPDFKitViewer.AnnotEvent;
|
|
|
|
|
|
+using ComPDFKit.PDFAnnotation;
|
|
using System;
|
|
using System;
|
|
using System.Globalization;
|
|
using System.Globalization;
|
|
using System.Windows;
|
|
using System.Windows;
|
|
@@ -6,12 +6,12 @@ using System.Windows.Data;
|
|
|
|
|
|
namespace Compdfkit_Tools.Common
|
|
namespace Compdfkit_Tools.Common
|
|
{
|
|
{
|
|
- [ValueConversion(typeof(AnnotArgsType), typeof(Visibility))]
|
|
|
|
|
|
+ [ValueConversion(typeof(C_ANNOTATION_TYPE), typeof(Visibility))]
|
|
public class AnnotArgsTypeToVisibilityConverter : IValueConverter
|
|
public class AnnotArgsTypeToVisibilityConverter : IValueConverter
|
|
{
|
|
{
|
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
|
{
|
|
{
|
|
- AnnotArgsType annotArgsType = (AnnotArgsType)value;
|
|
|
|
|
|
+ C_ANNOTATION_TYPE annotArgsType = (C_ANNOTATION_TYPE)value;
|
|
if (annotArgsType.ToString() == parameter as string)
|
|
if (annotArgsType.ToString() == parameter as string)
|
|
{
|
|
{
|
|
return Visibility.Visible;
|
|
return Visibility.Visible;
|