프로젝트

일반

사용자정보

개정판 53880c83

ID53880c83defd8cc6468fd4130469156a289f4e62
상위 6472f348
하위 97e8ad04

이지연이(가) 5년 이상 전에 추가함

issue #886: Symbol legend 생성 작업 중....

차이점 보기:

MarkupToPDF/Controls/Etc/ImgControl.cs
47 47
        protected void OnPropertyChanged(string propName)
48 48
        {
49 49
            if (PropertyChanged != null)
50
            { 
50 51
                PropertyChanged(this, new PropertyChangedEventArgs(propName));
52
            }
51 53
        }
52 54

  
53 55
        public void ApplyOverViewData()
......
63 65
        public static readonly DependencyProperty ControlTypeProperty =
64 66
            DependencyProperty.Register("ControlType", typeof(ControlType), typeof(ImgControl), new FrameworkPropertyMetadata(ControlType.ImgControl));
65 67

  
68
        public static readonly DependencyProperty PathDataProperty = DependencyProperty.Register(
69
       "PathData", typeof(Geometry), typeof(ImgControl), null);
66 70
        public static readonly DependencyProperty OverViewPathDataProperty = DependencyProperty.Register(
67 71
        "OverViewPathData", typeof(Geometry), typeof(ImgControl), null);
68 72

  
......
89 93
        public static readonly DependencyProperty CenterYProperty = DependencyProperty.Register("CenterY", typeof(double), typeof(ImgControl),
90 94
                        new PropertyMetadata((double)0, OnCenterXYChanged));
91 95

  
96

  
92 97
        #endregion
93 98
        #region PropertyChanged Method
94 99

  
100
       
95 101
        public static void IsSelectedChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
96 102
        {
97 103
            //var instance = (ImgControl)sender;
......
242 248
            set
243 249
            {
244 250
                SetValue(IsSelectedProperty, value);
245
                OnPropertyChanged("IsSelected");
251
                //OnPropertyChanged("IsSelected");
246 252
            }
247 253
        }
248 254

  
......
322 328
            Canvas.SetLeft(this, MathSet.RotateAbout(mid, mid, AngleData).X - this.Base_Image.Width / 2);
323 329
            Canvas.SetTop(this, MathSet.RotateAbout(mid, mid, AngleData).Y - this.Base_Image.Height / 2);
324 330

  
331
            this.PathData = pathGeometry;
332
            ApplyOverViewData();
333

  
325 334
        }
326 335
        public void updateControl()
327 336
        {
......
333 342

  
334 343
        public double LineSize { get; set; }
335 344

  
336
        public Geometry PathData { get; set; }
337 345

  
338
        
346
        public Geometry PathData { get; set; }
339 347
    }
340 348
}

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)