예제 #1
0
 /// <summary>
 /// Applies changes to an image by firing the ImagePropertyChanged event.
 /// </summary>
 private void ApplyImageDecorations(ImagePropertyType propertyType, ImageDecoratorInvocationSource source)
 {
     if (ImagePropertyChanged != null)
     {
         OnImagePropertyChanged(new ImagePropertyEvent(propertyType, ImagePropertiesInfo, source));
     }
 }
 public ImagePropertyEvent(ImagePropertyType propertyType, ImagePropertiesInfo imgProperties, ImageDecoratorInvocationSource invocationSource)
 {
     PropertyType = propertyType;
     _imageProperties = imgProperties;
     InvocationSource = invocationSource;
 }
예제 #3
0
 public ImagePropertyEvent(ImagePropertyType propertyType, ImagePropertiesInfo imgProperties, ImageDecoratorInvocationSource invocationSource)
 {
     PropertyType     = propertyType;
     _imageProperties = imgProperties;
     InvocationSource = invocationSource;
 }
 /// <summary>
 /// Applies changes to an image by firing the ImagePropertyChanged event.
 /// </summary>
 private void ApplyImageDecorations(ImagePropertyType propertyType, ImageDecoratorInvocationSource source)
 {
     if (ImagePropertyChanged != null)
         OnImagePropertyChanged(new ImagePropertyEvent(propertyType, ImagePropertiesInfo, source));
 }