コード例 #1
0
 protected virtual void StyleViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (CanRefreshPreviewSource(e.PropertyName))
     {
         PreviewSource = ActualObject.GetPreviewImage();
     }
 }
コード例 #2
0
 private void GeoPen_PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     RaisePropertyChanged(e.PropertyName);
     PreviewSource = ActualObject.GetPreviewImage();
 }