| File: System\Windows\Media\Imaging\DownloadProgressEventArgs.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // namespace System.Windows.Media.Imaging { #region DownloadProgressEventArgs /// <summary> /// Event args for the DownloadProgress event. /// </summary> public class DownloadProgressEventArgs : EventArgs { // Internal constructor internal DownloadProgressEventArgs(int percentComplete) { _percentComplete = percentComplete; } /// <summary> /// Returns the progress between 1-100 /// </summary> public int Progress { get { return _percentComplete; } } private int _percentComplete; } #endregion }