// Token: 0x06004E79 RID: 20089 RVA: 0x00160EE0 File Offset: 0x0015F0E0 static Image() { Image.ImageFailedEvent = EventManager.RegisterRoutedEvent("ImageFailed", RoutingStrategy.Bubble, typeof(EventHandler <ExceptionRoutedEventArgs>), typeof(Image)); Style defaultValue = Image.CreateDefaultStyles(); FrameworkElement.StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(defaultValue)); Image.StretchProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(Stretch.Uniform, FrameworkPropertyMetadataOptions.AffectsMeasure)); Image.StretchDirectionProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure)); Image.DpiChangedEvent = Window.DpiChangedEvent.AddOwner(typeof(Image)); ControlsTraceLogger.AddControl(TelemetryControls.Image); }